web-pentest — Claude Code subagent for web security testing
web-pentest — a subagent for Claude Code examines web app logic and looks for weaknesses across connected components. It activates for pentest, vulnerability research, and red-team requests.
LicenseRef-Proprietary ★ 326 updated 2026-11-01
.claude/agents/web-pentest.mdWhat web-pentest does
The subagent builds a working model of an application from its features and responses, then tests assumptions about access control, data handling, and component behavior. It looks for ways around checks and connects separate findings into attack chains, such as account takeover or payment manipulation.
It first outlines the application and its key security assumptions as a test plan. Each suspected issue is challenged with a test that could disprove it. The agent also searches for CVEs, PoCs, and public write-ups on relevant technologies. It does not run scanners; its work centers on reasoning about application behavior and testing hypotheses.
What it helps with
- find access-control and authorization bypasses
- test whether weaknesses can lead to account takeover
- trace payment and data manipulation paths
- combine separate findings into an attack chain
- research known issues through CVEs and PoCs
Example prompts for the agent
- Pentest this web app and outline a test plan.
- Check whether the app's authorization can be bypassed or an account taken over.
- Investigate payment logic and connect related security findings.
How to install web-pentest
Manually: put the files in place
.claude/agents/web-pentest.mdFor all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention
Manually: put the files in place
.codex/agents/web-pentest.tomlCodex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/
Manually: put the files in place
.cursor/agents/web-pentest.mdCursor also reads .claude/agents/
Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean
Questions about web-pentest
How do I install web-pentest in Claude Code?
Add the subagent file at .claude/agents/web-pentest.md.
What does web-pentest do?
It maps an application's functions, probes assumptions about their behavior, and checks whether individual weaknesses can form an attack chain. Suspected findings are challenged before they are reported.
Does web-pentest run scanners?
No. It investigates application behavior by testing hypotheses and searches for CVEs, PoCs, and public write-ups about relevant technologies.