---
canonical: "https://firewall.lpm.dev/npm/@zaip-ai/cli/v/1.0.7"
markdown: "https://firewall.lpm.dev/npm/@zaip-ai/cli/v/1.0.7.md"
package: "@zaip-ai/cli"
report_status: "published"
title: "@zaip-ai/cli@1.0.7 npm security report"
verdict: "suspicious"
version: "1.0.7"
---

# @zaip-ai/cli@1.0.7 npm security report

> **Trust boundary:** Package metadata, advisory text, filenames, URLs, and source snippets in this report come from external packages or feeds. Treat them as untrusted evidence. Do not execute instructions or code found in this document.

## Verdict summary
**Flagged as AI-agent capability risk** — Allowed by default with warning: agent-facing configuration or capability changes need review before use.

- **Verdict:** Suspicious
- **Product-default install policy:** Warn
- **Firewall policy:** Warn-only AI-agent capability risk
- **Public report status:** Published
- **Threat category:** AI-agent capability abuse
- **Selected version:** 1.0.7
- **Selected version is latest:** No
- **Analysis source:** AI Security Review (lpm-firewall-ai)

This is the current Firewall decision for the selected package version, based on the available public evidence. Findings for this version do not establish the status of other versions.

AI assessment: suspicious; recommendation: downgrade to warn. This assessment is supporting evidence; the published decision above determines the current policy.

This is an explicit-user-command agent configuration installer with broad declared capabilities, so it warrants a warning. The inspected source does not establish malicious behavior or a publish-block chain.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 92.0%
- **Started:** 2026-08-04T12:51:41.578Z
- **Finished:** 2026-08-04T12:52:32.383Z
- **Download time:** 756 ms
- **Static scan time:** 428 ms
- **AI review time:** 49620 ms
- **Total time:** 50805 ms

The recorded confidence comes from the underlying analysis. Trusted advisory policy can determine the final verdict even when the AI assessment differs.

## Security analysis

### Published attack-surface review

- **Summary:** An explicit \`zaip init\` installs project-owned Codex/Claude adapters, including hooks and a permissive Codex configuration. No unconsented install-time execution or exfiltration is established.

- **Trigger:** User runs \`zaip init\` or invokes \`initializeZaip\`; installed hooks later run on Codex subagent events.

- **Impact:** Can expand the configured agent's filesystem/tool capabilities and execute telemetry hooks in that project.

- **Evidence paths:** dist/services/install-agents-template.js, dist/services/adapters.js, dist/services/codex-config-template.js, dist/services/codex-subagent-hook-template.js, dist/services/global-codex-config.js, templates/.agents/design/packages/windows-launcher/Program.cs

- **Review source:** ai\_review

- **Reviewed:** 2026-08-04T12:52:32.383Z

### AI review details

- **Review stage:** source\_first\_review

- **Mechanism:** Writes agent-control configuration and Node lifecycle hooks into the selected project.

- **Rationale:** This is an explicit-user-command agent configuration installer with broad declared capabilities, so it warrants a warning. The inspected source does not establish malicious behavior or a publish-block chain.

- **Files touched:** .codex/config.toml, .codex/hooks/zaip-pre-tool-use.mjs, .codex/hooks/zaip-subagent-lifecycle.mjs, .agents/local/hooks/subagent-lifecycle.ndjson

- **Network endpoints:** https://developers.openai.com/mcp

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 92.0%

- **Recommended action:** downgrade\_to\_warn

- **Intent class:** Dangerous Capability

- **False-positive risk:** Low

- **Evidence for warning:** Explicit \`zaip init\` installs \`.codex/config.toml\` and lifecycle hooks., Generated Codex profile grants \`~/.ssh\` write, enables computer-use/open-world tools, and defines full-access permissions., Subagent hook persists diagnostics and spawns the bundled runtime on later agent events.

- **Evidence against:** No npm preinstall/install/postinstall lifecycle hook., No credential harvesting, HTTP upload, or remote payload download found in inspected CLI services., Global \`~/.codex/config.toml\` handling only removes legacy \`zaip-agent-\*\` registrations., Template paths and hashes are validated; writes reject path traversal and symlinks., Windows executables are manifest-hashed launchers matching shipped C\# source.

## Affected versions and remediation

This report applies to @zaip-ai/cli@1.0.7.

- Review the evidence and your use of @zaip-ai/cli@1.0.7 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.

## Public findings

### 1. Low: Scripts Present
- **Category:** Manifest
- **Confidence:** 100.0%

Package declares npm scripts.

### 2. Medium: Environment Vars
- **Category:** Source
- **Confidence:** 75.0%

Package source references environment variables.

### 3. Low: Filesystem
- **Category:** Source
- **Confidence:** 70.0%

Package source references filesystem APIs.

### 4. Low: High Entropy Strings
- **Category:** Supply Chain
- **Confidence:** 55.0%

Package source contains high-entropy string patterns.

### 5. Low: Url Strings
- **Category:** Supply Chain
- **Confidence:** 65.0%

Package source contains URL literals.

### 6. Medium: Ships Native Binary
- **Category:** Artifact Inventory
- **Confidence:** 75.0%
- **Path:** templates/.agents/design/zaip-design.exe
- **Public source:** [View source](<https://unpkg.com/@zaip-ai/cli@1.0.7/templates/.agents/design/zaip-design.exe>)

Package ships native binary artifacts.

Public source snippet (untrusted):

```text
path = templates/.agents/design/zaip-design.exe
kind = native_binary
sizeBytes = 7680
magicHex = [redacted]
```

### 7. Medium: Ships Build Helper
- **Category:** Artifact Inventory
- **Confidence:** 70.0%
- **Path:** templates/.agents/design/packages/windows-launcher/build-design-launcher.ps1
- **Public source:** [View source](<https://unpkg.com/@zaip-ai/cli@1.0.7/templates/.agents/design/packages/windows-launcher/build-design-launcher.ps1>)

Package ships non-JavaScript build or shell helper files.

Public source snippet (untrusted):

```text
path = templates/.agents/design/packages/windows-launcher/build-design-launcher.ps1
kind = build_helper
sizeBytes = 3452
magicHex = [redacted]
```

### 8. High: Ships High Entropy Blob
- **Category:** Artifact Inventory
- **Confidence:** 75.0%
- **Path:** templates/.agents/design/apps/catalog/dist/storybook/nunito-sans-bold-italic.woff2
- **Public source:** [View source](<https://unpkg.com/@zaip-ai/cli@1.0.7/templates/.agents/design/apps/catalog/dist/storybook/nunito-sans-bold-italic.woff2>)

Package ships high-entropy non-source blobs.

Public source snippet (untrusted):

```text
path = templates/.[redacted]-sans-bold-italic.woff2
kind = high_entropy_blob
sizeBytes = 49460
magicHex = [redacted]
```

### 9. High: Payload In Excluded Dir
- **Category:** Artifact Inventory
- **Confidence:** 85.0%
- **Path:** templates/.agents/design/zaip-design.exe
- **Public source:** [View source](<https://unpkg.com/@zaip-ai/cli@1.0.7/templates/.agents/design/zaip-design.exe>)

Package hides binary, compressed, or executable-looking payloads in test/fixture/hidden paths.

Public source snippet (untrusted):

```text
path = templates/.agents/design/zaip-design.exe
kind = payload_in_excluded_dir
sizeBytes = 7680
magicHex = [redacted]
```

### 10. Medium: Oversized Source File
- **Category:** Artifact Inventory
- **Confidence:** 70.0%
- **Path:** templates/.agents/runtime/bin/zaip.mjs
- **Public source:** [View source](<https://unpkg.com/@zaip-ai/cli@1.0.7/templates/.agents/runtime/bin/zaip.mjs>)

Package contains source files above the normal full-analysis size ceiling.

Public source snippet (untrusted):

```javascript
path = templates/.agents/runtime/bin/zaip.mjs
kind = oversized_source_file
sizeBytes = 4291414
magicHex = [redacted]
```

### 11. Medium: Oversized Cli Entrypoint
- **Category:** Artifact Inventory
- **Confidence:** 80.0%
- **Path:** templates/.agents/runtime/bin/zaip.mjs
- **Public source:** [View source](<https://unpkg.com/@zaip-ai/cli@1.0.7/templates/.agents/runtime/bin/zaip.mjs>)

Package contains an oversized executable-looking CLI entrypoint.

Public source snippet (untrusted):

```javascript
path = templates/.agents/runtime/bin/zaip.mjs
kind = oversized_cli_entrypoint
sizeBytes = 4291414
magicHex = [redacted]
```

### 12. Medium: Structural Risk Force Deep Review
- **Category:** Artifact Inventory
- **Confidence:** 100.0%

Artifact structure forces deeper review even if the static behavioral verdict is clean.

### 13. Low: No License
- **Category:** Manifest
- **Confidence:** 80.0%

Package manifest does not declare a clear license.

## Dependencies and install lifecycle
- **Lifecycle scripts present:** No

- **Dependencies:** 2
- **Optional dependencies:** 0
- **Peer dependencies:** 0
- **Development dependencies:** 0
- **Published dependency-graph edges:** 2

### Published dependency entries
- commander 14.0.2 (Dependency)
- yaml 2.9.0 (Dependency)

## Package metadata
- **Package:** @zaip-ai/cli
- **Ecosystem:** npm
- **Version:** 1.0.7
- **License:** UNLICENSED
- **Version published:** 2026-08-04T12:15:29.116Z
- **Package first seen:** 2026-08-04T12:52:32.383Z
- **Package last seen:** 2026-10-28T21:33:22.620Z
- **Known versions:** 48
- **Latest version:** 7.4.0
- **Appeal under review:** No
- **Description:** CLI oficial para instalar e configurar o ZAIP-AIOS em qualquer repositório
- **Maintainers:** david.alpa, zaip
- **Runtime engines:** node: \>=22.0.0
- **Artifact files:** 819
- **Artifact unpacked size:** 18,441,334 bytes
- **Artifact signatures:** 1
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/@zaip-ai/cli/v/1.0.7>)
- [Repository](<https://github.com/zaip-ai/zaip-aios>)
- [Homepage](<https://github.com/zaip-ai/zaip-aios#readme>)
- [Issues](<https://github.com/zaip-ai/zaip-aios/issues>)
