macOS
brew install iocextractlocal Homebrew formula metadata
brew
Defanged indicator of compromise extractor. Version 1.16.1 via Homebrew; verified 2026-05-21.
install
brew install iocextractlocal Homebrew formula metadata
nix profile install nixpkgs#iocextractnixpkgs package indexes · iocextract · source: raw.githubusercontent.com
overview
Defanged indicator of compromise extractor
history
iocextract is an InQuest Python library and CLI for extracting indicators of compromise from text, including deliberately defanged URLs, IP addresses, email addresses, hashes, and YARA rules. It sits in the security-automation niche where analysts need to turn threat reports, tweets, notes, and pasted text into machine-readable observables.
The project documentation frames iocextract around a specific analyst problem: simple regular expressions miss indicators that have been defanged to avoid accidental clicks or live requests. iocextract combines custom regexes and post-processing so those strings can be detected and optionally refanged.
The GitHub release history shows continuing feature and bug-fix releases, including work around URL/IP extraction and CLI input sources. The documentation links the repository, PyPI package, issue tracker, and changelog, which is typical of a Python security utility distributed both as a library and as an executable command.
The docs list InQuest and PacketTotal as users and point analysts who need automation beyond extraction toward InQuest's ThreatIngestor. The Homebrew and Nix packaging in the input facts show the tool leaving Python-only workflows and becoming available as a command-line package.
iocextract can be used as a Python iterator-based library or as the `iocextract` command. The CLI reads from standard input or files, extracts selected IOC classes, supports custom regex files, and can refang supported URLs, emails, and IPv4 addresses when an analyst wants normalized output.
The package is significant because it encodes a practical security convention: dangerous observables are often intentionally mangled before publication. A package manager shipping iocextract gives shell pipelines and incident-response scripts a reusable way to reverse that convention without every analyst copying fragile regexes.
security posture
No matching local secret-handling manifest was found for iocextract. Nucleus package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
iocextract | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://inquest.readthedocs.io/projects/iocextract/en/latest/
install metadata
| Package key | brew:iocextract |
|---|---|
| Version | 1.16.1 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/iocextract |
| Homepage | https://inquest.readthedocs.io/projects/iocextract/en/latest/ |
| Repository | https://github.com/InQuest/iocextract |
| Upstream docs | https://inquest.readthedocs.io/projects/iocextract/en/latest |
| License | GPL-2.0-only |
| Source archive | https://files.pythonhosted.org/packages/ad/4b/19934df6cd6a0f6923aabae391a67b630fdd03c12c1226377c99a747a4f1/iocextract-1.16.1.tar.gz |
| Last updated | 2026-05-21T12:53:41Z |
| Pulse | updated |
| Dependencies | certifi, python@3.14 |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | iocextract |
| Version Scheme | 0 |
| Revision | 13 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
iocextract
nix profile install nixpkgs#iocextractsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.