{"score":90,"grade":"A","scannedAt":"2026-12-05T23:05:08.240Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"stateark","version":"0.5.3","license":"Elastic-2.0","firstPublished":"2026-08-14T14:46:19.111Z","lastPublished":"2026-08-25T08:12:29.098Z","versions":5,"maintainers":1,"files":22,"bytes":180531,"hosts":["evil.example"]},"capabilities":{"network":false,"files":true,"shell":true,"env":true,"dynamicCode":false},"findings":[{"rule":"secrets-paths","severity":"low","title":"Mentions credential files (SSH keys, cloud credentials, browser data or crypto wallets)","file":"dist/mcp.js","line":421,"snippet":"description: \"List local StateArk projects, most recently updated first, with enough context to \" +"},{"rule":"secrets-paths","severity":"low","title":"Mentions credential files (SSH keys, cloud credentials, browser data or crypto wallets)","file":"dist/server.js","line":70,"snippet":"<p><small>This page writes into your local StateArk folder only.</small></p>"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/fsx.js","line":37,"snippet":"export const FS_RETRIES = Math.max(0, Number(process.env.STATEARK_FS_RETRIES ?? 6));"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/fsx.js","line":72,"snippet":"…Retry = (from, to) => withFsRetry(`Publishing ${to}`, () => rename(from, to));"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/fsx.js","line":73,"snippet":"…FsRetry(`Writing ${file}`, () => typeof data === \"string\" ? writeFile(file, data, encoding ?? \"utf8\") : writeFile(file, data));"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/fsx.js","line":74,"snippet":"…= (file, data) => withFsRetry(`Appending to ${file}`, () => appendFile(file, data, \"utf8\"));"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/local-store.js","line":11,"snippet":"export const JOURNAL_NUDGE_AT = Number(process.env.STATEARK_JOURNAL_NUDGE_AT ?? 20);"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/local-store.js","line":15,"snippet":"export const MAX_ARTIFACT_BYTES = Number(process.env.STATEARK_MAX_ARTIFACT_BYTES ?? 64 * 1024 * 1024);"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"dist/syncignore.js","line":14,"snippet":"import { execFile } from \"node:child_process\";"}],"vulns":[],"installScripts":[],"server":{"name":"io.github.Askrion/stateark","description":"Local-first version control for AI work. Savepoint and resume your project state across chats.","repository":"https://github.com/Askrion/stateark","version":"0.5.3"}}