@agentgates/cli
Wallet operations for AI agents and humans
This report shows the evidence for @agentgates/cli@0.74.0. 21 of 25 known versions are blocked or flagged. See all versions.
AI Security Review
scanned 26d ago · by lpm-firewall-aiThe postinstall hook unconsentingly rewrites foreign global AI-agent instruction files for Claude Code, Cursor, and Windsurf. That is a concrete control-surface hijack, not a user-invoked first-party plugin setup.
Decision evidence
public snapshot- npm postinstall runs scripts/postinstall.mjs and ignores failures with exit 0.
- If ~/.claude exists, install writes or replaces a marked block in ~/.claude/CLAUDE.md with no consent prompt.
- If ~/.cursor exists, install creates ~/.cursor/rules and writes agentgates.md.
- If ~/.windsurfrules exists, install appends or replaces the same instruction block.
- The injected text tells the coding agent to prefer the agentgates CLI for wallet and password operations.
- Writes are skipped when the matching agent home directory or Windsurf rules file is absent.
- The published dependency list does not include a runtime self-dependency on this package name.
- The bin entry only loads dist/cli.mjs when the user runs the agentgates command.
Source & flagged code
12 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 @agentgates/cli@0.74.0.
The versions list below shows the verdict for each recorded version.
- Avoid installing @agentgates/cli@0.74.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.