@zaip-ai/cli@3.8.0
CLI oficial para instalar e configurar o ZAIP-AIOS em qualquer repositório
AI Security Review
scanned 1mo ago · by lpm-firewall-aizaip init rewrites the user's Codex config.toml to install a first-party pre-tool hook unless --project-only is passed. That is an explicit command mutating a global agent control file, so it is a warning, and npm install has no lifecycle hook that performs the write.
Decision evidence
public snapshot- zaip init enables installGlobalCodexConfig unless --project-only is set or a caller injects templateDirectory.
- reconcileGlobalCodexConfig defaults to CODEX_HOME or the user .codex directory and rewrites config.toml.
- The rewrite installs the ZAIP PreToolUse hook and drops catalog-listed legacy Codex agent tables.
- After copying the project template, installAgentsTemplate calls reconcileGlobalCodexConfig with the project agent catalog.
- package.json has a zaip bin and build/prepack scripts only; there is no preinstall, install, or postinstall hook.
- --project-only skips reading or writing ~/.codex.
- Git, Node, and Terraform downloads are user-command stack setup with official host or SHA-256 checks under the project .local directory.
- The design Windows launcher source starts a local node script and is not an install-time trigger.
Source & flagged code
9 flaggedSource gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
dist/services/stack-git.jsView on unpkg · L1Package hides binary, compressed, or executable-looking payloads in test/fixture/hidden paths.
templates/.agents/design/zaip-design.exeView on unpkgFindings
Affected versions and remediation
This report applies to @zaip-ai/cli@3.8.0.
See all versions of @zaip-ai/cli for other recorded verdicts.
- Review the evidence and your use of @zaip-ai/cli@3.8.0 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.