tokenusage-cli@0.2.5
Self-hosted AI coding token usage collector for the Token Usage dashboard.
AI Security Review
scanned 6d ago · by lpm-firewall-aiThe package has no install-time hook, and the flagged scheduled-task and agent-integration setup is reached through the CLI's `init` workflow. The inspected credential flow uses Google's OAuth endpoint for Gemini usage collection, while optional Sentry reporting requires an explicitly configured DSN.
Decision evidence
public snapshot- The manifest defines only a `prepublishOnly` script, which runs tests; it has no install lifecycle hook.
- Environment integration setup is reached through the CLI's `init` command, which offers a proceed prompt in interactive use.
- The Windows hourly sync task is registered during `init` and can be skipped with `--no-task`.
- Sentry reporting is disabled unless a DSN is set and is also subject to the telemetry opt-out.
- Gemini refresh tokens are sent to Google's OAuth token endpoint as part of Gemini usage-limit collection.
- The package reads credentials and configures scheduled collection, integrations, and an OpenClaw session plugin; these behaviors warrant review, but the inspected paths tie them to the token-usage collector's explicit setup and supported provider integrations.
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.2.5.
See all versions of tokenusage-cli for other recorded verdicts.
- Review the evidence and your use of tokenusage-cli@0.2.5 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.