@twing/cli@1.3.6
AI Security Review
scanned 11d ago · by lpm-firewall-aiThe automatic postinstall proceeds for global npm installs and mutates multiple user-level AI-agent control surfaces. This is unconsented broad agent configuration mutation during an install lifecycle, which meets the blocking policy.
Decision evidence
public snapshot- The package postinstall automatically runs a setup script.
- The setup script proceeds on global npm installs and calls machine setup.
- Machine setup wires Claude, OpenCode, and Codex integrations and marks the machine as managed.
- The wiring functions write user-level agent configuration and install hook or plugin files.
- The postinstall exits for installs that are not global and do not include the machine-setup flag.
- The package also exposes explicit onboarding commands for wiring agent integrations.
Source & flagged code
7 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/opencode-adapter.jsView on unpkg · L12Findings
Affected versions and remediation
This report applies to @twing/cli@1.3.6.
See all versions of @twing/cli for other recorded verdicts.
- Avoid installing @twing/cli@1.3.6. 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.