claude-token-saver@3.10.0
renamed to sprag-cli - same tool, same releases. Switch with: npm uninstall -g claude-token-saver && npm i -g sprag-cli
Route the easy work your expensive Claude model keeps repeating down to haiku/sonnet — post-hoc session analysis, no realtime router, no extra LLM calls.
AI Security Review
scanned 11d ago · by lpm-firewall-aiSource confirms that npm postinstall automatically runs an installer that writes a package-controlled Claude Code skill and registers session and prompt hooks. This unconsented install-time mutation of an agent control surface meets the blocking policy.
Decision evidence
public snapshot- package.json runs the CLI install command automatically during postinstall.
- That command invokes installAll without a user interaction or consent check.
- installAll writes a package-controlled Claude Code skill and registers statusline and session hooks in the user's Claude configuration.
- The hooks run package commands at session start and on prompt submission, creating an automatic foreign AI-agent control surface.
- The integration targets Claude Code and uses commands belonging to this package.
- The installer preserves other hooks and leaves an existing different statusline command alone unless forced.
Source & flagged code
6 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgInstall-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkgFindings
Affected versions and remediation
This report applies to claude-token-saver@3.10.0.
See all versions of claude-token-saver for other recorded verdicts.
- Avoid installing claude-token-saver@3.10.0. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.