{"score":100,"grade":"A","scannedAt":"2026-12-05T22:58:28.519Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"@cross-deck/ai","version":"0.4.0","license":"MIT","repository":"https://github.com/CrossDeckHQ/crossdeck-prism","firstPublished":"2026-06-27T11:04:26.577Z","lastPublished":"2026-07-04T13:09:03.478Z","versions":7,"maintainers":1,"files":12,"bytes":72106,"hosts":["api.cross-deck.com","cross-deck.com"]},"capabilities":{"network":true,"files":false,"shell":true,"env":true,"dynamicCode":false},"findings":[{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/server.js","line":29,"snippet":"const SECRET_KEY = process.env.CROSSDECK_SECRET_KEY ?? \"\";"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/server.js","line":30,"snippet":"const API_BASE = process.env.CROSSDECK_API_BASE ?? \"https://api.cross-deck.com\";"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"dist/server.test.js","line":10,"snippet":"import { spawn } from \"node:child_process\";"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/server.test.js","line":17,"snippet":"…const child = spawn(process.execPath, [SERVER], { env: { ...process.env, CROSSDECK_SECRET_KEY: \"cd_sk_test\", ...env }, stdio: [\"pipe\", \"pipe\", \"ignore\"] });"},{"rule":"network","severity":"info","title":"Makes network requests","file":"dist/tools.js","line":41,"snippet":"const res = await fetch(url, { headers: { Authorization: `Bearer ${token}`, Accept: \"application/json\" } });"},{"rule":"network","severity":"info","title":"Makes network requests","file":"dist/ui.js","line":37,"snippet":"const res = await fetch(`${ctx.apiBase}${p}${qs.toString() ? `?${qs}` : \"\"}`, {"}],"vulns":[],"installScripts":[],"server":{"name":"com.cross-deck/prism","title":"Prism — Crossdeck","description":"Ask your app anything — revenue, errors, read-cost, growth — and get rendered charts back.","websiteUrl":"https://cross-deck.com","repository":"https://github.com/CrossDeckHQ/crossdeck-prism","version":"0.4.0"}}