{"score":70,"grade":"C","scannedAt":"2026-12-05T23:03:31.657Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"@drawio/mcp","version":"1.13.2","license":"Apache-2.0","repository":"https://github.com/jgraph/drawio-mcp","firstPublished":"2026-02-03T14:52:52.542Z","lastPublished":"2026-12-04T13:44:50.969Z","versions":47,"maintainers":1,"files":30,"bytes":1246622,"hosts":["app.diagrams.net","cdn.jsdelivr.net","emscripten.org","icons.diagrams.net","viewer.diagrams.net"]},"capabilities":{"network":true,"files":true,"shell":true,"env":true,"dynamicCode":true},"findings":[{"rule":"install-script","severity":"medium","title":"Runs a script automatically when installed (postinstall)","file":"package.json","snippet":"node src/postinstall.js"},{"rule":"dynamic-code","severity":"medium","title":"Builds and runs code at runtime","file":"vendor/libavoid/libavoid-node.mjs","line":20,"snippet":"`),e=new Function(...s,i+`};"},{"rule":"long-line","severity":"low","title":"Contains a very long single line (bundled or packed code that is hard to review)","file":"vendor/libavoid/libavoid-node.mjs","line":16},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"src/cdn-cache.js","line":50,"snippet":"url: process.env.DRAWIO_ELK_URL ||"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"src/cdn-cache.js","line":61,"snippet":"url: process.env.DRAWIO_SHAPE_INDEX_URL ||"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"src/cdn-cache.js","line":77,"snippet":"if (process.env.XDG_CACHE_HOME)"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"src/cdn-cache.js","line":124,"snippet":"writeFileSync(tmp, JSON.stringify({ etag: etag, src: src }));"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"src/cdn-cache.js","line":128,"snippet":"renameSync(tmp, join(dir, source.file));"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"src/cdn-cache.js","line":133,"snippet":"try { rmSync(tmp); } catch (e2) {}"},{"rule":"network","severity":"info","title":"Makes network requests","file":"src/cdn-cache.js","line":188,"snippet":"var res = await fetch(source.url,"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"src/index.js","line":12,"snippet":"import { spawn } from \"child_process\";"}],"vulns":[],"installScripts":["postinstall"],"server":{"name":"io.draw/mcp","title":"draw.io","description":"Mermaid, PlantUML, CSV or XML in, editable draw.io diagrams out, live in chat. 10,000+ shapes.","websiteUrl":"https://www.drawio.com","repository":"https://github.com/jgraph/drawio-mcp","version":"1.12.0"}}