Skip to main content
Wright Websites

defang-sentinel

defang IOCs in reports

Defang and refang IOCs (hxxps://evil[.]com) in text, logs and reports with several styles, and a CI check that fails when threat reports, tickets or docs contain live, clickable or half-defanged.

  • 64/week on npm
  • 2★
  • MIT
  • v1.1.0
  • Threat Intel
npx defang-sentinel

Read the full README on GitHub (opens in a new tab)View on npm (opens in a new tab)

defang-sentinel

From the README

Threat-intel write-ups, incident tickets and detection repos are full of malicious URLs, domains and IPs. A single clickable https:// link to a C2 server in a Markdown report is an accident waiting to happen. defang-sentinel does three jobs:

defang-sentinel check --fix --skip-code docs/      # defang live IOCs in place, leave code blocks alone
defang-sentinel defang --style paren report.md     # hxxps://evil(.)com
defang-sentinel hook install                        # git pre-commit hook

Related packages

Threat Intel