Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add commands/mukul975/threatswarm/attackgit clone --depth 1 https://github.com/mukul975/ThreatswarmWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00022 | $0.00893 |
| Opus 5 | $0.00011 | $0.00447 |
| Sonnet 5 | $0.00004 | $0.00179 |
| Haiku 4.5 | $0.00002 | $0.00089 |
Grade A, and why
attack scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Execute an attack against target using the specified vector: $ARGUMENTS
Parse $ARGUMENTS: the first word is TARGET, remaining words are the VECTOR.
-
Scope Check: Verify TARGET is in scope.txt. Stop if not found.
-
Route to Agent based on VECTOR keyword:
Vector Keyword Agent to Invoke web,http,webapp,sqli,xss,ssrf,lfi,jwtweb-attackerapi,rest,graphql,grpc,bola,idor,swaggerapi-attackerad,active-directory,kerberoast,asrep,dcsync,bloodhoundactive-directorynetwork,arp,mitm,snmp,smbrelay,respondernetwork-opswireless,wifi,wpa,wps,eap,pmkidwireless-attackercloud,aws,azure,gcp,s3,iam,metadatacloud-attackercontainer,docker,kubernetes,k8s,pod,kubeletcontainer-attackerexploit,cve-,rce,shell,metasploit,msfconsoleexploitmobile,android,ios,apk,frida,adbmobile-attackerosint,passive,recon,crt.sh,shodan,theHarvesterosintreverse,binary,re,ghidra,r2,gdb,ropreverse-engineermalware,sample,yara,ioc,sandboxmalware-analystpassword,hash,crack,hashcat,johnpassword-attacksphishing,social,gophish,evilginx,vishingsocial-engineercrypto,tls,ssl,jwt-crack,paddingcrypto-attackeriot,firmware,uart,mqtt,binwalkiot-attackerc2,sliver,havoc,meterpreter,beacon,implantc2-operatorevasion,amsi,av-bypass,obfuscateevasion -
Invoke Selected Agent: Delegate to the matched agent with:
- Target:
TARGET - Vector:
VECTOR - Evidence dir:
evidence/$(date +%Y%m%d)/TARGET/ - Context from
evidence/$(date +%Y%m%d)/TARGET/recon_summary.mdif it exists
- Target:
-
Log Attack: After agent completes, append to
evidence/$(date +%Y%m%d)/TARGET/attack_log.md:| $(date -u +%Y-%m-%dT%H:%M:%SZ) | VECTOR | [agent used] | [outcome summary] | -
Output Summary: Print findings discovered with severity if available.
If VECTOR does not match any keyword, output:
Unknown attack vector. Available vectors: web, api, ad, network, wireless, cloud, container, exploit, mobile, osint, reverse, malware, password, phishing, crypto, iot, c2, evasion
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- yesterday First seen · 52 lines · 0 tokens per session scan A 7c0306d5e0a9
attack is a command published in the GitHub repository mukul975/Threatswarm (75 stars, last pushed 4mo ago), licensed MIT. It adds 22 tokens to every session and 893 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
bypass-403
Probe a 403/401 endpoint with the most-paid bypass tricks (header injection, path encoding, method swap, WAF fingerprint, vendor-specific). Wraps byp4xx when installed; otherwise runs a built-in matrix of 38+ techniques. Usage: /bypass-403 | /bypass-403 -l.
spray
Password spray with hard guards — typed-hostname confirmation, lockout warning, audit log. Modes: http-form (custom login page), oauth (password grant), o365 + okta (via TREVORspray). Default delay 30min/round + 60s jitter. Usage /spray --mode --users --passes.
autopilot
Run autonomous hunt loop on a target — scope check → recon → rank surface → hunt → validate → report with configurable checkpoints. Usage: /autopilot target.com [--paranoid|--normal|--yolo].
recon
Run the full recon pipeline by invoking tools/reconengine.sh — subdomain enum (subfinder + amass + crt.sh + wayback), httpx live host probing with tech detection, nmap port scan, gau URL collection, JS analysis, ffuf directory fuzzing, parameter discovery, config exposure check, CI/CD workflow scan. Outputs to recon/…
report
Write a submission-ready bug bounty report. Generates H1/Bugcrowd/Intigriti/Immunefi format with CVSS 3.1 score, proof of concept, impact statement, and remediation. Run /validate first. Usage: /report.
validate
Validate a finding — runs 7-Question Gate + 4-gate checklist. Kills weak findings before report writing. Prevents N/A submissions that hurt validity ratio. Usage: /validate.