web-attacker

web-attacker is an agent for Claude Code from mukul975/Threatswarm. It costs 41 tokens per session (3,262 once invoked), scanned B, original, MIT.

A set of instructions for testing the security of web applications, including common attacks such as SQL injection, cross-site scripting, and unauthorized data access.

In plain words
What is it for?
Use it for authorized penetration tests, technology checks, and investigations of web, API, GraphQL, authentication, and request-handling security.
Why use it?
It helps keep testing within an approved target and gives a structured process for finding and documenting web vulnerabilities.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 /opt/XSStrike/xsstrike.py -u $URL --crawl \.

Good fit Use it for authorized penetration tests, technology checks, and investigations of web, API, GraphQL, authentication, and request-handling security.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

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

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 web-attacker

README.md
[![agentmods](https://agentmods.dev/badge/agents/mukul975/threatswarm/web-attacker/github.svg)](https://agentmods.dev/agents/mukul975/threatswarm/web-attacker)
Your own site
<a href="https://agentmods.dev/agents/mukul975/threatswarm/web-attacker"><img src="https://agentmods.dev/badge/agents/mukul975/threatswarm/web-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.

agentmods 80×15 button for web-attacker

Your own site · 80×15
<a href="https://agentmods.dev/agents/mukul975/threatswarm/web-attacker"><img src="https://agentmods.dev/badge/agents/mukul975/threatswarm/web-attacker.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,262 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 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.00041 $0.03262
Opus 5.5 $0.00016 $0.01305
Sonnet 5.5 $0.00008 $0.00652
Haiku 4.5 $0.00004 $0.00326

Measured 1mo ago against content hash 1b6416804560, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

web-attacker scanned grade B with 2 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.

Cloud metadata endpointmediumServer-side request forgery

One request to 169.254.169.254 can return temporary IAM credentials.

curl -s "$URL?url=http://169.254.169.254/latest/meta-data/"

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

TARGET_HOST=$(echo "$URL" | python3 -c "from urllib.parse import urlparse; import sys; print(urlparse(sys.stdin.read().strip()).hostname)")
.claude/agents/web-attacker.md · 343 lines

How it starts

The opening of the file, as written. The whole thing — 343 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Cybersecurity Skills (Invoke First)

Before starting web application testing, invoke these skills via the Skill tool:

  • cybersecurity-skills:performing-web-application-penetration-test
  • cybersecurity-skills:exploiting-sql-injection-with-sqlmap
  • cybersecurity-skills:exploiting-server-side-request-forgery
  • cybersecurity-skills:testing-for-xss-vulnerabilities
  • cybersecurity-skills:exploiting-idor-vulnerabilities
  • cybersecurity-skills:performing-graphql-security-assessment
  • cybersecurity-skills:performing-web-application-vulnerability-triage

Scope Enforcement

Before testing any web target, verify it is listed in scope.txt:

TARGET_HOST=$(echo "$URL" | python3 -c "from urllib.parse import urlparse; import sys; print(urlparse(sys.stdin.read().strip()).hostname)")
grep -qF "$TARGET_HOST" "${SCOPE_FILE:-./scope.txt}" || {
    echo "[!] SCOPE VIOLATION: $TARGET_HOST not in scope.txt — STOP"
    exit 1
}

Fingerprinting

# Technology stack detection
whatweb -a 3 $URL 2>/dev/null | tee evidence/$(date +%Y%m%d)/$TARGET/web/whatweb.txt

# HTTP service fingerprint (title, status, tech)
echo "$URL" | httpx -title -tech-detect -status-code -method -content-length \
    -o evidence/$(date +%Y%m%d)/$TARGET/web/httpx.txt

# Headers analysis
curl -sI $URL | tee evidence/$(date +%Y%m%d)/$TARGET/web/headers.txt

# Nikto baseline scan
nikto -h $URL -o evidence/$(date +%Y%m%d)/$TARGET/web/nikto.txt -Format txt

Directory and Content Enumeration

OUTDIR="evidence/$(date +%Y%m%d)/$TARGET/web"
mkdir -p $OUTDIR

# Feroxbuster recursive (medium wordlist)
feroxbuster -u $URL \
    -w /usr/share/seclists/Discovery/Web-Content/raft-medium-words.txt \
    -x php,asp,aspx,jsp,txt,bak,zip,env,config,conf,xml,json,yml \
    --filter-status 404,400,500 \
    --depth 3 \
    -o $OUTDIR/ferox_dirs.txt

# Backup / sensitive file discovery
feroxbuster -u $URL \
    -w /usr/share/seclists/Discovery/Web-Content/raft-medium-files.txt \
    -x bak,backup,old,orig,swp,gz,tar.gz \
    -o $OUTDIR/ferox_files.txt

# API endpoint discovery
feroxbuster -u $URL \
    -w /usr/share/seclists/Discovery/Web-Content/api/api-endpoints.txt \
    -o $OUTDIR/ferox_api.txt

Read the full file on GitHub · 343 lines

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 · 343 lines · 41 tokens per session scan B 1b6416804560

Subscribe to this mod's changes

web-attacker is an agent published in the GitHub repository mukul975/Threatswarm (89 stars, last pushed 5mo ago), licensed MIT. It adds 41 tokens to every session and 3,262 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 2 findings (cloud metadata endpoint, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

frontend-evaluator

Frontend QA evaluator. Reviews frontend sprint output against acceptance criteria using five dimensions: design quality, originality, craft, UX-usability, and functional completeness (closed-loop). Interacts with the running app via browser automation to test real user flows and verifies feature loops close…

superduke/ganvil · 68 tokens

gan-evaluator

GAN Harness — Evaluator agent. Tests the live running application via Playwright, scores against rubric, and provides actionable feedback to the Generator.

23ag1/completely · 32 tokens

e2e-runner

End-to-end testing specialist using Playwright. Use PROACTIVELY for generating, maintaining, and running E2E tests. Manages test journeys, quarantines flaky tests, and ensures critical user flows work.

Wania-Kazmi/claude-code-autonomous-agent-workflow · 49 tokens

e2e-runner

End-to-end testing specialist using Vercel Agent Browser (preferred) with Playwright fallback. Use PROACTIVELY for generating, maintaining, and running E2E tests. Manages test journeys, quarantines flaky tests, uploads artifacts (screenshots, videos, traces), and ensures critical user flows work.

affaan-m/ECC · 69 tokens

backend-development-test-automator

Create comprehensive test suites including unit, integration, and E2E tests. Supports TDD/BDD workflows. Use for test creation during feature development.

wshobson/agents · 37 tokens

fix-verifier

Delegates to this agent when the user wants to retest a vulnerability after a fix has been deployed, prove that a remediation actually closed the issue, verify a patch before closing a finding or a bug bounty report, check whether a fix broke working functionality, or confirm that a security regression has not…

0xSteph/pentest-ai-agents · 73 tokens