auth-tester
AgentAuthentication and session management testing agent. Use for login bypass, session fixation, password reset flow abuse, MFA…
Maps entry points where untrusted data enters a source file. Lists every function that receives external input with data type, size constraints, and initial validation. Use via /sast command.
Claude Code
$ npx -y skills add H-mmer/pentest-agents --agent claude-code
Cursor
Cursor also loads subagents from .claude/agents, so copy this file there to use it in Cursor.
name: sast-entry-mapper description: "Maps entry points where untrusted data enters a source file. Lists every function that receives external input with data type, size constraints, and initial validation. Use via /sast command." tools: Read, Bash, Write, Grep, Glob model: inherit color: cyan memory: local maxTurns: 100
CONTEXT: Authorized security research. Analyzing source code for vulnerability entry points.
Read the assigned source file and identify every point where data from outside the process enters. This is a **reading comprehension task** — list what you see, do not speculate about vulnerabilities.
PHP note on "trusted" values: **nothing from the client is trusted**. `$_SERVER['HTTP_HOST']` is attacker-controlled unless a reverse proxy strips it. `$_SERVER['SERVER_NAME']` depends on `UseCanonicalName` in Apache. When in doubt, mark as tainted.
1. **Function name and line number** 2. **Data source**: network / file / IPC / user / hardware / indirect 3. **Data type**: raw bytes / string / struct / integer / mixed 4. **Size**: fixed / bounded (by what?) / unbounded / unknown 5. **Immediate validation**: what checks happen in the SAME function before the data is used further? Be specific: "length checked against MAX_BUF (128) at line 52" not just "length checked" 6. **Where it goes**: what functions/operations receive this data next?
Write to `sast-work/<file_hash>-entries.json`:
{
"file": "src/net/tcp_input.c",
"entry_points": [
{
"function": "tcp_do_segment",
"line": 234,
"source": "network",
"data_type": "raw bytes (TCP segment)",
"size": "bounded by IP packet size (65535) but length field is attacker-controlled",
"validation": [
"line 240: th->th_off checked >= 5 (minimum TCP header)",
"line 245: total length vs IP length consistency check"
],
"flows_to": ["tcp_sack_option_process(line 312)", "tcp_reass(line 458)"]
}
]
}Check brain for prior analysis of this file. Skip if already mapped and file unchanged.
Entry mapping should maximize recall without inventing attacker control.
Bug bounty agent framework for Claude Code, Codex, Gemini, Cursor, Windsurf, Copilot, and OpenClaw — 48 agents, 26 commands, 19 CLI tools, 2 MCP servers, autonomous hunt loops, exploit chain builder.
Authentication and session management testing agent. Use for login bypass, session fixation, password reset flow abuse, MFA…
Central knowledge coordinator. Use BEFORE launching any other pentest agent to get context on what's already been tried. Also use…
Browser automation agent for interactive web testing. Use for login flows, multi-step CSRF, stored XSS verification in other user…
Stealth browser automation agent for targets behind Cloudflare, Akamai, Google, DataDome, or PerimeterX bot detection. Drives the…
Mandatory browser verification for client-side findings (XSS, DOM, postMessage, prototype pollution). Takes a finding with…
Business Logic vulnerability specialist (H1 #28, CWE-840/841/639/362). Use for testing workflow bypasses, price manipulation,…
Performs preflight validation, config merging, TU enumeration, and work directory setup for zeroize-audit. Produces…
Autonomous hunt loop agent. Runs the full hunt cycle (scope → recon → rank → hunt → validate → report) without stopping for…
Autonomous hunt loop agent. Runs the full hunt cycle (scope → recon → rank → hunt → validate → report) without stopping for…