mitm-find-secrets
Find leaked secrets, API keys, and credentials in traffic. Use when user asks about exposed keys, hardcoded secrets, or credential leakage.
How do I install this agent skill?
npx skills add https://github.com/instavm/security-skills --skill mitm-find-secretsIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill is a security tool designed to analyze network traffic logs for leaked credentials. While functional, it is vulnerable to indirect prompt injection because it processes untrusted data from log files without utilizing boundary markers or sanitization, which could allow malicious content in the logs to influence the agent.
- Socketpass
No alerts
- Snykwarn
Risk: MEDIUM · 1 issue
What does this agent skill do?
Find Leaked Secrets
Analyze the mitmproxy dump (log.txt) for exposed secrets for: $ARGUMENTS
Requires:
log.txtin the current directory. If it's missing, capture traffic first:mitmdump --set flow_detail=3 2>&1 | tee log.txt
Secret Types to Find
1. API Keys & Tokens
api_key,apiKey,access_keysecret_key,secretKey,client_secrettoken,auth_token,bearer- Patterns: Long alphanumeric strings (32+ chars)
2. Cloud Credentials
- AWS:
AKIA...(access key ID) - GCP:
AIza...(API key) - Azure: Connection strings
- Firebase: Config objects
3. Payment Secrets
- Merchant salts
- HMAC keys
- Encryption keys
- PCI-sensitive data
4. Third-Party Services
- SMS gateway credentials
- Email service keys
- Analytics tokens
- CDN secrets
5. Internal Secrets
- Database credentials
- Internal API keys
- JWT secrets
- Encryption salts
Common Leak Locations
- JavaScript files
- Mobile app API calls
- Error responses with stack traces
- Debug endpoints
- Configuration endpoints
Output Format
For each finding:
- Secret Type: Category of secret
- Location: Where found (endpoint/file)
- Value: Partially masked secret
- Service: What it's used for
- Risk: Potential impact
- Verification: How to test if active
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/instavm/security-skills/mitm-find-secrets">View mitm-find-secrets on skillZs</a>