dev-diagnosis@0.3.0
CAUTION· startup onlyPublisher claims: "Serves five offline diagnostic tools over stdio that let an agent scan a repository for AI context noise, trace why a CLI command is missing, measure whether a build cache actually pays off, and rank flaky or always-failing tests from JUnit runs. Each tool returns the same JSON as the CLI, and an optional sandbox root keeps all path access confined to one repo." Observed in sandbox: no network, touches nothing outside the project, writes no memory.
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: Caution 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.
Behavior
In our sandbox run on 2026-11-23, [email protected] read no files and called no hosts, and its code names 9 environment variables. Coverage: startup only.
Files read
None recorded.
Hosts called
None recorded.
Environment variables its code names
ComSpec, DEV_DOCTOR_DAEMON_PATH, DEV_DOCTOR_LOGIN_PATH, DEV_DOCTOR_NON_LOGIN_PATH, DEV_DOCTOR_SHELL, GH_TOKEN, GITHUB_STEP_SUMMARY, PATHEXT, VITE_API_KEY
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
- the tool list (the server exited before answering)
- what the tools do when called with real credentials
| Run date | 2026-11-23 |
| Coverage | startup only |
| Engine | 1.9.2, script@linux |
| Reproduce | npx -y vet-skills try dev-diagnosis |
| 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
GH_TOKENVITE_API_KEYor--write-secrets-baselineConfiguration, not credentials: ComSpec, DEV_DOCTOR_DAEMON_PATH, DEV_DOCTOR_LOGIN_PATH, DEV_DOCTOR_NON_LOGIN_PATH, DEV_DOCTOR_SHELL, GITHUB_STEP_SUMMARY, PATHEXT- Where it talks to
- no vendor host named in the codeAlso nodejs.org, git-scm.com — not the publisher's domain; check what for before connecting.
- What we saw when it ran
- no credential files read · no network
- What we could not test
- the tool list (the server exited before answering) · what the tools do when called with real credentials
Connect it with a scoped credential, under the guard, and read the third-party hosts first. The code names nodejs.org, git-scm.com as well as its own vendor. The guard injects GH_TOKEN, VITE_API_KEY only into requests to the host you bind (and its subdomains) and refuses the rest.
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-23 and scored it 75/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; AWS access key pattern detected. Summary: no network, touches nothing outside the project, writes no memory.
Behavior trace
Honeypot run · 20 s · 2 scenarios · 0 deviationsStatic findings
assert.equal(tape.end.lines[0], 'npx dev-diagnosis-cli');Fix: Pin versions and sources; vendor anything fetched at install time./** `.env.example`, `config.sample`, `foo.template` — safe to share, never a secret. */Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.const SECRET_LIKE = /(^\.env(\..+)?$)|(\.env$)|(^credentials(\..+)?$)|(^secrets?(\..+)?$)|(\.pem$)|(\.key$)/i;Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// documented lines, npx prefix included, are pinned by the READMEFix: Pin versions and sources; vendor anything fetched at install time.assert.deepEqual(second.reviewSuggestions, ['.env*', 'secret.js']);Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.console.log(`demo tape OK: ${tape.scenes.length} scenes, ${frames.totalShown} lines verified against live output`);Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.- run: npx -y dev-diagnosis-cli@latest all "${{ inputs.path }}" ${{ inputs.args }}Fix: Pin versions and sources; vendor anything fetched at install time.// value. The suite runs the local bin in place of `npxFix: Pin versions and sources; vendor anything fetched at install time.'pre-commit': 'npx dev-diagnosis-cli context --changed --staged',Fix: Pin versions and sources; vendor anything fetched at install time.// exact ones the README documents — `npx dev-diagnosis-cli ...` — soFix: Pin versions and sources; vendor anything fetched at install time.const KNOWN_EXAMPLE_VALUES = new Set(['AKIAIOSFODNN7EXAMPLE']);Fix: Never read or enumerate credential locations; accept a documented environment variable instead.// npx resolves it locally instead of downloading it on every commit.Fix: Pin versions and sources; vendor anything fetched at install time.suggestion: basename.startsWith('.env') ? '.env*' : basename,Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.'commit-msg': 'npx dev-diagnosis-cli secrets "$1"',Fix: Pin versions and sources; vendor anything fetched at install time.subprocess.run(['ffmpeg', '-y', '-v', 'error', '-framerate', str(FPS),Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.: 'Install it globally: npm install -g dev-diagnosis-cli (or run one-off with npx dev-diagnosis-cli)',Fix: Pin versions and sources; vendor anything fetched at install time.If the command is not installed, use `npx dev-diagnosis-cli` instead. Run it in the repo directory; pass a path to diagnose another one (`dev-diagnosis all ./other-repo`).Fix: Pin versions and sources; vendor anything fetched at install time.assert.equal(classifyPath('.env').review.reason, 'environment-like file');Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.* the fix is different (npx resolves the local package — see theFix: Pin versions and sources; vendor anything fetched at install time.// npx resolves the local package, which has no node_modules/.binFix: Pin versions and sources; vendor anything fetched at install time.subprocess.run(['ffmpeg', '-y', '-v', 'error', '-framerate', str(FPS),Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.assert.equal(classifyPath('.env.example').review.reason, 'environment template (usually safe to share)');Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.'.env': 'KEY=value\n',Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.…v-diagnosis Before starting work in this repo, run \`dev-diagnosis all\` (or \`npx dev-diagnosis-cli all\` if it is not installed): it finds context noise an AI agent should not re…Fix: Pin versions and sources; vendor anything fetched at install time.const secret = commit(repo, 'rotate the key ghp_X7fK9mQ2vR8tY4wN6bJ3hD5sA1zC0xE8uV3p');Fix: Never read or enumerate credential locations; accept a documented environment variable instead.If the command is not installed, use \`npx dev-diagnosis-cli\` instead. Run it in the repo directory; pass a path to diagnose another one (\`dev-diagnosis all ./other-repo\`).Fix: Pin versions and sources; vendor anything fetched at install time.assert.match(content, /npx -y dev-diagnosis-cli@latest all "\$\{\{ inputs\.path \}\}" \$\{\{ inputs\.args \}\}/);Fix: Pin versions and sources; vendor anything fetched at install time.// credential there (`TOKEN=abc…` in `.env`, `export TOKEN=abc…` inFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.assert.deepEqual(first.reviewSuggestions, ['.env*', 'secret.js']);Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.assert.match(dry.stdout, /npx dev-diagnosis-cli context --changed --staged/);Fix: Pin versions and sources; vendor anything fetched at install time.assert.match(preCommit, /npx dev-diagnosis-cli context --changed --staged/);Fix: Pin versions and sources; vendor anything fetched at install time.assert.match(section, /npx dev-diagnosis-cli secrets "\$1"/);Fix: Pin versions and sources; vendor anything fetched at install time.// The installed hooks call `npx dev-diagnosis-cli`, which wouldFix: Pin versions and sources; vendor anything fetched at install time.assert.match(section, /npx dev-diagnosis-cli context --changed --staged/);Fix: Pin versions and sources; vendor anything fetched at install time.assert.deepEqual(scanFileForSecrets(path.join(root, '.env.example'), '.env.example'), []);Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.assert.ok(content.includes('npx dev-diagnosis-cli'), 'installed hook must keep the documented npx command');Fix: Pin versions and sources; vendor anything fetched at install time.assert.match(commitMsg, /npx dev-diagnosis-cli secrets "\$1"/);Fix: Pin versions and sources; vendor anything fetched at install time.const envFindings = scanTextForSecrets(`TOKEN=${identifier}`, '.env');Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// Windows has no POSIX mode bits — chmod is a no-op there and theFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.'.env.example': `AWS_KEY=${awsKey}\n`,Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.'.env': `AWS_KEY=${awsKey}\n`,Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.* Append the AGENTS.md section to the repo root. ReturnsFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.const secret = commit('rotate the key ghp_X7fK9mQ2vR8tY4wN6bJ3hD5sA1zC0xE8uV3p');Fix: Never read or enumerate credential locations; accept a documented environment variable instead.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
5 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%- Unclaimed publisher≈ +8 on the totalClaim wjddidi-1: 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.
- AWS access key pattern detected≈ +4 on the totalNever read or enumerate credential locations; accept a documented environment variable instead.
- npx invocation of non-well-known package≈ +2 on the totalPin versions and sources; vendor anything fetched at install time.
- File type combined with upload action≈ +2 on the totalRemove the call, or declare the host in frontmatter and explain in the README what is sent and why.
- Python subprocess execution detected≈ +2 on the totalBuild commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.