pentest-agents-techniques — Claude Code rule: what it does
The pentest-agents-techniques rule guides agents through checks for authorization flaws and data leaks in web apps. Use it when testing systems you’re authorized to assess.
no license ★ 1,298 updated 2026-06-12
.github/instructions/pentest-agents-techniques.instructions.mdWhat pentest-agents-techniques does
The rule covers checks involving GraphQL and Django REST Framework, OAuth and PKCE, source maps, gRPC proxies, and differences in error responses. It describes signals that may point to an authorization bypass, code leakage, or exposed API schema.
Its techniques include comparing responses with and without credentials, inspecting GraphQL error hints, and checking for accessible source maps. The rule applies across project files (**). Some checks involve mutations or request enumeration, so keep them within an authorized test environment.
What it helps with
- check whether GraphQL operations enforce authorization
- look for OAuth code exposure to analytics
- identify accessible source maps
- spot gRPC method names revealed by proxy errors
Example prompts for the agent
- In an authorized test environment, check whether GraphQL mutations respond differently with and without credentials.
- Audit the OAuth callback for code exposure to analytics and check whether PKCE is enforced.
- Inspect API errors for clues that reveal gRPC methods or GraphQL schema fields.
How to install pentest-agents-techniques
Manually: put the files in place
.github/instructions/pentest-agents-techniques.instructions.mdThe applyTo field sets which files it applies to
Manually: put the files in place
.claude/rules/pentest-agents-techniques.mdThe paths frontmatter field limits the files: move applyTo from the source into paths
AGENTS.md
Codex reads AGENTS.md: paste the rule text there
Manually: put the files in place
.cursor/rules/pentest-agents-techniques.mdcFrontmatter: description, globs, alwaysApply. Move applyTo from the source into globs, or the rule will not attach on its own
Manually: put the files in place
.devin/rules/pentest-agents-techniques.mdManually: put the files in place
.clinerules/pentest-agents-techniques.mdStep by step, with commands for each platform: AGENTS.md vs CLAUDE.md: what they are and which one to use
Questions about pentest-agents-techniques
How do I install pentest-agents-techniques in Claude Code?
Create .claude/rules/pentest-agents-techniques.md in your project and add the rule contents to that file.
What does pentest-agents-techniques do?
It describes checks for authorization flaws and information leaks involving APIs, OAuth, client bundles, and proxy errors.
Which platforms support this rule?
It is listed for Claude Code, Cursor, Codex, GitHub Copilot, Gemini CLI, and Windsurf (Devin Desktop).