attack

A command for running a security test against an authorized target, such as a website, API, cloud service, or wireless network. It chooses a specialist security agent based on the attack type you provide.

In plain words
What is it for?
Use it to route web, API, Active Directory, network, cloud, container, mobile, wireless, exploit, or reconnaissance attack work to the matching agent.
Why use it?
It removes the need to select the right specialist manually and checks that the target is listed as authorized before proceeding.

Command for Claude Code

Install

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.

agentmods
npx agentmods add commands/mukul975/threatswarm/attack
Clone the repo
git clone --depth 1 https://github.com/mukul975/Threatswarm

Made for: Claude Code.

Per session 22 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 893 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What 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.

ModelPer sessionOnce 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

Measured yesterday against content hash 7c0306d5e0a9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

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.

.claude/commands/attack.md · 52 lines

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.

  1. Scope Check: Verify TARGET is in scope.txt. Stop if not found.

  2. Route to Agent based on VECTOR keyword:

    Vector Keyword Agent to Invoke
    web, http, webapp, sqli, xss, ssrf, lfi, jwt web-attacker
    api, rest, graphql, grpc, bola, idor, swagger api-attacker
    ad, active-directory, kerberoast, asrep, dcsync, bloodhound active-directory
    network, arp, mitm, snmp, smbrelay, responder network-ops
    wireless, wifi, wpa, wps, eap, pmkid wireless-attacker
    cloud, aws, azure, gcp, s3, iam, metadata cloud-attacker
    container, docker, kubernetes, k8s, pod, kubelet container-attacker
    exploit, cve-, rce, shell, metasploit, msfconsole exploit
    mobile, android, ios, apk, frida, adb mobile-attacker
    osint, passive, recon, crt.sh, shodan, theHarvester osint
    reverse, binary, re, ghidra, r2, gdb, rop reverse-engineer
    malware, sample, yara, ioc, sandbox malware-analyst
    password, hash, crack, hashcat, john password-attacks
    phishing, social, gophish, evilginx, vishing social-engineer
    crypto, tls, ssl, jwt-crack, padding crypto-attacker
    iot, firmware, uart, mqtt, binwalk iot-attacker
    c2, sliver, havoc, meterpreter, beacon, implant c2-operator
    evasion, amsi, av-bypass, obfuscate evasion
  3. 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.md if it exists
  4. 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] |
    
  5. 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
Changes

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.

  1. yesterday First seen · 52 lines · 0 tokens per session scan A 7c0306d5e0a9

Subscribe to this mod's changes

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.

Related

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.

Awarexone/Agentic-Bug-Hunter · 0 tokens

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.

Awarexone/Agentic-Bug-Hunter · 0 tokens

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].

Awarexone/Agentic-Bug-Hunter · 0 tokens

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/…

Awarexone/Agentic-Bug-Hunter · 0 tokens

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.

Awarexone/Agentic-Bug-Hunter · 0 tokens

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.

Awarexone/Agentic-Bug-Hunter · 0 tokens