@doist/twist-cli@3.0.15
TypeScript CLI for Twist
AI Security Review
scanned 4d ago · by lpm-firewall-aiThe postinstall hook silently updates existing global agent skill files, creating a real lifecycle risk for users who customized them. The behavior is limited to this package's own Twist CLI skill, so the evidence supports a warning rather than a block.
Decision evidence
public snapshot- package.json registers a postinstall hook, and its script imports the compiled postinstall entrypoint.
- The postinstall entrypoint automatically updates installed skills using global paths and runs an auth migration.
- The updater checks which skills exist before updating them.
- Skill paths are under the home directory in agent-specific directories, ending in the package-defined skill name.
- Updating an existing skill writes the package-provided content without an explicit user command or force option.
- The installed skill is named twist-cli and is described as the Twist CLI integration.
- The automatic update is limited to existing, specifically named Twist CLI skills; inspected code did not show mutation of unrelated agent settings or a remote payload.
Source & flagged code
6 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.
scripts/check-skill-sync.jsView on unpkg · L17Findings
Affected versions and remediation
This report applies to @doist/twist-cli@3.0.15.
See all versions of @doist/twist-cli for other recorded verdicts.
- Review the evidence and your use of @doist/twist-cli@3.0.15 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.