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 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.
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.
- 1mo ago First seen · 327 lines · 0 tokens per session scan A 31dd42e8cd12
api-attacker is an agent published in the GitHub repository mukul975/Threatswarm (89 stars, last pushed 5mo 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.
Other agents, from other repositories
api-security
Delegates to this agent when the user asks about API security testing, REST API attacks, GraphQL exploitation, OAuth/OIDC vulnerabilities, JWT attacks, API enumeration, or web service penetration testing methodology.
backend-generator
Backend coding agent. Implements backend sprints from the product spec, one feature at a time. Focuses on API correctness, data integrity, test coverage, and robust error handling. Use for backend implementation sprints.
backend-evaluator
Backend QA evaluator. Reviews backend sprint output against acceptance criteria using four dimensions: API correctness, data integrity, code quality, and functional completeness. Runs tests and exercises APIs directly. Use after a backend generator sprint completes.
angel
Expert Backend Systems Architect. Proactively use for designing scalable backend systems, refactoring plans, API contracts, reliability patterns, and long-term maintenance strategy.
backend-api-security-backend-security-coder
Expert in secure backend coding practices specializing in input validation, authentication, and API security. Use PROACTIVELY for backend security implementations or security code reviews.
llm-redteam
Delegates to this agent when the user asks about LLM and AI system red teaming, prompt injection (direct and indirect), jailbreak techniques, RAG poisoning, model exfiltration, training data extraction, agent and tool-use abuse, MCP server exploitation, AI guardrail bypass, or red teaming a deployed…