tokenusage-cli@0.4.4
Self-hosted AI coding token usage collector for the Token Usage dashboard.
AI Security Review
scanned 19h ago · by lpm-firewall-aiThe manifest has no install-time hook that runs package code, and the reviewed credential flow uses Anthropic’s own usage endpoint. Scheduled sync and integration setup are tied to the user-run init workflow, consistent with the package’s stated purpose.
Decision evidence
public snapshot- The manifest describes a self-hosted AI coding token usage collector; its only lifecycle script is prepublishOnly, which runs tests.
- The CLI dispatches a command only after parsing user-supplied arguments; init asks for confirmation in interactive mode.
- Claude usage lookup sends the Claude OAuth token as a bearer token to api.anthropic.com, Anthropic’s own usage endpoint.
- The hourly sync schedule is registered during init and runs the package’s scheduled sync command.
- The package can register persistent scheduled tasks and write AI-tool configuration, but these capabilities are part of the user-run setup flow.
- The code reads provider credentials to retrieve usage information; the inspected Claude token flow sends its token to Anthropic’s own service.
Source & flagged code
6 flaggedPackage source references dynamic require/import behavior.
bin/tokenusage.jsView on unpkg · L5Package source references weak cryptographic algorithms.
src/lib/claude-categorizer.jsView on unpkg · L335Findings
Affected versions and remediation
This report applies to tokenusage-cli@0.4.4.
See all versions of tokenusage-cli for other recorded verdicts.
- Review the evidence and your use of tokenusage-cli@0.4.4 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.