{"score":100,"grade":"A","scannedAt":"2026-12-05T23:10:42.429Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"@witness-ai/opencode","version":"0.15.1","license":"MIT","repository":"https://github.com/IngTian/witness","firstPublished":"2026-07-07T13:53:39.452Z","lastPublished":"2026-11-23T22:49:03.053Z","versions":35,"maintainers":2,"files":21,"bytes":53343,"hosts":[]},"capabilities":{"network":false,"files":false,"shell":true,"env":true,"dynamicCode":false},"findings":[{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"bin/platform.js","line":45,"snippet":"if (process.env.WITNESS_HOME) return process.env.WITNESS_HOME"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"bin/platform.js","line":46,"snippet":"const base = process.env.XDG_DATA_HOME || path.join(os.homedir(), \".local\", \"share\")"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"bin/platform.js","line":59,"snippet":"return process.env.WITNESS_ASSETS || path.join(dataRoot(), \"assets\", \"e5-small\")"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"bin/witness.js","line":2,"snippet":"import { spawnSync } from \"node:child_process\""},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"bin/witness.js","line":47,"snippet":"const result = spawnSync(bin, process.argv.slice(2), {"}],"vulns":[],"installScripts":[],"server":{"name":"io.github.IngTian/witness","title":"witness","description":"Distills your sessions or any text corpus into a dated history of how its subject changed.","websiteUrl":"https://github.com/IngTian/witness#readme","repository":"https://github.com/IngTian/witness","version":"0.15.1"}}