{"score":100,"grade":"A","scannedAt":"2026-12-05T23:10:05.927Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"mcp-bastion","version":"1.5.1","license":"Apache-2.0","repository":"https://github.com/Gowthaman90/mcp-bastion","firstPublished":"2026-07-08T05:38:33.394Z","lastPublished":"2026-11-23T16:23:36.895Z","versions":23,"maintainers":1,"files":11,"bytes":1059605,"hosts":[]},"capabilities":{"network":true,"files":true,"shell":false,"env":true,"dynamicCode":false},"findings":[{"rule":"secrets-paths","severity":"low","title":"Mentions credential files (SSH keys, cloud credentials, browser data or crypto wallets)","file":"dist/chunk-3PHOA4E4.js","line":1423,"snippet":"pattern: /(\\.ssh\\b|id_rsa|\\.env\\b|\\bcredentials?\\b|\\bapi[_-]?keys?\\b|\\bpasswords?\\b|\\bsecret[_-]?keys?\\b)/i"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/chunk-3PHOA4E4.js","line":29,"snippet":"level: process.env.BASTION_LOG_LEVEL ?? \"info\","},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/chunk-3PHOA4E4.js","line":1926,"snippet":"for (const [key2, value] of Object.entries(process.env)) {"},{"rule":"network","severity":"info","title":"Makes network requests","file":"dist/chunk-3PHOA4E4.js","line":3465,"snippet":"const res = await fetch(this.opts.url, {"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/chunk-3PHOA4E4.js","line":3655,"snippet":"…unction resolveSinkHeaders(sink, headers, headersEnv, env = process.env) {"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/chunk-3PHOA4E4.js","line":3951,"snippet":"writeFileSync("},{"rule":"network","severity":"info","title":"Makes network requests","file":"dist/chunk-3PHOA4E4.js","line":4579,"snippet":"if (!ctx) return fetch(url, init);"},{"rule":"network","severity":"info","title":"Makes network requests","file":"dist/chunk-3PHOA4E4.js","line":4590,"snippet":"return fetch(url, { ...init, headers });"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/cli.js","line":90,"snippet":"writeFileSync(priv, kp.privateKeyPem, { mode: 384 });"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/cli.js","line":91,"snippet":"writeFileSync(pub, kp.publicKeyPem, { mode: 420 });"}],"vulns":[],"installScripts":[],"server":{"name":"io.github.Gowthaman90/mcp-bastion","description":"Reliability + security proxy for MCP: runtime tool-security and a compliance-mapped audit trail.","repository":"https://github.com/Gowthaman90/mcp-bastion","version":"1.5.1"}}