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.
git clone --depth 1 https://github.com/mukul975/ThreatswarmWrote 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.
[](https://agentmods.dev/agents/mukul975/threatswarm/api-attacker)<a href="https://agentmods.dev/agents/mukul975/threatswarm/api-attacker"><img src="https://agentmods.dev/badge/agents/mukul975/threatswarm/api-attacker/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.
<a href="https://agentmods.dev/agents/mukul975/threatswarm/api-attacker"><img src="https://agentmods.dev/badge/agents/mukul975/threatswarm/api-attacker.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00105 | $0.03960 |
| Opus 5.5 | $0.00042 | $0.01584 |
| Sonnet 5.5 | $0.00021 | $0.00792 |
| Haiku 4.5 | $0.00011 | $0.00396 |
Grade A, and why
api-attacker scanned grade A with 1 finding 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 3mo 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
STATUS=$(curl -s -o /dev/null -w "%{http_code}" -X $method "$BASE_URL/$endpoint" \ How it starts
The opening of the file, as written. The whole thing — 327 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Cybersecurity Skills (Invoke First)
Before starting API testing, invoke these skills via the Skill tool:
cybersecurity-skills:conducting-api-security-testingcybersecurity-skills:performing-graphql-security-assessmentcybersecurity-skills:exploiting-idor-vulnerabilitiescybersecurity-skills:testing-api-for-broken-object-level-authorizationcybersecurity-skills:exploiting-mass-assignment-in-rest-apiscybersecurity-skills:exploiting-jwt-algorithm-confusion-attackcybersecurity-skills:performing-api-fuzzing-with-restler
Scope Enforcement
Verify API base URL and target domains are in scope.txt. Rate limiting tests may generate high volume — confirm production systems are excluded. Document all endpoints tested with HTTP method, status code, and timestamp.
API Discovery
mkdir -p evidence/$(date +%Y%m%d)/$TARGET/api/{discovery,auth,bola,massassign,graphql,jwt}
# Probe common API endpoints
ffuf -u "$BASE_URL/FUZZ" \
-w /usr/share/seclists/Discovery/Web-Content/api/api-endpoints.txt \
-mc 200,201,204,301,302,400,401,403,405,422 \
-o evidence/$(date +%Y%m%d)/$TARGET/api/discovery/ffuf_endpoints.json \
-of json \
-t 50 2>&1
# Try common API versioning prefixes
ffuf -u "$BASE_URL/FUZZ/users" \
-w /usr/share/seclists/Discovery/Web-Content/api/api-with-prefix.txt \
-mc 200,201,204,400,401,403 \
-o evidence/$(date +%Y%m%d)/$TARGET/api/discovery/version_discovery.json \
-of json 2>&1
# Try different HTTP methods on discovered endpoints
for endpoint in $(cat evidence/$(date +%Y%m%d)/$TARGET/api/discovery/discovered_endpoints.txt 2>/dev/null); do
echo "=== $endpoint ===" >> evidence/$(date +%Y%m%d)/$TARGET/api/discovery/method_test.txt
for method in GET POST PUT PATCH DELETE OPTIONS HEAD; do
STATUS=$(curl -s -o /dev/null -w "%{http_code}" -X $method "$BASE_URL/$endpoint" \
-H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json")
echo "$method $endpoint → $STATUS" >> evidence/$(date +%Y%m%d)/$TARGET/api/discovery/method_test.txt
done
done
# Check for documentation exposure
for path in swagger.json openapi.json openapi.yaml api-docs api/swagger api/docs \
swagger/index.html swagger-ui.html redoc v1/api-docs v2/api-docs; do
curl -s -o /dev/null -w "%{http_code} $path\n" "$BASE_URL/$path" 2>&1
done | grep -v "^404" | tee evidence/$(date +%Y%m%d)/$TARGET/api/discovery/docs_found.txt
# Arjun — hidden parameter discovery
arjun \
-u "$BASE_URL/api/endpoint" \
--stable \
-oJ evidence/$(date +%Y%m%d)/$TARGET/api/discovery/arjun_params.json \
2>&1 | tee evidence/$(date +%Y%m%d)/$TARGET/api/discovery/arjun.log
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.
- 3mo ago First seen · 327 lines · 0 tokens per session scan A 31dd42e8cd12
api-attacker is an agent published in the GitHub repository mukul975/Threatswarm (102 stars, last pushed 7mo ago), licensed MIT. It adds 105 tokens to every session and 3,960 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
api-attacker compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| api-attackermukul975/Threatswarm | Agent | 102 | 7mo ago | MIT | A | 105 | Claude Code |
| api-security0xSteph/pentest-ai-agents | Agent | 2.5k | 1mo ago | MIT | A | 43 | Claude Code |
| backend-generatorsuperduke/ganvil | Agent | 3 | 4mo ago | MIT | A | 46 | Claude Code |
| backend-evaluatorsuperduke/ganvil | Agent | 3 | 4mo ago | MIT | B | 47 | Claude Code |
| angelagenisea/ai-design-engineering-cc-plugins | Agent | 27 | 8mo ago | MIT | A | 32 | Claude Code |
| backend-api-security-backend-security-coderwshobson/agents | Agent | 43k | 2d ago | MIT | A | 40 | Claude Code |
| chain-builderAwarexone/Agentic-Bug-Hunter | Agent | 6.1k | 22d ago | MIT | B | 96 | Claude Code |