{"score":80,"grade":"B","scannedAt":"2026-12-05T22:58:34.588Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"@deskcalc/verify","version":"1.0.0","license":"MIT","firstPublished":"2026-11-06T19:29:30.742Z","lastPublished":"2026-11-06T19:32:09.372Z","versions":3,"maintainers":1,"files":4,"bytes":835871,"hosts":["mathiasbynens.be","spec.openapis.org","www.deskcalc.com","www.safaribooksonline.com"]},"capabilities":{"network":false,"files":true,"shell":true,"env":true,"dynamicCode":true},"findings":[{"rule":"dynamic-code","severity":"medium","title":"Builds and runs code at runtime","file":"dist/server.js","line":2942,"snippet":"const makeValidate = new Function(`${names_1.default.self}`, `${names_1.default.scope}`, sourceCode);"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"dist/server.js","line":21569,"snippet":"import { execFileSync, spawn } from \"node:child_process\";"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"dist/server.js","line":21575,"snippet":"const out = execFileSync(\"reg\", [\"query\", key, \"/v\", name], { encoding: \"utf8\", windowsHide: true, stdio: [\"ignore\", \"pipe\", \"ignore\"] });"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/server.js","line":21591,"snippet":"const raw = process.env.DESKCALC_PATH?.trim();"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/server.js","line":21594,"snippet":"const local = process.env.LOCALAPPDATA;"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/server.js","line":21612,"snippet":"const dir = process.env.DESKCALC_VERIFY_DIR ?? (existsSync(join(homedir(), \"Documents\")) ? join(homedir(), \"Documents\", \"DeskCalc Verify\") : join(homedir(), \""},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/server.js","line":22479,"snippet":"for (const s of [\".xml\", \".ack.xml\", \".result.xml\"]) rmSync(r.base + s, { force: true });"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/server.js","line":22836,"snippet":"writeFileSync(base + \".xml.tmp\", job.bytes);"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/server.js","line":22837,"snippet":"renameSync(base + \".xml.tmp\", base + \".xml\");"}],"vulns":[],"installScripts":[],"server":{"name":"com.deskcalc/verify","title":"DeskCalc Verify","description":"A human checks and confirms in DeskCalc the figures an AI read from invoices, receipts, statements.","websiteUrl":"https://www.deskcalc.com/deskcalc-verify.html","version":"1.0.0"}}