{"score":100,"grade":"A","scannedAt":"2026-12-05T23:08:50.536Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"agent-runtime-guard","version":"1.0.0","license":"Elastic-2.0","repository":"https://github.com/DSHCorrectover/agent-runtime-guard","firstPublished":"2026-10-05T05:55:02.690Z","lastPublished":"2026-10-05T05:55:03.022Z","versions":3,"maintainers":1,"files":14,"bytes":113956,"hosts":["skillpay.alipay.com"]},"capabilities":{"network":false,"files":true,"shell":true,"env":true,"dynamicCode":false},"findings":[{"rule":"secrets-paths","severity":"low","title":"Mentions credential files (SSH keys, cloud credentials, browser data or crypto wallets)","file":"dsh/cmdi.js","line":52,"snippet":"{ pattern: /cat\\s+(?:~\\/)?\\.ssh\\/id_rsa/, weight: 7, label: 'SSH private key read' },"},{"rule":"secrets-paths","severity":"low","title":"Mentions credential files (SSH keys, cloud credentials, browser data or crypto wallets)","file":"dsh/credentials.js","line":39,"snippet":"/id_rsa\\b/,"},{"rule":"secrets-paths","severity":"low","title":"Mentions credential files (SSH keys, cloud credentials, browser data or crypto wallets)","file":"dsh/index.js","line":317,"snippet":"if (/\\.ssh\\/id_rsa|\\.aws\\/credentials|\\.credentials\\.ya?ml|\\.netrc|\\.pgpass/.test(allSource)) {"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dsh/index.js","line":75,"snippet":"return process.env.DSH_HOME ?? join(homedir(), '.dsh');"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"dsh/index.js","line":302,"snippet":"if (/child_process|\\bspawn\\s*\\(|\\bexec(Sync)?\\s*\\(/.test(allSource)) {"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"src/receipts.js","line":53,"snippet":"if (process.env.CCS_KEY_DIR) return process.env.CCS_KEY_DIR;"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"src/receipts.js","line":59,"snippet":"if (process.env.CCS_PRIVATE_KEY && process.env.CCS_PUBLIC_KEY) {"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"src/receipts.js","line":95,"snippet":"fs.writeFileSync(privPath, privateKey, { mode: 0o600 });"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"src/receipts.js","line":96,"snippet":"fs.writeFileSync(pubPath, publicKey, { mode: 0o644 });"}],"vulns":[],"installScripts":[],"server":{"name":"io.github.DSHCorrectover/agent-runtime-guard","description":"Agent 运行时全栈拦截: allow/deny tool calls, Ed25519 receipts, blocks RCE, theft, SSRF, injection. stdio.","repository":"https://github.com/DSHCorrectover/agent-runtime-guard","version":"1.0.0"}}