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

# @contrail/cli@3.5.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 — allowed with a warning** — Allowed by default policy, but 20 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:** 3.5.7
- **Selected version is latest:** Yes
- **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 has no install-time behavior that exfiltrates data, but its explicit app publishing workflow silently bundles identifying workstation and Git metadata with the build and uploads it. This is suspicious telemetry to the package's service, rather than evidence of a malicious attack.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 87.0%
- **Started:** 2026-11-02T15:17:52.902Z
- **Finished:** 2026-11-02T15:20:11.078Z
- **Download time:** 3862 ms
- **Static scan time:** 13793 ms
- **AI review time:** 120520 ms
- **Total time:** 138176 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:** App publishing uploads workstation and Git identifying metadata alongside the app build; this is suspicious runtime telemetry.

- **Trigger:** A user runs the app publish/deploy command.

- **Impact:** The Contrail service receives identifying details about the publishing machine and project that are not necessary to upload the app source.

- **Evidence paths:** dist/helpers/app/metadata-extractor.js, dist/helpers/app/app-deployer.js, dist/commands/app/publish.js, dist/helpers/config/config.js

- **Review source:** ai\_review

- **Reviewed:** 2026-11-02T15:20:11.078Z

### AI review details

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

- **Mechanism:** The CLI gathers host, directory, user, and Git details into build-info.json, includes it in the app package, and uploads the package to a signed URL returned by the Contrail API.

- **Rationale:** The package has no install-time behavior that exfiltrates data, but its explicit app publishing workflow silently bundles identifying workstation and Git metadata with the build and uploads it. This is suspicious telemetry to the package's service, rather than evidence of a malicious attack.

- **Files touched:** tmp/build-info.json, tmp/dist/build-info.json, tmp.zip

- **Network endpoints:** api.vibeiq.com, api.dev.vibeiq.com, appCodePackage.uploadURL (signed URL returned dynamically)

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 87.0%

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

- **Intent class:** Dangerous Capability

- **False-positive risk:** Medium

- **Evidence for warning:** App build metadata collects the machine hostname, home and temporary directories, working directory, and the build user's name., The helper reads Git details including the remote URL and commit message; the metadata is added to the app package and uploaded to a signed URL during publishing., The collection and upload occur through the explicit app publish/deploy workflow.

- **Evidence against:** The manifest has no install lifecycle hook, and the package entry points launch the oclif CLI., Packaging and uploading an app build is part of the CLI's stated purpose; no unrelated collector or automatic startup transmission was identified.

## Affected versions and remediation

This report applies to @contrail/cli@3.5.7.

- Review the evidence and your use of @contrail/cli@3.5.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. High: Child Process
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/helpers/app/metadata-extractor.js
- **Public source:** [View source](<https://unpkg.com/@contrail/cli@3.5.7/dist/helpers/app/metadata-extractor.js>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L5: const os = tslib_1.__importStar(require("os"));
L6: const child_process_1 = require("child_process");
L7: const fs_1 = tslib_1.__importDefault(require("fs"));
```

### 3. High: Shell
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** node\_modules/@opentelemetry/otlp-transformer/node\_modules/@opentelemetry/resources/build/esm/detectors/platform/node/machine-id/execAsync.js
- **Public source:** [View source](<https://unpkg.com/@contrail/cli@3.5.7/node_modules/%40opentelemetry/otlp-transformer/node_modules/%40opentelemetry/resources/build/esm/detectors/platform/node/machine-id/execAsync.js>)

Package source references shell execution.

Public source snippet (untrusted):

```javascript
L17: import * as util from 'util';
L18: export const execAsync = util.promisify(child_process.exec);
L19: //# sourceMappingURL=execAsync.js.map
```

### 4. Medium: Dynamic Require
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** dist/logger.js
- **Public source:** [View source](<https://unpkg.com/@contrail/cli@3.5.7/dist/logger.js>)

Package source references dynamic require/import behavior.

Public source snippet (untrusted):

```javascript
L2: Object.defineProperty(exports, "__esModule", { value: true });
L3: const tslib_1 = require("tslib");
L4: const winston_1 = tslib_1.__importStar(require("winston"));
```

### 5. Medium: Unsafe Vm Context
- **Category:** Source
- **Confidence:** 68.0%
- **Path:** node\_modules/pino/benchmarks/utils/wrap-log-level.js
- **Public source:** [View source](<https://unpkg.com/@contrail/cli@3.5.7/node_modules/pino/benchmarks/utils/wrap-log-level.js>)

Package source executes code through a VM context API.

Public source snippet (untrusted):

```javascript
L6: const code = readFileSync(
L7: join(__dirname, '..', '..', 'node_modules', 'loglevel', 'lib', 'loglevel.js')
L8: )
...
L50: if (require.main === module) {
L51: const loglevel = build(process.stdout)
L52: loglevel.info('hello')
```

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

Package source references network APIs.

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

Package source references environment variables.

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

Package source references filesystem APIs.

### 9. High: Obfuscated Payload Loader
- **Category:** Source
- **Confidence:** 86.0%
- **Path:** node\_modules/protobufjs/dist/protobuf.js
- **Public source:** [View source](<https://unpkg.com/@contrail/cli@3.5.7/node_modules/protobufjs/dist/protobuf.js>)

Source contains an obfuscated payload loader that reconstructs and executes hidden code.

Public source snippet (untrusted):

```javascript
L4: * licensed under the bsd-3-clause license
L5: * see: https://github.com/dcodeio/protobuf.js for details
L6: */
...
L97: /**
L98: * A minimal base64 implementation for number arrays.
L99: * @memberof util
...
L350: * @type {Object.<string,*>}
L351: * @private
L352: */
...
L527: xhr.open("GET", filename);
L528: xhr.send();
L529: };
```

### 10. High: Runtime Package Install
- **Category:** Source
- **Confidence:** 86.0%
- **Path:** dist/helpers/app/app-deployer.js
- **Public source:** [View source](<https://unpkg.com/@contrail/cli@3.5.7/dist/helpers/app/app-deployer.js>)

Package source invokes a package manager install command at runtime.

Public source snippet (untrusted):

```javascript
L200: logger_1.default.info('Installing production dependencies started...');
L201: child_process_1.default.execSync('npm install --omit=dev --prefix tmp/');
L202: logger_1.default.info('Installing production dependencies done.');
```

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

Package source contains high-entropy string patterns.

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

Package source contains URL literals.

### 13. Medium: Ships Build Helper
- **Category:** Artifact Inventory
- **Confidence:** 70.0%
- **Path:** bin/dev.cmd
- **Public source:** [View source](<https://unpkg.com/@contrail/cli@3.5.7/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]
```

### 14. Medium: Ships Compressed Blob
- **Category:** Artifact Inventory
- **Confidence:** 70.0%
- **Path:** node\_modules/amazon-cognito-identity-js/dist/amazon-cognito-identity.min.js.gz
- **Public source:** [View source](<https://unpkg.com/@contrail/cli@3.5.7/node_modules/amazon-cognito-identity-js/dist/amazon-cognito-identity.min.js.gz>)

Package ships compressed or archive-like blobs.

Public source snippet (untrusted):

```text
path = node_modules/amazon-cognito-identity-js/dist/amazon-cognito-identity.min.js.gz
kind = compressed_blob
sizeBytes = 25297
magicHex = [redacted]
```

### 15. High: Ships High Entropy Blob
- **Category:** Artifact Inventory
- **Confidence:** 75.0%
- **Path:** node\_modules/amazon-cognito-identity-js/dist/amazon-cognito-identity.min.js.gz
- **Public source:** [View source](<https://unpkg.com/@contrail/cli@3.5.7/node_modules/amazon-cognito-identity-js/dist/amazon-cognito-identity.min.js.gz>)

Package ships high-entropy non-source blobs.

Public source snippet (untrusted):

```text
path = node_modules/amazon-cognito-identity-js/dist/amazon-cognito-identity.min.js.gz
kind = high_entropy_blob
sizeBytes = 25297
magicHex = [redacted]
```

### 16. High: Payload In Excluded Dir
- **Category:** Artifact Inventory
- **Confidence:** 85.0%
- **Path:** node\_modules/thread-stream/test/dir with spaces/test-package.zip
- **Public source:** [View source](<https://unpkg.com/@contrail/cli@3.5.7/node_modules/thread-stream/test/dir%20with%20spaces/test-package.zip>)

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

Public source snippet (untrusted):

```text
path = node_modules/thread-stream/test/dir with spaces/test-package.zip
kind = payload_in_excluded_dir
sizeBytes = 349
magicHex = [redacted]
```

### 17. Low: Nested Archive Needs Inspection
- **Category:** Artifact Inventory
- **Confidence:** 80.0%
- **Path:** node\_modules/thread-stream/test/dir with spaces/test-package.zip
- **Public source:** [View source](<https://unpkg.com/@contrail/cli@3.5.7/node_modules/thread-stream/test/dir%20with%20spaces/test-package.zip>)

Package ships a nested archive or MCP bundle that was inventoried but not recursively analyzed.

Public source snippet (untrusted):

```text
path = node_modules/thread-stream/test/dir with spaces/test-package.zip
kind = nested_archive_needs_inspection
sizeBytes = 349
magicHex = [redacted]
```

### 18. 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.

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

Package manifest does not declare a clear license.

### 20. High: Semantic Analysis Limited
- **Category:** Scanner Coverage
- **Confidence:** 100.0%
- **Path:** dist/commands/feature-flags/import.js\#virtual:normalized:round1
- **Public source:** [View source](<https://unpkg.com/@contrail/cli@3.5.7/dist/commands/feature-flags/import.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 = 31
```

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

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

### Published dependency entries
- @contrail/entity-types ^1.6.1 (Dependency)
- @contrail/loader ^2.0.9 (Dependency)
- @contrail/org-config-migration ^1.2.0 (Dependency)
- @contrail/sdk ^1.5.13 (Dependency)
- @contrail/types ^3.1.5 (Dependency)
- @contrail/util ^1.2.0 (Dependency)
- @oclif/core ^2 (Dependency)
- @oclif/plugin-autocomplete ^2.1.4 (Dependency)
- @oclif/plugin-help ^5 (Dependency)
- @typescript-eslint/eslint-plugin ^5.54.1 (Dependency)
- amazon-cognito-identity-js ^5.2.3 (Dependency)
- arg ^4.0.1 (Dependency)
- aws-sdk ^2.1044.0 (Dependency)
- axios ^1.3.5 (Dependency)
- chalk ^4.0.0 (Dependency)
- cli-table3 ^0.6.5 (Dependency)
- command-line-usage ^6.1.1 (Dependency)
- csv-parse ^5.5.5 (Dependency)
- csvtojson ^2.0.10 (Dependency)
- esm ^3.2.25 (Dependency)
- execa ^5.0.0 (Dependency)
- inquirer ^8.2.0 (Dependency)
- js-yaml ^4.1.0 (Dependency)
- json2csv ^5.0.7 (Dependency)
- listr ^0.14.3 (Dependency)
- lodash ^4.17.21 (Dependency)
- ncp ^2.0.0 (Dependency)
- pkg-install ^1.0.0 (Dependency)
- semver ^7.5.4 (Dependency)
- winston ^3.10.0 (Dependency)
- zip-a-folder ^1.1.5 (Dependency)

## Package metadata
- **Package:** @contrail/cli
- **Ecosystem:** npm
- **Version:** 3.5.7
- **Version published:** 2026-10-30T18:49:23.142Z
- **Package first seen:** 2026-09-09T12:40:57.047Z
- **Package last seen:** 2026-11-02T15:20:11.078Z
- **Known versions:** 4
- **Latest version:** 3.5.7
- **Appeal under review:** No
- **Description:** VibeIQ's Contrail Platform CLI.
- **Maintainers:** brian.lindauer, cfvibeiq, btosadoprater, chris\_vibeiq, zileeva, trevor\_vibe, mattvitello, mazairaj, prashantvibeiq, kartikisahu, adamvibeiq, jaime-vibeiq
- **Keywords:** cli, contrail-cli
- **Runtime engines:** node: \>=18.0.0
- **Artifact files:** 9515
- **Artifact unpacked size:** 48,007,383 bytes
- **Artifact signatures:** 2
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/@contrail/cli>)
- [Homepage](<https://www.npmjs.com/package/@contrail/cli>)
