tokenusage-cli@0.4.1
Self-hosted AI coding token usage collector for the Token Usage dashboard.
AI Security Review
scanned 4d ago · by lpm-firewall-aiThe reported agent configuration writes and scheduled task setup support this usage collector’s documented CLI function and are reached through init. The reviewed Claude credential path sends its token to Anthropic’s usage endpoint; no malicious behavior was established.
Decision evidence
public snapshot- The package is a CLI for collecting AI coding token usage; its entry points are src/cli.js and bin/tokenusage.js.
- Claude usage requests send the Claude OAuth token to Anthropic’s usage endpoint.
- OpenClaw integration setup and hourly sync scheduling are part of the explicit init command.
- The only declared lifecycle hook is prepublishOnly, which runs tests.
- The flagged agent configuration writes and scheduled persistence are tied to init, rather than running automatically on install or import.
- The reviewed Claude credential flow targets api.anthropic.com, its own provider endpoint.
Source & flagged code
7 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.1.
See all versions of tokenusage-cli for other recorded verdicts.
- Review the evidence and your use of tokenusage-cli@0.4.1 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.