# dast-devils-advocate

dast-devils-advocate — an adversarial subagent that questions DAST findings, reruns PoC commands, flags publicly accessible data, and lowers inflated severity ratings before you submit reports.

- subagent · `type=agent` · Claude Code, Cursor, Codex, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop) · ★ 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/.claude/agents/dast-devils-advocate.md
- Updated: 2026-06-12
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/agents/dast-devils-advocate

## What it does

Automated bug hunting tools often exaggerate vulnerability impact. A 200 response code gets labeled as high-severity IDOR, while a reflected string is declared a critical injection. This agent challenges every claim. It replays the original `curl` commands, queries endpoints without credentials to confirm data is truly private, and consults `policy.md` and `hacktivity.md` for program exclusions.

Operating with Bash, Grep, Read, and WebFetch, the agent runs for up to 150 turns. Two modes exist: `subtype: finding` audits a single vulnerability, while `subtype: exhaustion` scrutinizes claims that an automated scan finished. Without browser confirmation, client-side scripts get blocked immediately. The subagent then outputs structured JSON with an adjusted title and recalibrated severity.

## Install

### Claude Code (native platform)

**Manually: put the files in place**
- File: `.claude/agents/dast-devils-advocate.md` — For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

### Codex

**Manually: put the files in place**
- File: `.codex/agents/dast-devils-advocate.toml` — Codex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/

### Cursor

**Manually: put the files in place**
- File: `.cursor/agents/dast-devils-advocate.md` — Cursor also reads .claude/agents/

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/.claude/agents/dast-devils-advocate.md

## When to use it
- Disprove inflated vulnerability claims prior to reporting
- Replay proof-of-concept curl requests to verify reproducibility
- Identify leaked data that is already publicly accessible
- Recalibrate bug severity based on observed technical impact

## Example prompts
- Audit the finding in `findings/idor-01.json` using `subtype: finding` before generating the final report.
- Run `dast-devils-advocate` with `subtype: exhaustion` to evaluate whether the automated scan thoroughly finished.
- Review `findings/reflected-xss.json` and downgrade severity if HttpOnly blocks cookie exfiltration.

## Similar
- [dast-scanning](https://affpapa.org/en/nevibecode/skills/dast-scanning.md) — skill · 411 installs
- [pentesting-checklist-security-assessment](https://affpapa.org/en/nevibecode/skills/pentesting-checklist-security-assessment.md) — skill · 180 installs
- [triage](https://affpapa.org/en/nevibecode/commands/triage.md) — command · ★ 16193 repo stars
- [hunt-race-condition](https://affpapa.org/en/nevibecode/skills/hunt-race-condition.md) — skill · ★ 16193 repo stars
- [Devils Advocate](https://affpapa.org/en/nevibecode/agents/devils-advocate.md) — subagent · ★ 41430 repo stars
- [subdomain-takeover](https://affpapa.org/en/nevibecode/skills/subdomain-takeover.md) — skill · 4000 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
