{"score":100,"grade":"A","scannedAt":"2026-12-05T22:56:51.738Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"@ttpt-ai/ttpt","version":"0.1.3","license":"MIT","repository":"https://github.com/ttpt-ai/library","firstPublished":"2026-12-01T20:54:11.786Z","lastPublished":"2026-12-04T10:49:18.369Z","versions":5,"maintainers":1,"files":19,"bytes":91740,"hosts":["cdn.jsdelivr.net","library.ttpt.ai"]},"capabilities":{"network":false,"files":true,"shell":false,"env":true,"dynamicCode":false},"findings":[{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"src/adopt.mjs","line":48,"snippet":"await appendFile(logPath(home), JSON.stringify(event) + '\\n', { encoding: 'utf8', flag: 'a' });"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"src/build.mjs","line":94,"snippet":"for (const { hex, text } of built.values()) await writeFile(join(outDir, `${hex}.md`), text, 'utf8');"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"src/cite.mjs","line":73,"snippet":"export function citationLogPath(env = process.env, cwd = process.cwd()) {"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"src/cite.mjs","line":79,"snippet":"await appendFile(path, JSON.stringify({ at: now.toISOString(), ...citation }) + '\\n', { encoding: 'utf8', flag: 'a' });"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"src/locate.mjs","line":59,"snippet":"export async function locations({ home, hint, env = process.env, resolveTxt } = {}) {"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"src/locate.mjs","line":96,"snippet":"export async function get(idOrHex, { store, hint, env = process.env, resolveTxt, fetchImpl } = {}) {"}],"vulns":[],"installScripts":[],"server":{"name":"ai.ttpt/ttpt","title":"ttpt","description":"Fetch, quote, trace and cite text documents addressed by the SHA-256 of their content.","websiteUrl":"https://library.ttpt.ai/","repository":"https://github.com/ttpt-ai/library","version":"0.1.3"}}