Sprag - a quality ratchet harness for AI coding agents: model-fitting delegation, ratchet rules, doc2md, Korean style gate. Same tool as claude-token-saver, under its new name.
LPM flags this version as an AI-agent control-surface risk. Npm postinstall adds agent instructions to the global Claude control surface without obtaining consent. The instructions apply across projects and import package-managed rules.
Package defines install-time lifecycle scripts.
package.jsonView on unpkgInstall-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkgSource file is highly similar to a previously finalized malicious package; route for source-aware review.
src/doc2md.cjsView on unpkgPackage source references dynamic require/import behavior.
src/doc2md.cjsView on unpkg · L24Package source references weak cryptographic algorithms.
src/seed-rules.jsView on unpkg · L54Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
src/commands/feedback.jsView on unpkg · L56Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
src/commands/feedback.jsView on unpkg · L21Source creates an unconsented AI-agent control surface through install-time mutation or a default unauthenticated remote skill channel.
bin/cli.jsView on unpkg · L10Package ships non-JavaScript build or shell helper files.
examples/statusline-command.ps1View on unpkgA bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
src/advice.js#virtual:normalized:round1View on unpkgSource file is highly similar to a previously finalized malicious package; route for source-aware review.
src/korean-style.jsView on unpkgSource file is highly similar to a previously finalized malicious package; route for source-aware review.
src/update-check.jsView on unpkgSource file is highly similar to a previously finalized malicious package; route for source-aware review.
src/gateway-auth.jsView on unpkgSource file is highly similar to a previously finalized malicious package; route for source-aware review.
src/litellm-budget.jsView on unpkgSource file is highly similar to a previously finalized malicious package; route for source-aware review.
src/model-alias.jsView on unpkgThis report applies to sprag-cli@3.50.1.
See version security history for other recorded verdicts.
Evidence last updated: .
A manifest entrypoint or package-local install chain reaches command-output exfiltration behavior.
src/commands/feedback.jsView on unpkg · L56Source file is highly similar to a previously finalized malicious package; route for source-aware review.
src/commands/feedback.jsView on unpkgPackage defines install-time lifecycle scripts.
package.jsonView on unpkg · L13Install-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkg · L13Source creates an unconsented AI-agent control surface through install-time mutation or a default unauthenticated remote skill channel.
bin/cli.jsView on unpkg · L10Package ships non-JavaScript build or shell helper files.
examples/statusline-command.ps1View on unpkgA bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
src/advice.js#virtual:normalized:round1View on unpkgSource file is highly similar to a previously finalized malicious package; route for source-aware review.
src/korean-style.jsView on unpkgSource file is highly similar to a previously finalized malicious package; route for source-aware review.
src/update-check.jsView on unpkgSource file is highly similar to a previously finalized malicious package; route for source-aware review.
src/gateway-auth.jsView on unpkgSource file is highly similar to a previously finalized malicious package; route for source-aware review.
src/litellm-budget.jsView on unpkgSource file is highly similar to a previously finalized malicious package; route for source-aware review.
src/model-alias.jsView on unpkgPackage source references dynamic require/import behavior.
src/doc2md.cjsView on unpkg · L24Source file is highly similar to a previously finalized malicious package; route for source-aware review.
src/doc2md.cjsView on unpkgPackage source references weak cryptographic algorithms.
src/seed-rules.jsView on unpkg · L54Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
src/commands/feedback.jsView on unpkg · L21Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
src/commands/feedback.jsView on unpkg · L56A manifest entrypoint or package-local install chain reaches command-output exfiltration behavior.
src/commands/feedback.jsView on unpkg · L56Source file is highly similar to a previously finalized malicious package; route for source-aware review.
src/commands/feedback.jsView on unpkg