AI Security Review
scanned 4d ago · by lpm-firewall-aiLPM blocks this version under the AI-agent control-surface policy. Global or root installation triggers automatic setup that downloads and executes a remote rtk binary and initializes hooks. It also reports rtk telemetry using stored Happy identity data.
Decision evidence
public snapshot- package.json defines postinstall: node scripts/postinstall.cjs
- scripts/postinstall.cjs auto-runs bin/happy.mjs install on global or root installs unless HAPPY_SKIP_AUTO_TAKEOVER is set
- dist/index-Dh0_cXX6.mjs install downloads rtk binaries from minio.ask-ggk.com and executes rtk init
- dist/index-Dh0_cXX6.mjs reports rtk events/gain data with machineId and token to guguke.ask-ggk.com
- dist/index-Dh0_cXX6.mjs can append rtk bin dir to user PATH via ~/.zshrc on darwin
- dist/index-Dh0_cXX6.mjs registers remote/mobile-driven agent controls including bash/readFile/writeFile handlers scoped to workingDirectory
- Binaries for ripgrep/difftastic are unpacked from bundled archives and appear package-aligned developer tooling
- Primary CLI purpose is declared as mobile/web client for Claude Code and Codex
- Postinstall auto takeover is gated to global/root installs and has HAPPY_SKIP_AUTO_TAKEOVER opt-out
- Remote shell/file handlers validate paths against the session working directory
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 unpkgPackage source references dynamic require/import behavior.
dist/types-B4Tju8Da.cjsView on unpkg · L2Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
dist/index-Dh0_cXX6.mjsView on unpkg · L3Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
dist/index-Dh0_cXX6.mjsView on unpkg · L3Source writes installer persistence such as shell profile or service configuration.
dist/index-Dh0_cXX6.mjsView on unpkg · L3Package ships non-JavaScript build or shell helper files.
scripts/download-tools.shView on unpkgPackage ships high-entropy non-source blobs.
tools/archives/difftastic-arm64-linux.tar.gzView on unpkgPackage ships compressed or archive-like blobs.
tools/archives/difftastic-arm64-linux.tar.gzView on unpkgThis package version adds a dangerous source file absent from the previous stored version.
dist/index-AukNP3Zj.cjsView on unpkg