# pentest-agents-techniques

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.

- rule · `type=rule` · Claude Code, Cursor, Codex, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Cline · ★ 1298 repo stars
- Author: H-mmer
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/H-mmer/pentest-agents/tree/HEAD/providers/copilot/.github/instructions/pentest-agents-techniques.instructions.md
- Updated: 2026-06-12
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/rules/pentest-agents-techniques

## What it 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.

## Install

### GitHub Copilot (native platform)

**Manually: put the files in place**
- File: `.github/instructions/pentest-agents-techniques.instructions.md` — The applyTo field sets which files it applies to

### Claude Code

**Manually: put the files in place**
- File: `.claude/rules/pentest-agents-techniques.md` — The paths frontmatter field limits the files: move applyTo from the source into paths

### Codex

**AGENTS.md**
- Codex reads AGENTS.md: paste the rule text there

### Cursor

**Manually: put the files in place**
- File: `.cursor/rules/pentest-agents-techniques.mdc` — Frontmatter: description, globs, alwaysApply. Move applyTo from the source into globs, or the rule will not attach on its own

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/rules/pentest-agents-techniques.md`

### Cline

**Manually: put the files in place**
- File: `.clinerules/pentest-agents-techniques.md`

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/H-mmer/pentest-agents/tree/HEAD/providers/copilot/.github/instructions/pentest-agents-techniques.instructions.md

## When to use it
- 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
- 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.

## Similar
- [api-security](https://affpapa.org/en/nevibecode/agents/api-security.md) — subagent · ★ 2482 repo stars
- [waf-bypass-techniques](https://affpapa.org/en/nevibecode/skills/waf-bypass-techniques.md) — skill · 4200 installs
- [401-403-bypass-techniques](https://affpapa.org/en/nevibecode/skills/401-403-bypass-techniques.md) — skill · 4200 installs
- [pentest-agents-bug-bounty-framework](https://affpapa.org/en/nevibecode/skills/pentest-agents-bug-bounty-framework.md) — skill · 1300 installs
- [pentest-mcp-server](https://affpapa.org/en/nevibecode/mcp/pentest-mcp-server.md) — MCP server · 1203 installs
- [zen-ai-pentest-framework](https://affpapa.org/en/nevibecode/skills/zen-ai-pentest-framework.md) — skill · 785 installs

From the same set: [h-mmer/pentest-agents](https://affpapa.org/en/nevibecode/by/h-mmer/pentest-agents.md) — 43 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
