instavm/security-skills79 installs
mitm-find-referer
Find Referer header leakage vulnerabilities. Use when user asks about URL leakage, third-party data exposure, or sensitive data in headers.
How do I install this agent skill?
npx skills add https://github.com/instavm/security-skills --skill mitm-find-refererIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill analyzes network traffic logs for security vulnerabilities. It is safe for use, but as it processes untrusted data from external traffic logs, it presents a potential surface for indirect prompt injection.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
Find Referer Header Leakage
Analyze the mitmproxy dump (log.txt) for Referer leakage 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
What to Look For
1. Sensitive Data in URLs
- Tokens in URL being leaked via Referer
- Session IDs in query parameters
- User IDs, order IDs in path
- Payment transaction IDs
2. Third-Party Requests
- External scripts receiving internal URLs
- CDN requests with sensitive referers
- Social widgets getting page URLs
- External images/fonts leaking URLs
3. Analytics Leakage
- Google Analytics receiving sensitive URLs
- Third-party analytics with full page paths
- Marketing pixels with transaction data
4. Payment Page Leaks
- Payment IDs leaked to external sites
- Transaction URLs sent to verification badges
- "Verified by Visa" logos receiving payment URLs
Vulnerable Patterns
- External link clicks from sensitive pages
- Third-party widgets on payment pages
- Analytics on authenticated pages
- Social sharing from transaction pages
Output Format
For each finding:
- External Domain: Who receives the data
- Leaked Data: What sensitive info is exposed
- Source Page: Where the leak originates
- Severity: Based on data sensitivity
- Fix:
- Add
Referrer-Policy: no-referrerheader - Use
rel="noreferrer"on links - Remove sensitive data from URLs
- Use POST instead of GET for sensitive data
- Add
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-referer">View mitm-find-referer on skillZs</a>