/perseus:perseus-exploitfrom perseus
Verifies code vulnerabilities with defensive PoC generation. Filters false positives from audit findings by proving exploitability via static taint analysis, controlled probes, or dynamic simulation.
Ships in perseus. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
IMPORTANT: This skill performs vulnerability verification and proof-of-concept validation on the user's own codebase. This is defensive security verification designed to eliminate false positives and demonstrate real-world impact to software engineers.
DROP TABLE, rm -rf, file alteration, or system corruption).This skill executes the Verification Phase of the Perseus framework. Rather than reporting raw scanner alerts or unverified theories, Perseus subjects each candidate finding from perseus-audit to rigorous verification.
Goal: Filter false positives, prove exploitability with the smallest safe indicator, and determine accurate business severity.
When executing this skill, adapt to the runtime environment:
Task, Agent, invoke_subagent) are available, launch verification tasks across findings simultaneously.deliverables/audit_analysis.md sequentially in the current session.Choose the verification technique permitted by the current Engagement Mode:
| Engagement Mode | Permitted Verification Techniques |
|---|---|
PRODUCTION_SAFE (Default) | Static Taint Proof & Mock Verification: Prove unconstrained dataflow through code AST, or construct benign offline unit tests. No live disruptive network payloads. |
STAGING_ACTIVE | Controlled Active Probes: Targeted, throttled requests using benign canary values (e.g. harmless math expressions {{7*7}}, safe time delays sleep 0.1, benign UUID strings). |
LAB_FULL / LAB_RED_TEAM | Dynamic Simulation: Broader payload mutation and chained workflow testing within isolated developer sandboxes. |
Prove that untrusted input reaches the sink without being modified, sanitized, or validated:
parseInt, Number()) does NOT occur.Synthesize a minimal, standalone script or test snippet reproducing the vulnerability logic:
// Example: Demonstrating NoSQL Operator Injection offline
const filter = { username: "admin", password: { "$ne": "" } };
// Shows how Mongoose/MongoDB evaluates this condition without live server disruption
When testing active local or staging services:
' AND '1'='1), harmless string concatenation, or sub-second time delays.echo perseus_canary_$(date +%s)).<script>/*perseus_canary*/</script> or checking HTML reflection without browser execution).Immediately pause verification and mark findings as ABORTED-SAFETY if:
Ensure mkdir -p deliverables exists. Record all verification outcomes in deliverables/exploitation_report.md:
# Vulnerability Verification & Exploitation Report
## Verification Overview
- **Engagement Mode:** `PRODUCTION_SAFE`
- **Total Audit Findings Tested:** X
- **Verified Exploitable:** Y
- **False Positives Filtered:** Z
- **Potential / Prod-Blocked:** W
---
## Finding Verifications
### VERIFIED-001: SQL Injection in Order Sorting
- **Audit ID:** AUDIT-001
- **Severity:** Critical (9.4)
- **Status:** `VERIFIED`
- **Verification Method:** Static Code Trace Proof & AST analysis
#### Evidence of Exploitability
1. In `src/controllers/orderController.ts:34`, `req.query.sort` is accepted without whitelist validation.
2. In `src/services/orderService.ts:112`, the query string is constructed via:
`"SELECT * FROM orders ORDER BY " + sort`
3. If input is `(CASE WHEN (1=1) THEN id ELSE created_at END)`, the database engine executes the subquery directly.
4. No ORM parameterization or column name whitelist is applied.
#### Safe Proof of Concept (Curl / Request Representation)
```http
GET /api/orders?sort=id;-- HTTP/1.1
Host: localhost:3000
Authorization: Bearer <test_token>
VERIFIED
**Next Step:** Proceed to `perseus-report` to generate the executive report and unified remediation patches.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub kaivyy/perseus --plugin perseus15 skills in this plugin
/perseus-apiDeep-dive API security analysis (REST, GraphQL, WebSocket, gRPC, OAuth, Cache)/perseus-auditUse when analyzing components for vulnerabilities (Phase 2 - Parallel Analysis)/perseus-clientClient-side security analysis (DOM XSS, React/Vue/Angular, SSR, prototype pollution)/perseus-configSecurity configuration analysis (Headers, CORS, Docker, CI/CD, Cloud, K8s)/perseus-cryptoDeep-dive cryptography and secrets analysis (JWT, hashing, encryption, key management)/perseus-fileFile security analysis (path traversal, upload bypass, XXE, zip slip)Other plugins' skills for the same job