info-leak
Skill0 starsChanged 6 days agoMITView on GitHub
Focused hunt for information disclosure and privacy exposure: exposed secrets, debug endpoints, backup files, source maps, API docs, PII leakage, and privacy review of PRs or API responses. Use when the focus is secrets, info leak, sensitive data exposure, or reviewing a PR/API for privacy issues. Not for known CVE scanning (use known-cves).
- Reads credentials
In this repository25 other files it gives its agents.
- access-controlSkill
- atoSkill
- business-logicSkill
- cloudSkill
- cmd-injectionSkill
- fuzzingSkill
- graphqlSkill
- huntSkill
- jwtSkill
- known-cvesSkill
- llm-securitySkill
- oauthSkill
- open-redirectSkill
- osintSkill
- param-pollutionSkill
- raceSkill
- reconSkill
- reportSkill
- request-smugglingSkill
- sqliSkill
- ssrfSkill
- sstiSkill
- upload-traversalSkill
- xssSkill
- xxeSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 48
Check: PII in logs, PII in analytics/tracking calls, new data flows to third parties, consent/retention implications, PII in URLs or client …
- Very specific: line 49
Check secrets: any hardcoded keys/tokens in the diff (grep -iE 'api[_-]?key|secret|token|password|bearer|AKIA').
- Very specific: line 54
Write findings to findings/info-leak-<date>.md:
≈ “Common” is an estimate: at least 1 in 5 of the 383,637 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Information Disclosure & Privacy
When to use
- "Hunt info leak / secrets on X", "check for exposed files on X", "review this PR for privacy", "does X leak PII"
- OWASP coverage: A01/A02 (cryptographic failures, sensitive data), API Top 10 API3 (Excessive Data Exposure)
- Two modes: target scan (black/grey box) and PR review (grey box)
When NOT to use
- Fingerprinting for CVE matching (use
known-cves) - Auth flow bugs (use
ato)
Mode A — Target scan
1. Common file discovery
With ffuf on each live host (use recon list): /.env, /.git/config, /.git/HEAD, /backup.zip, /db.sql, /.DS_Store, /server-status, /phpinfo.php, /.svn/entries, /.htaccess, /web.config, /composer.json, /package.json, /debug, /trace, /actuator, /console, /admin/config, /robots.txt, /sitemap.xml, /crossdomain.xml.
.gitfound: if listing works, extract with git tools (git-dumperif installed, else fetch.git/objectsmanually); read-only, don't modify..env/config found: record variable NAMES in the report; do not print full secret values (mask them), and never use them without asking the user.
2. API and docs exposure
/swagger.json, /openapi.json, /api-docs, /graphql (run introspection), /v1/../v3 versioned APIs, old API versions still live with weaker auth.
3. Source maps and JS
.map files live? Reconstruct source; grep for internal hostnames, keys, comments, TODOs, feature flags, internal API routes.
4. Response hygiene
- Verbose headers:
Server,X-Powered-By, stack traces in 4xx/5xx (trigger safe errors: malformed JSON, weird types),Via, internal IPs in headers. - Cookies: missing
Secure/HttpOnly/SameSite, session tokens in URLs. - Error messages: SQL/driver errors, path disclosure, framework version.
5. Excessive data exposure (API)
Authenticated as a normal user: GET every object endpoint. Diff what the API returns vs what the UI shows. Extra fields: hash of password, internal flags, other users' minimal data, emails, tokens. Report the exact fields leaked.
6. PII / privacy signals
- PII in URLs (emails/names as query params → logs/referrers), PII in client-side storage unencrypted, tracking of sensitive categories, data returned for other users.
- Exports (CSV/PDF): do they include more than the user's own data?
Mode B — PR / privacy review
Given a diff or PR:
- Enumerate personal data touched: which fields, where stored, where logged, where sent.
- Check: PII in logs, PII in analytics/tracking calls, new data flows to third parties, consent/retention implications, PII in URLs or client storage, new telemetry events carrying user content.
- Check secrets: any hardcoded keys/tokens in the diff (
grep -iE 'api[_-]?key|secret|token|password|bearer|AKIA'). - Report as review findings:
file:line, issue, why it matters (GDPR-style impact: purpose, minimization, retention), suggested fix. No code changes unless asked.
Reporting
Write findings to findings/info-leak-<date>.md:
### [SEVERITY] Title
- Location: URL / file:line
- CWE: CWE-200 / CWE-540 / CWE-798
- Evidence: request + response snippet (mask secrets and PII values in the report)
- Reproduction: numbered steps
- Impact: what an attacker learns or gainsLive secrets (DB creds, API keys with write access) = high. PII exposure scale decides: few users low/medium, cross-user = high.
Focus discipline
Fingerprint versions for CVEs → lead for known-cves. Login-related exposure → lead for ato.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

