Caveat verdict
zai-usage
Monitors Z.AI token quota by calling the Z.AI API with a user-supplied JWT stored in a local secrets file; behavior is transparent and limited to the stated usage-monitoring purpose.
โ Flagged for review โ coarse, uncorroborated signal, not a confirmed exploit. Review the config yourself before installing.
Automated static analysis โ not a human review. Caveat flags capabilities, not confirmed intent, and can produce false positives. Disagree with this verdict? Use Dispute below.
Findings (2)
Possible hardcoded credential
README.md ยท code ยท TOKEN="eyJhbGci...
References sudo โ requests elevated privileges
scripts/usage-summary.sh ยท prose ยท downgraded ยท sudo
Why the tier is capped
Execution sink present in raw bytes (Hard Floor: class B/C). Final tier capped at Caution โ cannot be lifted by any downgrade, example-payload opt-in, or allowlist.
Permissions & capabilities
No declared permissions โ minimal attack surface.
Is this flag fair?
Thanks โ recorded.