{"score":80,"grade":"B","scannedAt":"2026-12-05T23:02:24.572Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"mcpcomp","version":"0.6.1","license":"Apache-2.0","firstPublished":"2026-08-12T18:19:13.658Z","lastPublished":"2026-08-20T22:47:41.734Z","versions":14,"maintainers":1,"files":5,"bytes":981010,"hosts":["fetch.spec.whatwg.org","mcpcomp.dev","mimesniff.spec.whatwg.org","openid.net","standardschema.dev"]},"capabilities":{"network":false,"files":true,"shell":false,"env":true,"dynamicCode":true},"findings":[{"rule":"dynamic-code","severity":"medium","title":"Builds and runs code at runtime","file":"dist/scan.mjs","line":236,"snippet":"new Function(\"\");"},{"rule":"dynamic-code","severity":"medium","title":"Builds and runs code at runtime","file":"dist/scan.mjs","line":15130,"snippet":"const validate = new Function(`${names_1.default.self}`, `${names_1.default.scope}`, sourceCode)(this, this.scope.get());"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/scan.mjs","line":24756,"snippet":"await writeFile(options.junit, formatJUnit(report));"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/scan.mjs","line":24801,"snippet":"const clientId = process.env[\"MCPCOMP_CLIENT_ID\"]?.trim();"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/scan.mjs","line":24802,"snippet":"const clientSecret = process.env[\"MCPCOMP_CLIENT_SECRET\"]?.trim();"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/scan.mjs","line":24824,"snippet":"const tenantId = options.tenant ?? process.env[\"MCPCOMP_ENTRA_TENANT\"];"}],"vulns":[],"installScripts":[],"server":{"name":"dev.mcpcomp/diagnostics","title":"MCPComp Diagnostics","description":"Grade an MCP server's auth against the spec and diagnose which layer a failure is in.","websiteUrl":"https://www.mcpcomp.dev","version":"0.6.1"}}