attack

attack is a command for Claude Code from mukul975/Threatswarm. It costs 22 tokens per session (893 once invoked), scanned A, original, MIT.

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

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to route web, API, Active Directory, network, cloud, container, mobile, wireless, exploit, or reconnaissance attack work to the matching agent.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/mukul975/threatswarm/attack
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.

Clone the repo
git clone --depth 1 https://github.com/mukul975/Threatswarm

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for attack

README.md
[![agentmods](https://agentmods.dev/badge/commands/mukul975/threatswarm/attack/github.svg)](https://agentmods.dev/commands/mukul975/threatswarm/attack)
Your own site
<a href="https://agentmods.dev/commands/mukul975/threatswarm/attack"><img src="https://agentmods.dev/badge/commands/mukul975/threatswarm/attack/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for attack

Your own site · 80×15
<a href="https://agentmods.dev/commands/mukul975/threatswarm/attack"><img src="https://agentmods.dev/badge/commands/mukul975/threatswarm/attack.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
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. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00022 $0.00893
Opus 5.5 $0.00009 $0.00357
Sonnet 5.5 $0.00004 $0.00179
Haiku 4.5 $0.00002 $0.00089

Measured 1mo ago against content hash 7c0306d5e0a9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo ago.

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. 1mo ago 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 (91 stars, last pushed 5mo ago), licensed MIT. It adds 22 tokens to every session and 893 once invoked, about $0.0001 per session on Opus 5.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

recon

Run full recon pipeline on a target — subdomain enum (Chaos API + subfinder), live host discovery (dnsx + httpx), URL crawl (katana + waybackurls + gau), gf pattern classification, nuclei scan. Outputs to recon/ / directory. Usage: /recon target.com.

elementalsouls/Claude-BugHunter · 65 tokens

hunt

Active vulnerability hunting. Two-track dispatcher — asks Red Team vs WAPT, hands off to hunt-dispatch skill and sibling commands. Usage: /hunt target.com | /hunt .target.com | /hunt targets.txt [--vuln-class X] [--source-code P] [--chrome].

elementalsouls/Claude-BugHunter · 63 tokens

token-scan

Meme coin and token security scan — checks for rug pull vectors (hidden mint, honeypot, fee manipulation, LP lock bypass, authority retention, bonding curve exploits, fake renounce, sandwich amplification). Manual 8-class grep audit (with an optional automated scanner if present). Usage: /token-scan [--chain solana].

elementalsouls/Claude-BugHunter · 79 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].

elementalsouls/Claude-BugHunter · 49 tokens

triage

Quick 7-Question Gate triage on a finding before writing a report. Kills N/A submissions before they happen. Faster than /validate — for quick go/no-go decisions. Usage: /triage.

elementalsouls/Claude-BugHunter · 45 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.

elementalsouls/Claude-BugHunter · 41 tokens