trimprompt
TrimPrompt — Save 80% on LLM tokens. Zero-config CLI proxy for AI coding agents
This report shows the evidence for trimprompt@1.0.36. 7 of 7 known versions are blocked or flagged. The newest version, 1.0.49, is blocked. See all versions.
AI Security Review
scanned 3mo ago · by lpm-firewall-aiSource inspection confirms an unconsented postinstall mutation of broad shell command control surfaces intended to activate around AI agents. This meets the install-control-surface block boundary.
Decision evidence
public snapshot- package.json runs `node cli.js shims install` in postinstall.
- cli.js dispatches `shims install` to installShims().
- shims.js prepends ~/.trimprompt/shims to shell profiles/PATH automatically.
- shims.js installs wrappers for common commands that invoke `trim` when AI-agent env vars are set.
- sync.js POSTs telemetry to trimp-production.up.railway.app and derives developer identity from git email or OS username.
- file-watcher.js installs a Claude hook and watches/modifies agent session files when invoked.
- No remote payload download or eval-based execution was confirmed.
- Telemetry payload shown in sync.js is aggregate usage metadata, not raw cached content.
Source & flagged code
5 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 unpkgSource contains an obfuscator-style string-array loader that reconstructs and executes hidden code.
simulate.jsView on unpkg · L1Findings
Affected versions and remediation
This report applies to trimprompt@1.0.36.
The versions list below shows the verdict for each recorded version.
- Avoid installing trimprompt@1.0.36. 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.