{"score":100,"grade":"A","scannedAt":"2026-12-05T23:10:26.653Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"pinright","version":"1.0.0","license":"MIT","repository":"https://github.com/Hiper-AI/pinright","firstPublished":"2026-11-01T22:41:11.347Z","lastPublished":"2026-11-03T17:21:06.132Z","versions":1,"maintainers":1,"files":93,"bytes":1147671,"hosts":["ampcode.com","api.deps.dev","api.osv.dev","cdn.jsdelivr.net","code.claude.com","code.visualstudio.com","crates.io","cursor.com","data.jsdelivr.com","docs.cline.bot","docs.continue.dev","docs.deps.dev","docs.devin.ai","docs.langchain.com","docs.oasis-open.org","docs.rs","geminicli.com","getcomposer.org","google.github.io","hiperai.com","junie.jetbrains.com","kiro.dev","learn.chatgpt.com","opencode.ai","osv.dev","packagist.org","pinright.dev","pypistats.org","repo.packagist.org","roocodeinc.github.io","rubygems.org","www.jetbrains.com","zed.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/hook/command.js","line":196,"snippet":"const npmrc = ctx.readFile(path.join(dir, '.npmrc')) ?? '';"},{"rule":"secrets-paths","severity":"low","title":"Mentions credential files (SSH keys, cloud credentials, browser data or crypto wallets)","file":"dist/untrusted/detect.js","line":19,"snippet":"const SECRET_FILE = String.raw `(?:\\.env\\b|id_rsa|id_ed25519|id_ecdsa|\\.aws\\/credentials|\\.npmrc|\\.pypirc|\\.netrc|\\.git-credentials|\\.docker\\/config\\.json|\\.kub"},{"rule":"secrets-paths","severity":"low","title":"Mentions credential files (SSH keys, cloud credentials, browser data or crypto wallets)","file":"dist/hook/writes.js","line":18,"snippet":"const SOURCES = /(^|[\\\\/])(\\.npmrc|\\.yarnrc(\\.yml)?|bunfig\\.toml|pip\\.conf|pip\\.ini|uv\\.toml|\\.condarc|\\.gemrc|nuget\\.config|\\.cargo[\\\\/]config(\\.toml)?|\\.pnpmf"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/auditRun.js","line":41,"snippet":"return { policy: resolvePolicy(undefined, process.env, team.file), error: team.error };"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/auditRun.js","line":42,"snippet":"const policy = resolvePolicy(team.config, process.env, team.file);"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/auditRun.js","line":45,"snippet":"if (policy.actionsPin && !process.env.PINRIGHT_ACTIONS_PIN)"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/cache.js","line":80,"snippet":"fs.rmSync(file, { force: true }); // expired or implausible: nobody will read it again"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/cache.js","line":98,"snippet":"fs.writeFileSync(tmp, JSON.stringify(entry), { flag: 'wx', mode: 0o600 });"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/cache.js","line":99,"snippet":"fs.renameSync(tmp, file);"},{"rule":"network","severity":"info","title":"Makes network requests","file":"dist/untrusted/detect.js","line":148,"snippet":"…\\b|json\\.stringify\\(\\s*process\\.env\\s*\\)[^\\n]{0,80}(?:fetch|axios|http|request|send)|(?:fetch|axios(?:\\.post)?|requests\\.post|http\\.request)\\([^\\n]{0,120}(?:pro"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"dist/doctor.js","line":7,"snippet":"import { spawn } from 'node:child_process';"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"dist/github.js","line":16,"snippet":"import { execFile, spawnSync } from 'node:child_process';"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"dist/github.js","line":64,"snippet":"const r = spawnSync('gh', ['auth', 'status', '--hostname', 'github.com'], { stdio: 'ignore', timeout: 5000, windowsHide: true });"},{"rule":"network","severity":"info","title":"Makes network requests","file":"dist/http.js","line":183,"snippet":"const res = await fetch(url, init).catch((err) => {"},{"rule":"network","severity":"info","title":"Makes network requests","file":"dist/http.js","line":241,"snippet":"const res = await fetch(url, {"}],"vulns":[],"installScripts":[],"server":{"name":"io.github.Hiper-AI/pinright","title":"pinright","description":"Version-accurate library docs for coding agents, with a supply-chain check of each dependency.","websiteUrl":"https://pinright.dev","repository":"https://github.com/Hiper-AI/pinright","version":"1.0.0"}}