aftertaste@1.0.0
BLOCKED· startup onlyPublisher claims: "Enables AI coding agents to scan projects or changed files for risky leftovers like hallucinated packages, exposed secrets, truncated code, and unfinished stubs, and to verify that packages exist before installing them." Observed in sandbox: sends data to api.npmjs.org.
Coverage
Startup only; authenticated tool behavior not tested.- Tested
- server startup over stdio (initialize sent) · every file read, file written and host contacted by what ran
- Not tested
- the tool list (the server exited before answering) · what the tools do when called with real credentials
What this means for the label: Blocked here covers what ran. The server's tools were not exercised with a real credential, so nothing about their behavior is asserted; the credential summary below says what to do with that.
Revoked: guards refuse to launch this version
confirmed incident: contacted api.npmjs.org (undeclared) Every machine running vet-skills guard stops starting it at the next launch; the state clears when the honeypot re-run or a reviewer clears it.
Before you give it your token
- It will ask for
- no credential variables read in the code
- Where it talks to
- no vendor host named in the codeAlso githubusercontent.com, shields.io, schemastore.org — not the publisher's domain; check what for before connecting.
- What we saw when it ran
- no credential files read · contacted api.npmjs.org (undeclared)
- What we could not test
- the tool list (the server exited before answering) · what the tools do when called with real credentials
Do not connect it. The honeypot or a critical finding blocked this version; the evidence is below.
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 ran it in the KillerSkills honeypot sandbox (2 scenarios; startup only; authenticated tool behavior not tested) on 2026-11-16 and scored it 29/100 (Blocked). Do not install it: the sandbox observed behaviour consistent with credential theft, exfiltration or persistence. Notable findings: Access to sensitive file paths; Access to sensitive file paths; Access to sensitive file paths. Summary: sends data to api.npmjs.org.
Behavior trace
Honeypot run · 20 s · 2 scenariosStatic findings
const ENV_FILE = /(^|\/)\.env(\.[\w-]+)?$|(^|\/)[\w-]*\.env$/;Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.const ENV_FILE = /(^|\/)\.env(\.[\w.-]+)?$/;Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.…ocalhost|127\.0\.0\.1|0\.0\.0\.0)(?::\d+)?(?:\/|$)/i; const FALLBACK = /process\.env|import\.meta\.env|os\.environ|os\.getenv|getenv\(|Deno\.env|\?\?|\|\||\bor\b|\b…Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.<summary>Upload to GitHub code scanning (SARIF)</summary> ```yaml permissions: contents: read security-events: write steps: - uses: actions/checkout@v4 - uses: Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct./(^|\/)(\.env[^/]*|docker-compose[^/]*\.ya?ml|compose\.ya?ml|Dockerfile|[^/]*\.(toml|ya?ml|ini|cfg|conf))$/i.test(path) ||Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose./\bimport\.meta\.env\.([A-Z_][A-Z0-9_]*)\b/g,Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// `index.js.bak`, `.env.old`, `App.tsx~`; but not `LOG.old`, which is aFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// Real .env files are supposed to hold secrets; `gitignore-gap` makes sureFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose./\bprocess\.env\[\s*['"`]([A-Z_][A-Z0-9_]*)['"`]\s*\]/g,Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose./\bDeno\.env\.get\(\s*['"]([A-Z_][A-Z0-9_]*)['"]/g,Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.files.push(makeSourceFile(root, path, text.replace(/^/, '').replace(/\r\n?/g, '\n')));Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.'Agents create .env files and run `git add .`. If .gitignore does not cover them, your keys go to GitHub with the next commit, where scrapers find them in minutes.',Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.fix: 'Move the value to an environment variable (and .env, which must be gitignored), read it with process.env / os.environ, and rotate the exposed key.',Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.fix: { kind: 'gitignore', pattern: '.env*' },Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.json = JSON.parse(text.replace(/^/, ''));Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.description: 'Committed .env files and node_modules, or secrets files that are one `git add .` away from being committed.',Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose./\bprocess\.env\.([A-Z_][A-Z0-9_]*)\b/g,Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.{ re: /\bos\.system\s*\(\s*f['"]/g, message: 'os.system() with an f-string is a command-injection hole; use subprocess.run([...])', withStrings: true },Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.if (/^\.env(\.|$)/.test(base) || base.endsWith('.env')) return { lang: 'env', family: /** @type {Family} */ ('hash') };Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.const ENV_TEMPLATE = /\.(example|sample|template|dist|defaults?)$|(^|\/)example\.env$/i;Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.'.env*': ['.env', '.env.*', '!.env.example', '!.env.sample', '!.env.template'],Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.fix: { kind: 'gitignore', pattern: '.env*' },Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.…ficate checks are turned off (rejectUnauthorized: false)' }, { re: /\bprocess\.env(?:\.NODE_TLS_REJECT_UNAUTHORIZED|\[\s*['"]NODE_TLS_REJECT_UNAUTHORIZED['"]\s*\]…Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.return JSON.parse(out.replace(/,(\s*[}\]])/g, '$1').replace(/^/, ''));Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.const r = await scanFiles({ '.env': line, '.env.example': line }, { rules: ['hardcoded-secret'] });Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.settings.hooks.Stop.push({ hooks: [{ type: 'command', command: 'npx --yes aftertaste@1 --agent-hook', timeout: 120 }] });Fix: Pin versions and sources; vendor anything fetched at install time.out.push('When you are done, run `npx aftertaste` again and confirm the findings are gone.');Fix: Pin versions and sources; vendor anything fetched at install time.test('hardcoded-secret: .env holds secrets legitimately, .env.example must not', async () => {Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.const HOOK_LINE = 'npx --yes aftertaste@1 --staged || exit 1';Fix: Pin versions and sources; vendor anything fetched at install time./\bBun\.env\.([A-Z_][A-Z0-9_]*)\b/g,Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.'.env.example': 'DATABASE_URL=\n',Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.const lines = ['$ npx aftertaste examples/vibe-app -q', ...text.replace(/\n+$/, '').split('\n')];Fix: Pin versions and sources; vendor anything fetched at install time.Generated by `npm run docs` from src/rules. Do not edit by hand.Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.// chmod is a no-op on WindowsFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.'subprocess.run(f"ls {path}", shell=True)',Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.{ commit: ['.env', 'src/a.js', '.gitignore'] },Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.out.push(c.dim('Give the fix list to your agent: npx aftertaste -f prompt | pbcopy (Windows: | clip)'));Fix: Pin versions and sources; vendor anything fetched at install time.assert.deepEqual(r.findings.map((f) => f.file), ['.env.example']);Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.test('gitignore-gap: committed and unignored .env files, and --fix', { skip: !hasGit }, async () => {Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.if (result.findings.length > shown.length) out.push(`\n…and ${result.findings.length - shown.length} more. Run \`npx aftertaste\` locally for the full list.`);Fix: Pin versions and sources; vendor anything fetched at install time.`const c = "AKIAIOSFODNN7EXAMPLE";`,Fix: Never read or enumerate credential locations; accept a documented environment variable instead.{ '.env': 'A=1\n', '.env.local': 'B=2\n', '.env.example': 'A=\n', 'src/a.js': 'x\n', '.gitignore': '' },Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.test('undocumented-env: missing from .env.example', async () => {Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.{ re: /\bos\.system\s*\(\s*f['"]/g, message: 'os.system() with an f-string is a command-injection hole; use subprocess.run([...])', withStrings: true },Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.node -e 'const r=require(process.argv[1]); console.log(`score=${r.score}\ngrade=${r.grade}`)' "$RUNNER_TEMP/aftertaste.json" >> "$GITHUB_OUTPUT"Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.Cost to the agent
Tokens estimated at four characters each. The tool list is re-read by the agent on every turn, so it is the number to compare between servers that do the same job: ranked across the index.
Known vulnerabilities
Vulnerability advisories (OSV) cover npm and PyPI packages; this registry has no advisory database.
What would make this Verified
51 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%- Contacts a host you did not declare≈ +23 on the totalList every host you talk to in SKILL.md frontmatter (`network: [api.example.com]`), or stop contacting the ones you cannot justify.
- OS command execution function call detected≈ +9 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
- Unclaimed publisher≈ +8 on the totalClaim wiseecarrot: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
- Touches files outside the project≈ +7 on the totalKeep reads and writes inside the working directory, or declare the exact paths in `filesystem:` and explain why in the README.
- Hidden instructions≈ +6 on the totalRemove HTML comments, zero-width characters and white-on-white text that carry instructions. Everything the agent is meant to read should be visible to the person reading the file.
- 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.