leak-check
Skill9 starsChanged 17 days agoMITView on GitHub
Public-release leak and security preflight workflow. Use when the user says `/유출검수`, `유출검수`, `*/유출검수*`, asks to prepare a project for GitHub/public/portfolio release, or wants to scan for .env/auth/data/token/secret/real email/local path/screenshot leaks before publishing, pushing, committing, or opening a PR.
- Reads credentials
In this repository56 other files it gives its agents.
- harness/CLAUDE.mdCLAUDE.md
- academic-research-routerSkill
- accessibilitySkill
- adaptive-project-harnessSkill
- anti-slopSkill
- apple-designSkill
- arenaSkill
- astryx-design-systemSkill
- attention-spanSkill
- copywritingSkill
- crash-outSkill
- croSkill
- cybersecurity-skill-routerSkill
- design-isms-referenceSkill
- design-minimal-blue-pitchdeckSkill
- design-source-routerSkill
- design-specSkill
- diagnosing-bugsSkill
- emil-design-engSkill
- external-review-routerSkill
- frontend-designSkill
- gh-address-commentsSkill
- handoffSkill
- humanize-japaneseSkill
- hyperframes-animationSkill
- hyperframes-audioSkill
- hyperframes-cliSkill
- hyperframes-coreSkill
- hyperframes-creativeSkill
- hyperframes-keyframesSkill
- hyperframes-registrySkill
- hyperframesSkill
- hyperframes-studioSkill
- impeccableSkill
- implement-changeSkill
- library-docsSkill
- loop-librarySkill
- media-useSkill
- motion-graphicsSkill
- obsidian-memory-routerSkill
- openpencil-cliSkill
- ponytailSkill
- product-marketingSkill
- project-startSkill
- pr-ossSkill
- remove-ai-marksSkill
- requirements-clarificationSkill
- retroSkill
- review-changeSkill
- screenshotSkill
- security-auditSkill
- startup-evidenceSkill
- taste-guided-uiSkill
- team-patternsSkill
- understandSkill
- verification-before-completionSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
17 rules. About 0 are common, 12 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈12
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this skill as a public-release gate.
- Very specific: line 12
Do not read or print .env, auth stores, browser auth state, cookies, token files, private keys, raw mail, or production database contents …
- Distinctive: line 13
Treat GitHub/public release as stricter than normal code review: real names, personal email addresses, meeting links, local absolute paths, …
- Distinctive: line 14
Prefer path, metadata, redacted scanners, and tracked-file inventory over opening sensitive files.
- Distinctive: line 15
Do not delete files or rewrite git history automatically.
- Distinctive: line 16
If the user asks to publish, push, create a PR, or make a portfolio release, run this preflight before staging/pushing unless they …
- Distinctive: line 22
Use a supervisor pattern:
- Very specific: line 30
Never pass raw .env, token values, cookies, auth state, raw mail, live DB rows, or production screenshots to subagents.
- Distinctive: line 31
Prefer path names, finding IDs, redacted scanner output, and file ownership boundaries.
- Distinctive: line 32
If a finding implies a leaked real credential, recommend rotation even after code cleanup.
- Very specific: line 43
If the installed path differs, resolve this skill directory and run scripts/check_release_leaks.py.
- Very specific: line 54
Read repo guidance first: AGENTS.md, CHECKS.md, current task docs, release checklists, and any existing .gitignore or security policy.
- Distinctive: line 55
Run the bundled leak scanner and any repo-provided preflight scripts.
- Distinctive: line 57
If available, run relevant optional scanners:
- Distinctive: line 63
Check release-specific leaks that generic scanners miss: real emails, calendar/meeting URLs, local absolute paths, raw mail fragments, …
- Distinctive: line 69
Treat these as high severity for public release:
- Very specific: line 80
Read references/security-tools.md when choosing external scanner commands, comparing tool coverage, or explaining why several scanners may …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
Leak Check
Use this skill as a public-release gate. The goal is to prevent accidental exposure of secrets, personal data, operational mail/calendar data, local paths, screenshots, and unsafe repo state before a project is shown on GitHub or in a portfolio.
Operating Rules
- Do not read or print
.env, auth stores, browser auth state, cookies, token files, private keys, raw mail, or production database contents unless the user explicitly asks. - Treat GitHub/public release as stricter than normal code review: real names, personal email addresses, meeting links, local absolute paths, screenshots of live tools, and sample data can be blockers even when tests pass.
- Prefer path, metadata, redacted scanners, and tracked-file inventory over opening sensitive files.
- Do not delete files or rewrite git history automatically. Report what must change; ask or use the repo's normal cleanup path for destructive remediation.
- If the user asks to publish, push, create a PR, or make a portfolio release, run this preflight before staging/pushing unless they explicitly waive it.
Subagents
유출검수, /유출검수, and */유출검수* include permission for automatic subagent use unless the user says not to. Keep small repos local; use subagents when the repo is non-trivial, the release target is public, history scanning is needed, or remediation spans several files.
Use a supervisor pattern:
- Main agent: orchestrates the release gate, runs or chooses scanners, decides blockers, and owns the final publish/no-publish recommendation.
inventoryas explorer: read-only repo structure, tracked/untracked sensitive paths,.gitignore, release docs, and screenshot/media inventory. No secret contents.security-revieweras reviewer-style worker: classify findings by public-release risk, false-positive likelihood, credential rotation need, and whether history cleanup is required.testeras tester-style worker: runCHECKS.md, bundled scanner, and installed redacted tools only. Report skipped tools and reasons.remediation-workeras worker: only after the main agent assigns exact files. Do not delete data, rewrite history, or alter credentials without explicit user approval.
Delegation constraints:
- Never pass raw
.env, token values, cookies, auth state, raw mail, live DB rows, or production screenshots to subagents. - Prefer path names, finding IDs, redacted scanner output, and file ownership boundaries.
- If a finding implies a leaked real credential, recommend rotation even after code cleanup.
- The main agent must re-run the bundled scanner after remediation.
Quick Start
From the target repository:
python3 ~/.claude/skills/leak-check/scripts/check_release_leaks.py --root .If the installed path differs, resolve this skill directory and run scripts/check_release_leaks.py.
The bundled scanner is intentionally conservative and dependency-free. It reports paths, line numbers, and finding types without printing matched secret values.
Hooks
The optional PlzDo release-gate hook only allows publishing commands in the canonical forms it can check. It does not scan content and does not replace this preflight. Before the first public push of an existing history, or before making a repository public, run this skill on the full history: the scanner checks the working tree, not earlier commits, commit messages or author emails.
Workflow
- Identify the release target and exposure level: private PR, public GitHub repo, portfolio screenshot/demo, package publish, or handoff archive.
- Read repo guidance first:
AGENTS.md,CHECKS.md, current task docs, release checklists, and any existing.gitignoreor security policy. - Run the bundled leak scanner and any repo-provided preflight scripts. Keep output redacted in summaries.
- Inspect git state with safe metadata: tracked files, untracked sensitive paths, ignored files, large files, and recent changes. Avoid printing sensitive file contents.
- If available, run relevant optional scanners:
- Gitleaks for git history and working tree secret detection.
- TruffleHog for verified leaked credentials when history depth matters.
- detect-secrets for baseline-oriented team workflows.
- git-secrets for commit-hook style AWS/custom prohibited patterns.
- Semgrep or Secretlint for broader SAST/credential linting when the project stack supports it.
- Check release-specific leaks that generic scanners miss: real emails, calendar/meeting URLs, local absolute paths, raw mail fragments, production screenshots, database files, OAuth state, generated reports, and app logs.
- Remediate with the smallest safe change: ignore files, replace fixtures with synthetic samples, add templates, redact docs, remove tracked artifacts, rotate exposed credentials, or document required manual cleanup.
- Re-run the scanner and relevant checks from
CHECKS.md. Final output should list blockers, changed files, skipped checks, and residual risks.
Blocker Categories
Treat these as high severity for public release:
.env,.env.*,auth/,playwright/.auth/, browser profiles, OAuth tokens, cookies, session state.data/,.db,.sqlite, production exports, local app caches, raw logs, raw mail/calendar/task dumps.- API keys, GitHub tokens, OpenAI keys, AWS keys, Slack/Stripe tokens, private keys, service account JSON, client secrets.
- Personal email addresses, real candidate/company mail bodies, calendar invite links, Google Meet/Zoom/Teams URLs, phone numbers when not intentionally public.
- Absolute paths into a user's home folder (macOS, Linux or Windows), machine-specific paths, local-only absolute paths embedded in docs or configs.
- Screenshots/videos that show real inboxes, calendars, issue trackers, credentials, internal dashboards, customer data, or non-public company names.
Optional References
Read references/security-tools.md when choosing external scanner commands, comparing tool coverage, or explaining why several scanners may be combined.
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.

