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

# @apso/cli@0.39.2 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 — allowed with a warning** — Allowed by default policy, but 14 finding(s) warrant review before installing.

- **Verdict:** Suspicious
- **Product-default install policy:** Warn
- **Firewall policy:** Telemetry warning (can be blocked)
- **Public report status:** Published
- **Threat category:** Telemetry
- **Selected version:** 0.39.2
- **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.

The package’s first-run notice discloses usage analytics and provides opt-outs, but does not disclose its automatic Sentry exception reporting or the failure details included in PostHog events. This undisclosed runtime telemetry warrants a warning.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 84.0%
- **Started:** 2026-10-31T12:54:01.834Z
- **Finished:** 2026-10-31T12:54:40.507Z
- **Download time:** 1777 ms
- **Static scan time:** 770 ms
- **AI review time:** 36124 ms
- **Total time:** 38673 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:** Automatic runtime telemetry includes error reporting whose scope is not described in the first-run notice.

- **Trigger:** The CLI init hook runs before commands; command failures invoke the error-reporting path.

- **Impact:** Error details may be transmitted without the notice explaining that error reporting occurs.

- **Evidence paths:** dist/hooks/init/telemetry.js, dist/lib/telemetry/telemetry.js, dist/lib/base-command.js

- **Review source:** ai\_review

- **Reviewed:** 2026-10-31T12:54:40.507Z

### AI review details

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

- **Mechanism:** The CLI sends telemetry to PostHog and sends uncaught exceptions to Sentry; failure events also include error messages and codes in PostHog properties.

- **Rationale:** The package’s first-run notice discloses usage analytics and provides opt-outs, but does not disclose its automatic Sentry exception reporting or the failure details included in PostHog events. This undisclosed runtime telemetry warrants a warning.

- **Files touched:** CLI global config (telemetry install ID and notice state)

- **Network endpoints:** https://us.i.posthog.com, https://o4509208616435714.ingest.us.sentry.io

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 84.0%

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

- **Intent class:** Dangerous Capability

- **False-positive risk:** Medium

- **Evidence for warning:** Every CLI command initializes PostHog and Sentry telemetry automatically; the first-run notice describes usage analytics but does not mention Sentry error reporting., Command failures are sent to Sentry, and failure events include the error message and code in PostHog properties.

- **Evidence against:** The telemetry notice says command name, CLI version, and OS are collected, and provides CLI and environment-variable opt-outs., The package’s telemetry code says it does not collect code, schemas, or file contents; PostHog uses its own ingestion host., The flagged npm install runs only when the user invokes \`apso dev\` and the project lacks \`node\_modules\`; the update install runs only through \`apso update\`.

## Affected versions and remediation

This report applies to @apso/cli@0.39.2.

- Review the evidence and your use of @apso/cli@0.39.2 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. High: Child Process
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/lib/upgrade.js
- **Public source:** [View source](<https://unpkg.com/@apso/cli@0.39.2/dist/lib/upgrade.js>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L12: const tslib_1 = require("tslib");
L13: const child_process_1 = require("child_process");
L14: const inquirer_1 = tslib_1.__importDefault(require("inquirer"));
```

### 3. High: Shell
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/commands/init.js\#virtual:normalized:round1
- **Public source:** [View source](<https://unpkg.com/@apso/cli@0.39.2/dist/commands/init.js%23virtual%3Anormalized%3Around1>)

Package source references shell execution.

Public source snippet (untrusted):

```text
L6: const path = tslib_1.__importStar(require("path"));
L7: const shelljs_1 = tslib_1.__importDefault(require("shelljs"));
L8: const inquirer_1 = tslib_1.__importDefault(require("inquirer"));
```

### 4. Medium: Network
- **Category:** Source
- **Confidence:** 75.0%

Package source references network APIs.

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

Package source references environment variables.

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

Package source references filesystem APIs.

### 7. High: Runtime Package Install
- **Category:** Source
- **Confidence:** 86.0%
- **Path:** dist/commands/update.js
- **Public source:** [View source](<https://unpkg.com/@apso/cli@0.39.2/dist/commands/update.js>)

Package source invokes a package manager install command at runtime.

Public source snippet (untrusted):

```javascript
L45: ? "brew upgrade apsoai/tap/apso"
L46: : "npm install -g @apso/cli@latest";
L47: this.log(`Updating via: ${cmd}`);
...
L49: try {
L50: (0, child_process_1.execSync)(cmd, { stdio: "inherit" });
L51: }
```

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

Package source contains high-entropy string patterns.

### 9. Low: Telemetry
- **Category:** Supply Chain
- **Confidence:** 70.0%

Package source references telemetry or analytics APIs.

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

Package source contains URL literals.

### 11. Medium: Ships Build Helper
- **Category:** Artifact Inventory
- **Confidence:** 70.0%
- **Path:** bin/dev.cmd
- **Public source:** [View source](<https://unpkg.com/@apso/cli@0.39.2/bin/dev.cmd>)

Package ships non-JavaScript build or shell helper files.

Public source snippet (untrusted):

```text
path = bin/dev.cmd
kind = build_helper
sizeBytes = 30
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. High: Semantic Analysis Limited
- **Category:** Scanner Coverage
- **Confidence:** 100.0%
- **Path:** dist/commands/dev.js\#virtual:normalized:round1
- **Public source:** [View source](<https://unpkg.com/@apso/cli@0.39.2/dist/commands/dev.js%23virtual%3Anormalized%3Around1>)

A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.

Public source snippet (untrusted):

```text
stage = ast_semantic_analysis; reason = ast_parse_error; limitedFiles = 5
```

### 14. Critical: Previous Version Dangerous Delta
- **Category:** Supply Chain
- **Confidence:** 93.0%
- **Path:** dist/commands/dev.js
- **Public source:** [View source](<https://unpkg.com/@apso/cli@0.39.2/dist/commands/dev.js>)

This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = previous_version_dangerous_delta
matchedPackage = @apso/cli@0.28.0
matchedIdentity = npm:QGFwc28vY2xp:0.28.0
similarity = 0.700
summary = stored previous version shares package body but lacks this dangerous source file
```

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

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

### Published dependency entries
- @apso/schema-tools ^0.2.0 (Dependency)
- @biomejs/biome ^1.9.4 (Dependency)
- @electric-sql/pglite ^0.2.17 (Dependency)
- @modelcontextprotocol/sdk ^1.29.0 (Dependency)
- @oclif/core ^2 (Dependency)
- @oclif/plugin-help ^5 (Dependency)
- @oclif/plugin-plugins ^3.10.1 (Dependency)
- @oclif/plugin-warn-if-update-available ^2.1.1 (Dependency)
- @sentry/node ^10.68.0 (Dependency)
- adm-zip ^0.6.0 (Dependency)
- debug ^4.3.4 (Dependency)
- eta ^2.0.0 (Dependency)
- inquirer ^8.2.7 (Dependency)
- ora ^5.4.1 (Dependency)
- pg ^8.21.0 (Dependency)
- pluralize ^8.0.0 (Dependency)
- posthog-node ^5.21.2 (Dependency)
- rc ^1.2.8 (Dependency)
- shelljs ^0.8.5 (Dependency)
- typeorm ^0.3.31 (Dependency)
- typeorm-pglite ^0.3.4 (Dependency)
- zod ^4.4.3 (Dependency)

## Package metadata
- **Package:** @apso/cli
- **Ecosystem:** npm
- **Version:** 0.39.2
- **License:** Apache-2.0
- **Version published:** 2026-10-03T19:41:52.974Z
- **Package first seen:** 2026-07-28T07:32:56.546Z
- **Package last seen:** 2026-11-04T19:58:31.596Z
- **Known versions:** 20
- **Latest version:** 0.47.1
- **Appeal under review:** No
- **Description:** Apso CLI
- **Author:** Apso by Mavric - @mavric
- **Maintainers:** cultron
- **Keywords:** apso, apsoai, apso-cli, cli, oclif, mcp, mcp-server, model-context-protocol, ai-coding, backend-generator, api-generator, nestjs
- **Runtime engines:** node: \>=18.0.0
- **Artifact files:** 365
- **Artifact unpacked size:** 1,587,148 bytes
- **Artifact signatures:** 2
- **Attestations:** Yes
- **Provenance:** https://slsa.dev/provenance/v1

## References
- [HTML security report](<https://firewall.lpm.dev/npm/@apso/cli/v/0.39.2>)
- [Repository](<https://github.com/apsoai/cli>)
- [Issues](<https://github.com/apsoai/cli/issues>)
