{"score":100,"grade":"A","scannedAt":"2026-12-05T22:56:42.444Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"@smartmemory/stratum","version":"0.7.3","license":"BUSL-1.1","repository":"https://github.com/smartmemory/stratum","firstPublished":"2026-07-19T10:47:31.793Z","lastPublished":"2026-09-29T04:14:39.268Z","versions":24,"maintainers":1,"files":191,"bytes":2252292,"hosts":[]},"capabilities":{"network":false,"files":true,"shell":true,"env":true,"dynamicCode":false},"findings":[{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/distill/apply.js","line":323,"snippet":"const isEnabled = (options) => options.enabled === true || process.env.STRATUM_DISTILL_APPLY_ENABLED === \"1\";"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/learn/apply.js","line":22,"snippet":"return process.env.STRATUM_LEARN_APPLY_ENABLED === \"1\";"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"dist/connectors/background.js","line":3,"snippet":"import { spawn } from \"node:child_process\";"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/connectors/background.js","line":49,"snippet":"const value = (options.env ?? process.env).STRATUM_CODEX_BG_STRATEGY ?? \"exec\";"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/connectors/background.js","line":106,"snippet":"writeFile(streamPath, \"\", { encoding: \"utf8\", mode: 0o600 }),"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/connectors/background.js","line":107,"snippet":"writeFile(stderrPath, \"\", { encoding: \"utf8\", mode: 0o600 }),"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/connectors/background.js","line":108,"snippet":"writeFile(inputPath, withSandboxPreamble(options.prompt, sandboxMode), { encoding: \"utf8\", mode: 0o600 }),"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"dist/connectors/claude.js","line":1,"snippet":"import { spawn } from \"node:child_process\";"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"dist/connectors/codex-appserver-driver.js","line":2,"snippet":"import { spawn } from \"node:child_process\";"}],"vulns":[],"installScripts":[],"server":{"name":"ai.smartmemory/stratum-mcp","title":"Stratum MCP","description":"Structured execution for coding agents: contracts, postconditions, gates, guardrails.","repository":"https://github.com/smartmemory/stratum","version":"0.7.3"}}