{"score":100,"grade":"A","scannedAt":"2026-12-05T23:09:06.171Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"@next-ai-drawio/mcp-server","version":"0.4.15","license":"Apache-2.0","repository":"https://github.com/DayuanJiang/next-ai-draw-io","firstPublished":"2025-12-17T02:06:02.884Z","lastPublished":"2026-11-14T00:21:11.703Z","versions":39,"maintainers":1,"files":2435,"bytes":43802517,"hosts":["embed.diagrams.net","fonts.googleapis.com","useiconic.com","www.drawio.com"]},"capabilities":{"network":true,"files":true,"shell":true,"env":true,"dynamicCode":false},"findings":[{"rule":"long-line","severity":"low","title":"Contains a very long single line (bundled or packed code that is hard to review)","file":"dist/drawio/js/plantuml/drawio-plantuml.min.js","line":281},{"rule":"long-line","severity":"low","title":"Contains a very long single line (bundled or packed code that is hard to review)","file":"dist/drawio/js/plantuml/drawio-plantuml.min.js","line":373},{"rule":"long-line","severity":"low","title":"Contains a very long single line (bundled or packed code that is hard to review)","file":"dist/shell/shell.js","line":1},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/custom-instructions.js","line":20,"snippet":"const dir = process.env.DRAWIO_DATA_DIR;"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/http-server.js","line":56,"snippet":"export const DRAWIO_BASE_URL = process.env.DRAWIO_BASE_URL || \"https://embed.diagrams.net\";"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/http-server.js","line":57,"snippet":"const EXTERNAL_DRAWIO = !!process.env.DRAWIO_BASE_URL;"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"dist/index.js","line":21,"snippet":"import { spawn } from \"node:child_process\";"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/index.js","line":1230,"snippet":"await writeFile(absolutePath, outXml, \"utf-8\");"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/index.js","line":1324,"snippet":"await writeFile(absolutePath, png);"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/index.js","line":1335,"snippet":"await writeFile(absolutePath, svgContent, \"utf-8\");"},{"rule":"network","severity":"info","title":"Makes network requests","file":"dist/preview/preview.js","line":9,"snippet":"tokenRefresh = fetch(location.href, { cache: 'no-store' })"},{"rule":"network","severity":"info","title":"Makes network requests","file":"dist/preview/preview.js","line":18,"snippet":"const send = () => fetch(url, { ...init, headers: { ...(init.headers || {}), 'X-Drawio-Token': API_TOKEN } });"},{"rule":"network","severity":"info","title":"Makes network requests","file":"dist/shell/shell.js","line":81,"snippet":"…s:n,onNotice:o,onStatus:r}=e,l=e.fetch??((...D)=>globalThis.fetch(...D)),s=e.token,u=0,i=!1,d=null,c=null,f=null,m=!1,x=[],b=[],v=0,p=0,h=null,g=!1,y=null,S=!1,"}],"vulns":[],"installScripts":[],"server":{"name":"io.github.DayuanJiang/next-ai-drawio","title":"Next AI Draw.io","description":"draw.io diagrams your AI agent draws on a live browser canvas that you can also edit by hand","websiteUrl":"https://github.com/DayuanJiang/next-ai-draw-io/tree/main/packages/mcp-server#readme","repository":"https://github.com/DayuanJiang/next-ai-draw-io","version":"0.4.15"}}