mcp-secrets-guard@0.1.0
CAUTION· static onlyPublisher claims: "Enables AI assistants to scan env files and entire projects for hard-coded secrets such as API keys, tokens, and private keys, returning only sanitized reports with line numbers, secret types, and variable names. Secret values never enter the model's context, and all access is read-only and confined to the project root." Observed in sandbox: static analysis only — behavior not yet observed.
Coverage
Static only; nothing was run yet.The label rests on the code, the instruction files and the publisher. The honeypot run replaces this verdict when it completes.
Behavior
[email protected] was read but not run in our sandbox as of 2026-11-21. Its code names 1 environment variable. Coverage: static only.
Files read
None recorded.
Hosts called
None recorded.
Environment variables its code names
MCP_SECRETS_GUARD_ROOT
Names only, read from the code. We never hold a value.
Tools offered
No tool list recorded.
Changes since the prior version
No prior version with a result to compare.
What we did not test
- install
- startup
- the tool list
- tool behavior
| Run date | 2026-11-21 |
| Coverage | static only |
| Engine | 1.9.2 |
| Reproduce | npx -y vet-skills try mcp-secrets-guard |
| This record | behavior.json, behavior.md, signed attestation |
This is a record of what one version did in the runs we made. It is evidence, not a certificate.
Before you give it your token
- It will ask for
MCP_SECRETS_GUARD_ROOT- Where it talks to
- no vendor host named in the code
- What we saw when it ran
- nothing has run yet
- What we could not test
- everything: the server has not run yet
Run it before you trust it. Nothing has run yet: the code was read, the server was not. `vet-skills try` runs this exact version in the honeypot in about a minute.
Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.
Is [email protected] safe to install?
KillerSkills analysed it statically (a sandbox run is pending) on 2026-11-21 and scored it 61/100 (Caution). It is not known to be malicious, but it has behaviour or code a security policy should decide on before install. Notable findings: Access to sensitive file paths; Access to sensitive file paths; Access to sensitive file paths. Summary: static analysis only — behavior not yet observed.
Behavior trace
Queued for honeypot run · static analysis onlyThis version has not been detonated yet. The score above counts behavior as unknown (50/100), so it cannot read Verified until the honeypot run completes and replaces this verdict.
Static findings
return base === ".env" || base.startsWith(".env.") || base.endsWith(".env");Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.!/process\.env|import\.meta|\$\{|os\.getenv|getenv\(/i.test(value) &&Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.const r = await client.callTool({ name: "check_env_for_secrets", arguments: { path: ".env.nope" } });Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.* true → file is KEY=VALUE style (.env); unquoted values are examined.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.const r: any = await client.callTool({ name: "check_env_for_secrets", arguments: { path: ".env.nope" } });Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.description: "Check a local env file (default: .env) for exposed secrets such as API keys, tokens, private keys and passwords. " +Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.path.join(root, ".env"),Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.assert.match(out, /\.env: Found 4/);Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose."Check a local env file (default: .env) for exposed secrets such as API keys, tokens, private keys and passwords. " +Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.!/process\.env|import\.meta|\$\{|os\.getenv|getenv\(/i.test(value) &&Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.path: { type: "string", description: "Env file path relative to the project root. Defaults to \".env\"." },Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.const requested = typeof args.path === "string" && args.path ? args.path : ".env";Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.if (pat === ".env*" && base.startsWith(".env"))Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.assert.match(out, /\.env: Found 4/);Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// Human mode: npx mcp-secrets-guard --scan [path]Fix: Pin versions and sources; vendor anything fetched at install time.// Human mode: npx mcp-secrets-guard --scan [path]Fix: Pin versions and sources; vendor anything fetched at install time.for (const p of ["../../etc/passwd", "/etc/passwd", "link.env"]) {Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.const requested = typeof args.path === "string" && args.path ? args.path : ".env";Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.await writeFile(path.join(root, ".env"), [Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.for (const p of ["../../etc/passwd", "/etc/passwd", "link.env"]) {Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.if (pat === ".env*" && base.startsWith(".env")) return true;Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.path: { type: "string", description: "Env file path relative to the project root. Defaults to \".env\"." },Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.return base === ".env" || base.startsWith(".env.") || base.endsWith(".env");Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.Cost to the agent
Tokens estimated at four characters each. Skills load their instruction text when triggered; the figure is what that costs.
Known vulnerabilities
Vulnerability advisories (OSV) cover npm and PyPI packages; this registry has no advisory database.
What would make this Verified
19 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%- Unclaimed publisher≈ +8 on the totalClaim e25b070630-stack: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
- Access to sensitive file paths≈ +4 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
- npx invocation of non-well-known package≈ +2 on the totalPin versions and sources; vendor anything fetched at install time.