{"score":100,"grade":"A","scannedAt":"2026-12-05T22:57:31.240Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"@leafwright/mcp","version":"0.2.4","license":"MIT","repository":"https://github.com/Tactic-Systems/leafwright","firstPublished":"2026-07-07T14:44:32.421Z","lastPublished":"2026-09-08T03:47:31.439Z","versions":5,"maintainers":1,"files":5,"bytes":60981,"hosts":["leafwright.co"]},"capabilities":{"network":true,"files":true,"shell":true,"env":true,"dynamicCode":false},"findings":[{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"server.mjs","line":3,"snippet":"import { execFileSync } from \"node:child_process\";"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"server.mjs","line":43,"snippet":"writeFileSync(path, JSON.stringify(value, null, 2), { mode: 0o600 });"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"server.mjs","line":52,"snippet":"return execFileSync(\"security\", ["},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"server.mjs","line":71,"snippet":"execFileSync(\"security\", ["},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"server.mjs","line":119,"snippet":"process.env.LEAFWRIGHT_MCP_DISABLE_LOCAL_AUTH === \"true\""},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"server.mjs","line":142,"snippet":"process.env.LEAFWRIGHT_MCP_DISABLE_LOCAL_AUTH === \"true\""},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"server.mjs","line":150,"snippet":"unlinkSync(CONFIG_PATH);"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"server.mjs","line":159,"snippet":"overrides.disableLocalStorage || process.env.LEAFWRIGHT_MCP_DISABLE_LOCAL_AUTH === \"true\";"},{"rule":"network","severity":"info","title":"Makes network requests","file":"server.mjs","line":211,"snippet":"const response = await fetch(`${baseUrl}${path}`, {"},{"rule":"network","severity":"info","title":"Makes network requests","file":"server.mjs","line":236,"snippet":"const response = await fetch(`${baseUrl}${path}`, {"}],"vulns":[],"installScripts":[],"server":{"name":"co.leafwright/leafwright","description":"Render HTML, URLs, and templates to PDF. AI drafts templates and fixes them from logs.","websiteUrl":"https://leafwright.co","repository":"https://github.com/Tactic-Systems/leafwright","version":"0.2.4"}}