{"score":90,"grade":"A","scannedAt":"2026-12-05T23:01:36.300Z","scanner":"grades-0.2","signals":{"ecosystem":"pypi","name":"tokeven","version":"0.18.0","license":"LicenseRef-Tokeven-Proprietary","firstPublished":"2026-07-27T09:45:16.260932Z","lastPublished":"2026-10-30T03:10:44.513088Z","versions":26,"files":112,"bytes":1593891,"hosts":["api.anthropic.com","api.openai.com","api.tokeven.com","api.x.ai","generativelanguage.googleapis.com","tokeven.com"]},"capabilities":{"network":true,"files":true,"shell":true,"env":true,"dynamicCode":false},"findings":[{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"src/tokeven/__init__.py","line":193,"snippet":"if os.environ.get(\"TOKEVEN_AUTO_INSTRUMENT\"):"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"src/tokeven/_instrument.py","line":132,"snippet":"value = (os.environ.get(\"TOKEVEN_QUIET\") or \"\").strip().lower()"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"src/tokeven/_instrument.py","line":410,"snippet":"value = (os.environ.get(\"TOKEVEN_AUTO_INSTRUMENT\") or \"\").strip().lower()"},{"rule":"network","severity":"info","title":"Makes network requests","file":"src/tokeven/backfill.py","line":139,"snippet":"client: httpx.Client,"},{"rule":"network","severity":"info","title":"Makes network requests","file":"src/tokeven/backfill.py","line":167,"snippet":"client: httpx.Client,"},{"rule":"network","severity":"info","title":"Makes network requests","file":"src/tokeven/backfill.py","line":182,"snippet":"except httpx.HTTPError as exc:"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"src/tokeven/emitter.py","line":379,"snippet":"os.remove(os.path.join(legacy_dir, name))"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"src/tokeven/emitter.py","line":397,"snippet":"with open(new_path, \"a\", encoding=\"utf-8\") as dst:"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"src/tokeven/emitter.py","line":399,"snippet":"os.remove(legacy)"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"src/tokeven/guardrails.py","line":329,"snippet":"out = subprocess.run("},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"src/tokeven/status.py","line":180,"snippet":"out = subprocess.run("},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"src/tokeven/statusline.py","line":168,"snippet":"subprocess.Popen("}],"vulns":[],"installScripts":[],"server":{"name":"com.tokeven/tokeven","title":"Tokeven Cost Advisor","description":"Price a Claude, GPT, Gemini or Grok call before you send it. Runs locally.","websiteUrl":"https://tokeven.com","version":"0.18.0"}}