DevOps & Cloud
env-file-exposure-check
Verdict: Provisional: a static review only, not yet measured.
Checks a project folder for committed environment files and secret-shaped values, reporting file, line and a masked value without printing full secrets.
- What it does: The skill runs a standard-library Python scanner on a folder you name.
- Use it when: Use it before pushing a repository, before a release, or after someone asks whether a .env file has been tracked.
- Written and reviewed by Skill Almanac
- Licence: Apache-2.0
- Updated 2026-11-21
- Install check passed: Claude Code 2.1.330, 2026-11-23
Platform Score
Scored · Method v0.2 · How we scoreProvisional: we have not run the with/without test on this skill yet, so a low score here means missing evidence, not that the skill is poor. Cap 75: without a measured test, efficacy and trigger precision earn only a static proxy, so the score cannot pass 75.
Our assessment, method v0.2, scored 2026-11-21. See the breakdown
User Score
No reviews yet
A future average requires 5 installation-verified reviews; verification is not available yet. Read reviews
What it does
The skill runs a standard-library Python scanner on a folder you name. The scanner lists up to 5000 files, flags names such as .env*, *.pem, id_rsa and credentials*, and checks each file's text against four patterns: AWS access key IDs, PEM private key headers, GitHub personal tokens and key=value lines with a long value. Every flagged file is checked against the root .gitignore with simple glob rules, so a secret file that is already ignored is reported as a note while one that is not ignored is reported as an exposure. The output is one JSON object. The agent turns it into a status, a findings table and a remediation list. Full secret values are never printed; token-shaped matches show the first four characters and *, and key=value matches show only the value's length.
When to use it
Use it before pushing a repository, before a release, or after someone asks whether a .env file has been tracked. It also helps when a folder was copied from another machine and its .gitignore may be incomplete.
When not to use it
It does not read git history, so a secret that was committed and later deleted will not appear. It does not query cloud accounts to see whether a key is still live. It does not check dependencies for known vulnerabilities, and it does not look at code logic.
Summary reviewed 2026-11-22 by Kobi Eliraz (founder, Skill Almanac).
Demo video
env-file-exposure-check: how to use this skill. Recorded on Claude Code, 2026-11-23.
AI-narrated demonstration based on recorded agent outputs. The task and transcript explain what is shown; evaluation evidence and limitations are on the skill page.
Transcript
- 0:00 The finished result Secrets about to leak? Scan the folder, mask each hit.
- The result of the demonstration run
- 0:05 The prompt You ask your agent.
- The prompt: I am auditing a repository before a push or release, and the project files are in the shop-app folder. Please check it for exposed secrets.
- 0:08 What it is and how to run it It reads the skill, runs the scanner, then masks each match.
- Next I'll list the input folder to find the shop-app project.
- The target is `shop-app`, and it has no `.git` folder at its root. Next I'll run the scanner once.
- The scanner flagged `.env` with an AWS key ID and a key=value secret. Next I'll read the folder's `.gitignore` to see why `.env` is not ignored.
- The `.gitignore` only covers `node_modules/` and `*.log`, so `.env` is not ignored. Next I'll write the report to the output folder.
- 0:13 Before and after The result.
- From the agent's own report
- 0:19 install To use it, clone the public repo and copy the skill folder.
- git clone --depth 1 https://github.com/kobilyricsweb/skillalmanac-skills.git
- cd skillalmanac-skills
- mkdir -p ~/.claude/skills
- cp -r skills/env-file-exposure-check ~/.claude/skills/
- # Claude Code (Codex CLI, Cursor and Gemini CLI directories are listed in the repo README)
- github.com/kobilyricsweb/skillalmanac-skills/tree/main/skills/env-file-exposure-check
- 0:26 The skill page Find it at skillalmanac dot com.
- Env File Exposure Check
- https://skillalmanac.com/skills/skill-almanac/env-file-exposure-check
Install
To use these commands, you need Git and a computer running Claude Code. They copy the skill into your Claude Code skills folder (use .claude/skills inside a project for project-only installation). Check the package requirements for any extra runtime, such as Python or Node.js, before running its scripts.
Skill Almanac is free to browse. Your AI tool or model provider may charge for a subscription or usage; see Claude Code costs.
Source version: e53b65e180e6e20d36f109eee6df2a3b39a0d499 (pinned commit).
macOS and Linux (Terminal)
git clone --depth 1 --filter=blob:none --sparse --no-checkout https://github.com/kobilyricsweb/skillalmanac-skills.git &&
cd skillalmanac-skills &&
git fetch --depth 1 origin e53b65e180e6e20d36f109eee6df2a3b39a0d499 &&
git checkout --detach FETCH_HEAD &&
git sparse-checkout set -- skills/env-file-exposure-check &&
test -f skills/env-file-exposure-check/SKILL.md &&
mkdir -p ~/.claude/skills &&
if [ -e ~/.claude/skills/env-file-exposure-check ]; then printf '%s\n' 'Already installed: review the existing folder before updating.' >&2; false; else cp -r ./skills/env-file-exposure-check ~/.claude/skills/; fiWindows (PowerShell)
git clone --depth 1 --filter=blob:none --sparse --no-checkout https://github.com/kobilyricsweb/skillalmanac-skills.git
if ($LASTEXITCODE -ne 0) { throw 'Git command failed; no skill was installed.' }
Set-Location -LiteralPath 'skillalmanac-skills' -ErrorAction Stop
git fetch --depth 1 origin e53b65e180e6e20d36f109eee6df2a3b39a0d499
if ($LASTEXITCODE -ne 0) { throw 'Git command failed; no skill was installed.' }
git checkout --detach FETCH_HEAD
if ($LASTEXITCODE -ne 0) { throw 'Git command failed; no skill was installed.' }
git sparse-checkout set -- skills/env-file-exposure-check
if ($LASTEXITCODE -ne 0) { throw 'Git command failed; no skill was installed.' }
if (-not (Test-Path -LiteralPath 'skills/env-file-exposure-check/SKILL.md' -PathType Leaf)) { throw 'The selected version does not contain this skill.' }
$skillDestination = Join-Path $HOME '.claude/skills/env-file-exposure-check'
if (Test-Path -LiteralPath $skillDestination) { throw 'Already installed: review the existing folder before updating.' }
New-Item -ItemType Directory -Force -Path (Split-Path -Parent $skillDestination) -ErrorAction Stop | Out-Null
Copy-Item -LiteralPath 'skills/env-file-exposure-check' -Destination $skillDestination -Recurse -ErrorAction StopThese commands avoid replacing an existing skill. Required tools and scripts may differ by operating system; check this skill’s dependencies before running it. For platform steps and the scope of our tests, see the installation guide. For another agent, use the Codex skills guide, Cursor skills guide, or Gemini CLI tool page, together with the package README. Read the source before you install.
Source: kobilyricsweb/skillalmanac-skills on GitHub
How we tested the install
Claude Code
The check we ran, on Claude Code 2.1.330 on 2026-11-23, pinned to commit e53b65e. This is our test harness, not the install command.
claude -p "The user auditing a repository before a push or release, when a .env, .pem, id_rsa or credentials file may be tracked. Use the env-file-exposure-check skill for this; say which skill you used and stop." --model claude-haiku-5-5 --output-format stream-json --verbose --max-turns 6 (cwd with .claude/skills/env-file-exposure-check/)Not tested on: Codex, Gemini CLI, Cursor, GitHub Copilot.
Platform Score
41 out of 100 · Provisional: efficacy not tested
Merit 42.2 × safety factor 0.96 = 41. Provisional: no letter grade until measured. Without evals, merit cannot pass 75, so the top grade is out of reach until the skill is tested.
- Scored
- 2026-11-21
- Method
- Version 0.2. How this is calculated
- Evaluated by
- Skill Almanac static rules v0 plus an external static security scan (Semgrep, Gitleaks, an instruction-indirection detector), every finding triaged. No human review. Everything else that cannot be checked earns nothing and is listed under Not tested.
Score breakdown: seven dimensions, safety factor and rubric items
Merit: seven dimensions
Safety factor: file review
Security 23 of 25 points gives a safety factor of 0.96. Security does not add points; it multiplies merit, so a risky skill loses up to half its score.
| Item | Points | What we found |
|---|---|---|
| S2 Remote code execution surface | 6 / 6 | Nothing that downloads, installs or runs remote code applies; no findings. (measured, scan of 2026-11-22.) |
| S3 Instruction indirection | 5 / 5 | No instruction that fetches or follows content from outside the reviewed files applies; no findings. (measured, scan of 2026-11-22.) |
| S4 Secrets and credentials | 2 / 4 | Half credit: the skill really does this by design (accepted risk, reason on the page); 9 findings triaged (4 false positive, 5 accepted risk). (measured, scan of 2026-11-22.) own-rules credential-path, high, accepted risk: Audit script: it lists and reads .env*, *.pem and id_rsa-style files in the folder the user names, to flag committed secrets. Values are masked (first 4 characters then ***, or length only); nothing leaves the machine. semgrep-custom skill-py-credential-read, high, accepted risk: Audit script that opens secret-named files in the user's project to report committed secrets (kind and line only, values masked); same access as the own-rules finding. semgrep-custom skill-py-credential-read, high, accepted risk: Audit script that opens secret-named files in the user's project to report committed secrets (kind and line only, values masked); same access as the own-rules finding. s3-detector credential-file-read, medium, accepted risk: Same script as the own-rules finding: reads .env*/*.pem-named files in the user's folder, masks values. s3-detector credential-file-read, medium, accepted risk: Same script as the own-rules finding: reads .env*/*.pem-named files in the user's folder, masks values. |
| S5 Data egress and telemetry | 4 / 4 | No data egress applies; no findings. (measured, scan of 2026-11-22.) |
| S6 Agent-behaviour integrity | 3 / 3 | No steering, hidden or auto-approve wording applies; no findings. (measured, scan of 2026-11-22.) |
| S7 Bundled executable hygiene | 3 / 3 | Bundled scripts are readable source and nothing in them applies; no findings. (measured, scan of 2026-11-22.) |
Not tested
- Efficacy: no with/without-skill comparison has been run; scored only by the evidence proxy.
- Trigger precision: description rubric only; T3 (specific trigger terms) needs a judge. No trigger test was run.
- Instruction quality: Q2, Q3 and Q6 need a judge and earn nothing; Q4 and Q7 get half credit.
- Security: measured by a static external scan. Semgrep 1.186.0; Gitleaks 8.30.1; Skill Almanac own-rules 0.1.0; S3 instruction-indirection detector 1.0.0; npm audit / pip-audit npm 10.9.0 / pip-audit 2.10.1. Scanned 2026-11-22: 9 findings (4 false positive, 0 real and fixed, 5 accepted risk, 0 open). Every finding was triaged by the scanning session, not by a human. No runtime behaviour check was run: nothing was installed or executed.
- Portability: P4 (multi-agent support) was not tested on any other tool.
- Maintenance: new package with no commit history or public repository.
What would raise this score
- Run the measured procedure (6 to 12 held-out tasks, with and without the skill, blind grading in both orders): efficacy can earn up to 35 points. (up to +30 points)
- A judge pass over Q2, Q3 and Q6 would score the instruction quality that is not measured yet. (up to +16.3 points)
- A runtime behaviour check (running the scripts in a sandbox) and a human review of the triage would be the next security evidence. (up to +1.7 points)
This score is our assessment under a published method. It is not a guarantee of safety or fitness. To dispute this score, use the corrections page; we reply within 10 business days.
Evidence and rubric details (for reviewers)
Evidence and provenance
House skill from the Claude pipeline (batch_06_pilot50). Drafted by claude-haiku-5-5. Human review: not done yet. Source package: 01_skill_production/batch_06_pilot50/env-file-exposure-check (not public).
Matches the search intent ‘Check a project folder for committed environment files and secret-like values without printing the secrets’ (249/mo, US). Volume is the average monthly US searches over 12 months for the cluster “claude security plugin (shared parent)”; a ceiling, not a forecast.
Declared compatibility (the author's statement, not an install test): Python 3.9+ stdlib only, no network (type A).
Static lint and own-rules scan · PASS
. Agent Skills spec lint passed (0 failures, 0 warnings). Own-rules security scan: 3 findings.
Read with care: Spec lint and own-rules text rules only; the security result is the separate external scan record below. Nothing was installed or run.
Details
- Eb Deterministic helper or verify step: 5/5. Bundled scripts validate or do the work.
- T1 Says what the skill does: 1/1. Description of at least 30 characters.
- T2 Says when to use it: 2/2. A "use when" statement is present.
- T3 Specific trigger terms: 0/2. Not measured: needs a judge.
- T4 Within spec length: 1/1. 448 characters.
- T5 Distinct, not over-broad: 1/1. Checked for over-broad wording by pattern.
- T6 No coercive wording: 1/1. Checked for coercive wording by pattern.
- Q1 Valid per the Agent Skills spec: 2/2. No hard lint rule failed.
- Q2 Actionable workflow: 0/4. Not measured: needs a judge.
- Q3 Specific non-obvious knowledge: 0/4. Not measured: needs a judge.
- Q4 Concrete examples: 1/2. Code blocks or an example heading exist (half credit: quality not judged).
- Q5 Progressive disclosure: 2/2. Body is 88 lines.
- Q6 Verification and failure handling: 0/3. Not measured: needs a judge.
- Q7 Prerequisites declared: 1/2. A compatibility field exists (half credit: contents not judged).
- Q8 Version or changelog: 1/1. metadata.version 0.1.0.
- P1 Frontmatter: 2/2. Open-spec fields only.
- P2 Agent-specific tools in the body: 3/3. None named.
- P3 Runtime dependencies: 2/2. None, or standard library only.
- P4 Multi-agent support: 0/1. Not measured: no cross-tool run exists.
- M1 Recent change: 3/3. Last commit touching the skill directory 2026-11-22.
- M3 Repository and publisher: 1/2. kobilyricsweb/skillalmanac-skills is not archived and was pushed 2026-11-23. The established-publisher half earns nothing: the publisher is not verified.
- L1 Licence: 3/3. Apache-2.0 with LICENSE file.
- L2 Provenance: 1/2. Original house package; publisher not verified by the claim flow.
- K1 Always-loaded metadata: 1/1. 448 description characters.
- K2 Activation cost: 3/3. About 1350 body tokens (characters / 4).
- K3 On-demand structure: 1/1. References are split out, or the skill is small.
Record: 01_skill_production/batch_06_pilot50/env-file-exposure-check/SKILL.md
External security scan · PASS_ACCEPTED_RISK
. Semgrep 1.186.0; Gitleaks 8.30.1; Skill Almanac own-rules 0.1.0; S3 instruction-indirection detector 1.0.0; npm audit / pip-audit npm 10.9.0 / pip-audit 2.10.1. Scanned 2026-11-22: 9 findings (4 false positive, 0 real and fixed, 5 accepted risk, 0 open). 6 files scanned; No dependency manifest is bundled, so there was nothing to audit.
Read with care: Static scan only: nothing was installed or executed. Each finding was triaged by the scanning session (an AI), not by a human reviewer. evals/ test fixtures (deliberate fake keys and injection strings) are excluded by design. Not a security certification.
Details
- Tool: Semgrep 1.186.0 (registry p/default (fetched 2026-11-22) + custom agent-skill rules (rules/agent-skill-risks.yml, 13 rules, tested))
- Tool: Gitleaks 8.30.1 (built-in default ruleset, --redact)
- Tool: Skill Almanac own-rules 0.1.0 (StaticRuleScanner text rules)
- Tool: S3 instruction-indirection detector 1.0.0 (tools/s3_indirection_scan.py (15 positive and negative self-tests))
- Tool: npm audit / pip-audit npm 10.9.0 / pip-audit 2.10.1 (manifests found inside packages only)
- S4 own-rules credential-path (high) at LISTING.md:9: false positive. Documentation says what the scanner looks for; no instruction to read credential stores.
- S4 own-rules credential-path (high) at scripts/env_exposure.py:7: accepted risk. Audit script: it lists and reads .env*, *.pem and id_rsa-style files in the folder the user names, to flag committed secrets. Values are masked (first 4 characters then ***, or length only); nothing leaves the machine.
- S4 own-rules credential-path (high) at SKILL.md:3: false positive. Documentation says what the scanner looks for; no instruction to read credential stores.
- S4 semgrep-custom skill-py-credential-read (high) at scripts/env_exposure.py:7: accepted risk. Audit script that opens secret-named files in the user's project to report committed secrets (kind and line only, values masked); same access as the own-rules finding.
- S4 semgrep-custom skill-py-credential-read (high) at scripts/env_exposure.py:30: accepted risk. Audit script that opens secret-named files in the user's project to report committed secrets (kind and line only, values masked); same access as the own-rules finding.
- S4 s3-detector credential-file-read (medium) at LISTING.md:9: false positive. Documentation of what the scanner looks for.
- S4 s3-detector credential-file-read (medium) at SKILL.md:3: false positive. Documentation of what the scanner looks for.
- S4 s3-detector credential-file-read (medium) at scripts/env_exposure.py:7: accepted risk. Same script as the own-rules finding: reads .env*/*.pem-named files in the user's folder, masks values.
- S4 s3-detector credential-file-read (medium) at scripts/env_exposure.py:30: accepted risk. Same script as the own-rules finding: reads .env*/*.pem-named files in the user's folder, masks values.
Record: 01_skill_production/security_scan/results/env-file-exposure-check.json
Cross-review · PUBLISH-PROVISIONAL
. A second model reviewed the package and recorded publish-Provisional.
Read with care: An AI review, not a human review.
Record: batch_06_pilot50/REVIEW_ROUND2.md
Authoring record
. Drafted by claude-haiku-5-5; the editorial summary (what it does, when to use, when not to use, limits) was reviewed and signed off by Kobi Eliraz on 2026-11-22. The package itself and its tests were not re-run by a human. No with/without-skill comparison has been run for this package.
Read with care: Self-reported by the authoring pipeline. Not independently audited.
Record: 01_skill_production/batch_06_pilot50/env-file-exposure-check/VERIFICATION.md
Public repository
. Published in kobilyricsweb/skillalmanac-skills: 1 commit on this skill, first 2026-11-22, last 2026-11-22; 0 open issues in the repository.
Read with care: Read from the GitHub API on the date shown, at catalogue build time. The repository is new and unverified: its history earns only the points the published method assigns to it.
Record: https://github.com/kobilyricsweb/skillalmanac-skills/tree/main/skills/env-file-exposure-check
User Score
No reviews yet. A User Score is planned to use only reviews from people with a verified install. Installation verification is not available yet. An average requires 5 verified reviews.
Examples
No before-and-after examples yet. They are added from our evaluation runs.
Limits and known failures
No detailed limitations are documented here yet. The evidence section shows the available tests and their scope.
Security
| Scanner | Version | Date | Result |
|---|---|---|---|
| External scan (Semgrep, Gitleaks, instruction-indirection detector, own rules) | Semgrep 1.186.0; Gitleaks 8.30.1; Skill Almanac own-rules 0.1.0; S3 instruction-indirection detector 1.0.0; npm audit / pip-audit npm 10.9.0 / pip-audit 2.10.1 | 2026-11-22 | high: own-rules credential-path at LISTING.md:9 (false positive); high: own-rules credential-path at scripts/env_exposure.py:7 (accepted risk); high: own-rules credential-path at SKILL.md:3 (false positive); high: semgrep-custom skill-py-credential-read at scripts/env_exposure.py:7 (accepted risk); high: semgrep-custom skill-py-credential-read at scripts/env_exposure.py:30 (accepted risk); medium: s3-detector credential-file-read at LISTING.md:9 (false positive); medium: s3-detector credential-file-read at SKILL.md:3 (false positive); medium: s3-detector credential-file-read at scripts/env_exposure.py:7 (accepted risk); medium: s3-detector credential-file-read at scripts/env_exposure.py:30 (accepted risk) |
A scan is not a guarantee. Read what a skill does before you install it.
Reviews
No reviews yet.
Write a review
Questions and answers
No questions yet.
Ask a question
Discussion
Recommended by 0 people. A recommendation is not a rating and is not part of either score.
Comments (0)
No comments yet.
Add a comment
Versions
| Commit | Date | Change | Platform Score |
|---|---|---|---|
e53b65e | 2026-11-22 | First and only published version: the package as committed to kobilyricsweb/skillalmanac-skills. No later change has been made, so there is no change log yet. Scored and scanned as source package ea69f6e0b17b; the published folder omits internal metadata and VERIFICATION.md. | 41 (current) |
Licence
Apache-2.0
Apache-2.0, declared in the skill frontmatter and shipped as a LICENSE file in the package.
Publisher
- Name
- Skill Almanac
- Verification
- Not verified. Nobody has claimed this listing yet.
- Profile
- No public profile yet
Other skills from this publisher
- cited-deep-research 62/100 · grade CScored · Method v0.2 · How we score
- coding-agent-guardrails 60/100 · grade CScored · Method v0.2 · How we score
- notes-vault-organizer 67/100 · grade CScored · Method v0.2 · How we score
- session-handoff-notes 63/100 · grade CScored · Method v0.2 · How we score
- word-document-builder 62/100 · grade CScored · Method v0.2 · How we score
- agency-client-onboarding-checklist 50/100 · grade DScored · Method v0.2 · How we score
- bank-statement-reconcile 54/100 · grade DScored · Method v0.2 · How we score
- candidate-scorecard-builder 63/100 · grade CScored · Method v0.2 · How we score
Similar skills
- config-file-validator by Skill Almanac 58/100 · Provisional, not yet measuredScored · Method v0.2 · How we score
More in DevOps & Cloud
- architecture-diagrams by Skill Almanac 62/100 · grade CScored · Method v0.2 · How we score
- git-worktree-and-pr-flow by Skill Almanac 56/100 · Provisional, not yet measuredScored · Method v0.2 · How we score
- terraform-module-docs by Skill Almanac 42/100 · Provisional, not yet measuredScored · Method v0.2 · How we score
- terraform-resource-diagram by Skill Almanac 41/100 · Provisional, not yet measuredScored · Method v0.2 · How we score
Category: DevOps & Cloud (assignment not yet confirmed by an editor)
Learn: How to install a Claude Code skill: personal, project and plugin routes
Terms this skill is an example of
This item is a worked example in the AI glossary for:
Common questions
What is the Platform Score of env-file-exposure-check?
41 out of 100 under method v0.2, scored on 2026-11-21. It is provisional because efficacy has not been tested.
Has env-file-exposure-check been tested for effectiveness?
Not yet. No evals have been run, so the score rests on a static review only.
Which tools has the install been checked on?
Install check passed on: Claude Code 2.1.330, 2026-11-23. It says the files install, not that the skill works.
What licence does it use?
Apache-2.0, declared in the skill frontmatter and shipped as a LICENSE file in the package.
When was this page last updated?
2026-11-21.
Cite this entry
Skill Almanac. env-file-exposure-check. Updated 2026-11-21. Platform Score 41/100 (provisional, method v0.2), scored 2026-11-21. https://skillalmanac.com/skills/skill-almanac/env-file-exposure-check
This citation identifies our entry and assessment. The original skill belongs to its publisher.
SKILL.md
The skill text is not mirrored here. Read it in the source repository.
Report or claim this listing
Report a problem with this listing (malicious content, wrong licence, impersonation, copyright). Publishers can add their own skills through Submit a skill; claiming an existing listing is not available yet.
Index status: not offered to search engines yet. Markdown version of this page
Why this page is not offered to search engines yet
- This page is not in the first set of pages offered to search engines.
What to do next
- Install it with the pinned command above, then try it on one real task.
- Compare other DevOps & Cloud skills, ranked by Platform Score.
- Read How to install a Claude Code skill: personal, project and plugin routes.
- Compare it with another skill.
- Unsure what a score means? How we score.