Skip to main content

mitm-security-audit

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.

Jump to install

Source facts

Repository
instavm/security-skills
Last source activity
March 23, 2026 at 05:24
Detected SKILL.md language
English
Stars
84
Forks
11

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
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: > ```bash > mitmdump --set flow_detail=3 2>&1 | tee log.txt > ``` ## Audit Checklist Run these checks systematically: ### 1. Reconnaissance - [ ] List all unique domains/subdomains seen - [ ] List all API endpoints with methods - [ ] Identify API patterns (REST, GraphQL, etc.) ### 2. Authentication & Session - [ ] Check for missing authentication on sensitive endpoints - [ ] Look for session tokens in URLs or GET params - [ ] Check cookie security flags (Secure, HttpOnly, SameSite) - [ ] Identify predictable session/token patterns ### 3. Authorization (IDOR) - [ ] Find sequential/enumerable IDs in URLs - [ ] Check for base64 encoded IDs (easy to decode/iterate) - [ ] Look for user IDs, order IDs, transaction IDs - [ ] Test if one user's token works for another's resources ### 4. Data Exposure - [ ] PII in responses (email, phone, address) - [ ] Partial/full credit card numbers - [ ] Passwords or hashes in responses - [ ] Internal IPs, file paths, stack traces ### 5. Secrets & Keys - [ ] API keys in requests/responses - [ ] Hardcoded tokens or salts - [ ] Cloud credentials (AWS, GCP, Azure) - [ ] Third-party service keys ### 6. Payment Security - [ ] Checksum/hash validation on callbacks - [ ] Amount manipulation possibilities - [ ] Status parameter tampering - [ ] Signature collision vulnerabilities ### 7. Input Validation - [ ] OTP in response (should only be sent via SMS/email) - [ ] Rate limiting on sensitive endpoints - [ ] Enumerable endpoints without protection ### 8. Transport Security - [ ] HTTP instead of HTTPS for sensitive data - [ ] Missing security headers - [ ] Referer leakage to third parties ## 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.
View on GitHub