{"score":100,"grade":"A","scannedAt":"2026-12-05T23:02:08.006Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"ctxfile","version":"0.6.0","license":"Apache-2.0","repository":"https://github.com/ctxfile/ctxfile","firstPublished":"2026-07-13T04:43:47.954Z","lastPublished":"2026-09-26T02:10:48.978Z","versions":9,"maintainers":1,"files":32,"bytes":2442627,"hosts":["api.notion.com","ctxfile.dev","ping.ctxfile.dev"]},"capabilities":{"network":true,"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/index.cjs","line":147,"snippet":"/^id_rsa(\\..*)?$/i,"},{"rule":"secrets-paths","severity":"low","title":"Mentions credential files (SSH keys, cloud credentials, browser data or crypto wallets)","file":"dist/index.cjs","line":155,"snippet":"/^\\.npmrc$/i,"},{"rule":"secrets-paths","severity":"low","title":"Mentions credential files (SSH keys, cloud credentials, browser data or crypto wallets)","file":"dist/index.cjs","line":3211,"snippet":"changed local state. Content was redacted before it was first stored,"},{"rule":"long-line","severity":"low","title":"Contains a very long single line (bundled or packed code that is hard to review)","file":"ui-dist/assets/index-ChhYUesk.js","line":1},{"rule":"long-line","severity":"low","title":"Contains a very long single line (bundled or packed code that is hard to review)","file":"ui-dist/assets/index-ChhYUesk.js","line":8},{"rule":"long-line","severity":"low","title":"Contains a very long single line (bundled or packed code that is hard to review)","file":"ui-dist/assets/index-ChhYUesk.js","line":9},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/index.cjs","line":495,"snippet":"const env = opts.env ?? process.env;"},{"rule":"network","severity":"info","title":"Makes network requests","file":"dist/index.cjs","line":940,"snippet":"…fetchImpl = options.fetchImpl ?? ((url, init) => globalThis.fetch(url, init));"},{"rule":"network","severity":"info","title":"Makes network requests","file":"dist/index.cjs","line":1002,"snippet":"…fetchImpl = options.fetchImpl ?? ((url, init) => globalThis.fetch(url, init));"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"dist/cli.js","line":4,"snippet":"import { spawn } from \"child_process\";"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/cli.js","line":374,"snippet":"const env = opts.env ?? process.env;"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"dist/cli.js","line":465,"snippet":"import { execFileSync } from \"child_process\";"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"dist/cli.js","line":482,"snippet":"out = execFileSync(\"git\", [\"-C\", root, \"rev-parse\", \"--git-path\", \"hooks\"], {"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/cli.js","line":495,"snippet":"writeFileSync(hookPath, `#!/bin/sh"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/cli.js","line":505,"snippet":"writeFileSync(hookPath, updated, \"utf8\");"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/cli.js","line":509,"snippet":"writeFileSync(hookPath, `${existing.trimEnd()}"},{"rule":"network","severity":"info","title":"Makes network requests","file":"dist/cli.js","line":2551,"snippet":"…fetchImpl = options.fetchImpl ?? ((url, init) => globalThis.fetch(url, init));"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/cli.js","line":5312,"snippet":"const value2 = process.env[spec.tokenEnv]?.trim();"}],"vulns":[],"installScripts":[],"server":{"name":"dev.ctxfile/ctxfile","description":"Local-first MCP server that snapshots your project's working state into one context object.","websiteUrl":"https://ctxfile.dev","repository":"https://github.com/ctxfile/ctxfile","version":"0.6.0"}}