| name | mitm-security-audit |
| description | Comprehensive security audit of mitmproxy traffic. Use when user wants to analyze captured HTTP traffic for vulnerabilities, or mentions pentesting, security testing, or vulnerability assessment. |
Security Audit of Captured Traffic
Perform a comprehensive security audit of the mitmproxy dump (log.txt) for: $ARGUMENTS
Requires: log.txt in the current directory. If it's missing, capture traffic first:
mitmdump --set flow_detail=3 2>&1 | tee log.txt
Audit Checklist
Run these checks systematically:
1. Reconnaissance
2. Authentication & Session
3. Authorization (IDOR)
4. Data Exposure
5. Secrets & Keys
6. Payment Security
7. Input Validation
8. Transport Security
Output Format
For each finding, provide:
- Endpoint: The vulnerable URL/API
- Vulnerability: Type of issue
- Evidence: What was found in the traffic
- Severity: Critical/High/Medium/Low/Info
- Recommendation: How to fix
Prioritize findings by severity and exploitability.