{"score":100,"grade":"A","scannedAt":"2026-12-05T23:03:58.618Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"svetra","version":"0.8.10","license":"MIT","repository":"https://github.com/svetra-lab/Svetra","firstPublished":"2026-11-05T15:53:21.139Z","lastPublished":"2026-12-05T06:58:16.364Z","versions":19,"maintainers":1,"files":3,"bytes":5598,"hosts":["svetra-lab.github.io"]},"capabilities":{"network":true,"files":true,"shell":true,"env":true,"dynamicCode":false},"findings":[{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"bin/svetra.js","line":7,"snippet":"const { execFileSync, spawnSync } = require(\"node:child_process\");"},{"rule":"network","severity":"info","title":"Makes network requests","file":"bin/svetra.js","line":30,"snippet":"res = await fetch(url);"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"bin/svetra.js","line":43,"snippet":"process.env.SVETRA_BASE_URL ||"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"bin/svetra.js","line":61,"snippet":"fs.writeFileSync(path.join(tmp, file), archive);"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"bin/svetra.js","line":63,"snippet":"execFileSync(\"tar\", [\"-xf\", file], { cwd: tmp });"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"bin/svetra.js","line":69,"snippet":"fs.renameSync(partial, exe);"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"bin/svetra.js","line":71,"snippet":"fs.rmSync(tmp, { recursive: true, force: true });"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"bin/svetra.js","line":80,"snippet":"const cache = process.env.SVETRA_CACHE_DIR || path.join(os.homedir(), \".cache\", \"svetra\");"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"bin/svetra.js","line":83,"snippet":"const run = spawnSync(exe, process.argv.slice(2), { stdio: \"inherit\" });"}],"vulns":[],"installScripts":[],"server":{"name":"io.github.555aaditya/svetra","title":"Svetra","description":"Design an app's data and access rules, validate them, and explain who can see what.","repository":"https://github.com/svetra-lab/Svetra","version":"0.8.10"}}