{"score":100,"grade":"A","scannedAt":"2026-12-05T23:08:46.865Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"design-constraint-validator","version":"2.3.0","license":"MIT","repository":"https://github.com/CseperkePapp/design-constraint-validator","firstPublished":"2025-11-01T06:31:42.799Z","lastPublished":"2026-06-14T08:24:19.887Z","versions":7,"maintainers":1,"files":212,"bytes":633174,"hosts":["www.decisionthemes.com"]},"capabilities":{"network":false,"files":true,"shell":true,"env":true,"dynamicCode":false},"findings":[{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"cli/build-css.js","line":22,"snippet":"writeFileSync(outFile, css);"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"cli/commands/build.js","line":56,"snippet":"writeFileSync(join(dir, 'tokens.css'), css, 'utf8');"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"cli/commands/build.js","line":57,"snippet":"writeFileSync(join(dir, 'tokens.json'), json, 'utf8');"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"core/image-export.js","line":4,"snippet":"import { spawnSync } from \"node:child_process\";"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"core/image-export.js","line":6,"snippet":"const paths = (process.env.PATH || \"\").split(path.delimiter);"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"core/image-export.js","line":35,"snippet":"const res = spawnSync(mmdc, args, { stdio: \"inherit\" });"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"core/image-export.js","line":44,"snippet":"const res = spawnSync(dot, [argFmt, inputPath, \"-o\", outPath], { stdio: \"inherit\" });"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"cli/commands/set.js","line":75,"snippet":"const debugSet = process.env.DCV_DEBUG_SET === '1' || process.argv.includes('--debug-set');"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"cli/commands/set.js","line":197,"snippet":"…      const debug = process.argv.includes('--debug-set') || process.env.DCV_DEBUG_SET === '1';"}],"vulns":[],"installScripts":[],"server":{"name":"io.github.CseperkePapp/design-constraint-validator","title":"Design Constraint Validator","description":"Validate design tokens for accessibility, scales, and design-system constraint consistency.","repository":"https://github.com/CseperkePapp/design-constraint-validator","version":"2.3.0"}}