{"score":90,"grade":"A","scannedAt":"2026-12-05T23:05:20.499Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"promptprinter","version":"0.2.2","license":"MIT","repository":"https://github.com/BajKasum/PromptPrinter","firstPublished":"2026-11-29T14:17:07.725Z","lastPublished":"2026-11-29T19:40:59.198Z","versions":3,"maintainers":1,"files":27,"bytes":207703,"hosts":["docs.claude.com","no-color.org","promptprinter.app"]},"capabilities":{"network":false,"files":true,"shell":true,"env":true,"dynamicCode":false},"findings":[{"rule":"bidi","severity":"medium","title":"Hidden text-direction characters outside a string, which can make code look different from what runs (Trojan Source)","file":"src/text.mjs","line":7,"snippet":"const UNSAFE = /[\\u0000-\\u0008\\u000b-\\u001f\\u007f-\\u009f‎‏<U+202A>-<U+202E><U+2066>-<U+2069>]/g;"},{"rule":"secrets-paths","severity":"low","title":"Mentions credential files (SSH keys, cloud credentials, browser data or crypto wallets)","file":"src/context.mjs","line":137,"snippet":"… if (base === \".dev.vars\" || base === \".envrc\" || base === \".git-credentials\" || base === \"kubeconfig\" || base === \"wp-config.php\") return true;"},{"rule":"secrets-paths","severity":"low","title":"Mentions credential files (SSH keys, cloud credentials, browser data or crypto wallets)","file":"src/context.mjs","line":139,"snippet":"if (base.startsWith(\"id_rsa\") || base.startsWith(\"id_ed25519\")) return true;"},{"rule":"secrets-paths","severity":"low","title":"Mentions credential files (SSH keys, cloud credentials, browser data or crypto wallets)","file":"src/context.mjs","line":140,"snippet":"if (base === \".npmrc\" || base === \".pypirc\" || base === \".netrc\") return true;"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"src/agents.mjs","line":1,"snippet":"import { spawn as nodeSpawn } from \"node:child_process\";"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"src/agents.mjs","line":30,"snippet":"export async function findOnPath(command, { env = process.env, platform = process.platform } = {}) {"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"src/agents.mjs","line":98,"snippet":"… = nodeSpawn, stdio = \"inherit\", cwd = process.cwd(), env = process.env } = {}) {"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"src/cli.mjs","line":20,"snippet":"{ env = process.env, input = process.stdin, output = process.stdout, errors = process.stderr } = {}"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"src/context.mjs","line":21,"snippet":"import { execFile, execFileSync } from \"node:child_process\";"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"src/context.mjs","line":266,"snippet":"const out = execFileSync(command, gitArgs(args), gitOptions(cwd, timeoutMs));"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"src/context.mjs","line":1227,"snippet":"if (created) writeFileSync(join(home, \".gitignore\"), \"*\\n\", { flag: \"wx\" });"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"src/context.mjs","line":1243,"snippet":"writeFileSync(join(target, name), `${header}${order}\\n`, { flag: \"wx\" });"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"src/session.mjs","line":65,"snippet":"await handle.writeFile(JSON.stringify(record));"}],"vulns":[],"installScripts":[],"server":{"name":"io.github.BajKasum/promptprinter","title":"PromptPrinter","description":"Turn a rough idea into a finished prompt for any AI and read your saved prompts. Needs an account.","websiteUrl":"https://promptprinter.app/mcp","repository":"https://github.com/BajKasum/PromptPrinter","version":"0.2.2"}}