@twing/cli@1.3.3
AI Security Review
scanned 11d ago · by lpm-firewall-aiThe lifecycle hook is gated to global installation or an explicit machine-setup flag, but it can automatically configure machine-wide agent hooks. This warrants a warning for agent extension lifecycle risk; the inspected source does not establish a publish-blocking attack.
Decision evidence
public snapshot- The postinstall hook proceeds for global installs or when an explicit machine-setup flag is present; other installs exit early.
- Machine setup wires Claude, OpenCode, and Codex integrations, then runs during the install setup path.
- The global wiring adds hooks to Claude settings and installs OpenCode and Codex integrations.
- The package describes its Codex integration as machine-wide and writes to Codex configuration.
- The resolver supports machine-wide wiring, while init is presented as an onboarding step and repository hook generation is admin-driven.
- The lifecycle gate excludes ordinary local and dependency installs; the setup is limited to global installs or an explicit machine-setup flag.
- The inspected source does not establish credential theft, destructive behavior, or an unrelated remote payload.
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.3.
See all versions of @twing/cli for other recorded verdicts.
- Review the evidence and your use of @twing/cli@1.3.3 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.