AI Security Review
scanned 2h ago · by lpm-firewall-aiLPM blocks this version under the AI-agent control-surface policy. Global npm install mutates multiple AI-agent skill surfaces by installing an external CawCut skill repo. This is an unconsented postinstall change to broad agent control surfaces.
Decision evidence
public snapshot- package.json runs postinstall: node dist/postinstall.js.
- dist/postinstall.js runs on global install and calls installCawcutSkills without user command consent.
- dist/lib/skills-install.js spawns npx --yes skills add Ubiquiti-UID/flow-cawcut-skill -g -y --skill *.
- dist/lib/skills-agents.js targets cursor, claude-code, and codex agent skill directories.
- dist/lib/bootstrap-skills.js can also auto-install missing skills during normal CLI invocation.
- postinstall skips local installs, CI=true, or CAWCUT_SKIP_SETUP=1.
- OAuth/API endpoints in config/products.json are package-aligned cawcut.com services.
- Credential storage is local .cawcut credentials.json with 0600 mode; no source evidence of credential exfiltration.
- Uninstall path removes named CawCut skills and local credentials.
Source & flagged code
8 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 child process execution.
dist/lib/uninstall-cawcut.jsView on unpkg · L1Package source invokes a package manager install command at runtime.
dist/lib/skills-install.jsView on unpkg · L33Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/lib/skills-install.jsView on unpkgSource file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/commands/upgrade.jsView on unpkgSource file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/lib/oauth.jsView on unpkgThis package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
dist/lib/is-global-install.jsView on unpkg