---
canonical: "https://firewall.lpm.dev/npm/@trayai/helix-cli/v/0.108.0"
markdown: "https://firewall.lpm.dev/npm/@trayai/helix-cli/v/0.108.0.md"
package: "@trayai/helix-cli"
report_status: "under_review"
title: "@trayai/helix-cli@0.108.0 npm security report"
verdict: "suspicious"
version: "0.108.0"
---

# @trayai/helix-cli@0.108.0 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:** Matched warn-list
- **Public report status:** Under Review
- **Threat category:** None published
- **Selected version:** 0.108.0
- **Selected version is latest:** No
- **Analysis source:** Static Scan Results (rust-scanner)

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.

Static analysis flagged 14 finding(s) at 93.0% confidence. This version is warn-only unless an AI or security-team review confirms malicious behavior.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 93.0%
- **Started:** 2026-08-21T14:37:40.384Z
- **Finished:** 2026-08-21T14:37:41.159Z
- **Download time:** 502 ms
- **Static scan time:** 271 ms
- **AI review time:** Not available
- **Total time:** 775 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

No additional public attack-surface or AI-review details are available.

## Affected versions and remediation

This report applies to @trayai/helix-cli@0.108.0.

- Review the evidence and your use of @trayai/helix-cli@0.108.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.

## 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/cli.js
- **Public source:** [View source](<https://unpkg.com/@trayai/helix-cli@0.108.0/dist/cli.js>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L162: ${u}
L163: `:typeof f=="string"?`Deploy failed [${f}]: ${u}`:`Deploy failed: ${u}`),await d("failure",m instanceof Error&&m.name?m.name:"Error"),process.exit(1)}})}import{existsSync as hc}fro...
L164: `):r.write(`[warn] Not a valid UUID after ${Dt} attempts \u2014 skipping. Edit helix.config.ts manually.
```

### 3. Low: Weak Crypto
- **Category:** Source
- **Confidence:** 64.0%
- **Path:** dist/cli.js
- **Public source:** [View source](<https://unpkg.com/@trayai/helix-cli@0.108.0/dist/cli.js>)

Package source references weak cryptographic algorithms.

Public source snippet (untrusted):

```javascript
L1: #!/usr/bin/env -S node --conditions=tray-internal
L2: import{a as mt,b as Vt,c as ft,d as Kt,e as Gt,f as qt}from"./chunk-VWJYOQGP.js";import{Command as Nl}from"commander";import{confirm as Kr,input as _s,select as Ws}from"@inquirer/p...
L3: query GetAuthenticationsPrivate(
...
L68: `}function ir(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function vt(e,t,r){let o=ki(e),n=`${t}=${r}`,i=new RegExp(`^${ir(t)}=.*$`,"m");if(i.test(e))return e.replace(i,n);if...
L69: `)||e.endsWith("\r");return e+(s?"":o)+n+o}function sr(e,t){let r=new RegExp(`^${ir(t)}=.*(?:\\r?\\n)?`,"m");return e.replace(r,"")}function ke(e,t){let r=wi(e);return Object.proto...
L70: <html lang="en">
...
L75: </body>
L76: </html>`}async function mr(e){let t=e.timeoutMs??Tt,r=null,o=new Promise((a,d)=>{r={resolve:a,r
```

### 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: Same File Env Network Execution
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/cli.js
- **Public source:** [View source](<https://unpkg.com/@trayai/helix-cli@0.108.0/dist/cli.js>)

A single source file combines environment access, network access, and code or shell execution; review context before blocking.

Public source snippet (untrusted):

```javascript
L157: Open this link to create ${t}:`),console.log(e.url),console.error(`
L158: Press enter once you've finished in the browser.`)}function Ns(e){return Kr({message:"Finished in the browser?",default:!0})}async function Fs(e){return _s({message:"Alias for this...
L159: \u2713 Workspace "${he.name}" created`);try{await D(l,he.id,{configFile:a})}catch(Rn){throw Ye(he,Rn)}console.log(`  \u21B3 workspaceId ${he.id} written to ${po(a)??"helix.config.t...
...
L162: ${u}
L163: `:typeof f=="string"?`Deploy failed [${f}]: ${u}`:`Deploy failed: ${u}`),await d("failure",m instanceof Error&&m.name?m.name:"Error"),process.exit(1)}})}import{existsSync as hc}fro...
L164: `):r.write(`[warn] Not a valid UUID after ${Dt} attempts \u2014 skipping. Edit helix.config.ts manually.
```

### 8. High: Credential Redirect Persistence
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/cli.js
- **Public source:** [View source](<https://unpkg.com/@trayai/helix-cli@0.108.0/dist/cli.js>)

Manifest-reachable source sends a prompted API credential to a fixed unofficial gateway and persists the redirection.

Public source snippet (untrusted):

```javascript
Manifest-reachable source captures an API credential, sends it to a fixed unofficial gateway, and persists that redirection in agent or shell configuration.
dist/cli.js:
import{a as mt,b as Vt,c as ft,d as Kt,e as Gt,f as qt}from"./chunk-VWJYOQGP.js";import{Command as Nl}from"commander";import{confirm as Kr,input as _s,select as Ws}from"@inquirer/p...
}`,Bn=E.object({id:E.string(),name:E.string(),created:E.string(),creator:E.object({name:E.string()}),service:E.object({id:E.string(),name:E.string()}),scopes:E.array(E.string()).de...
}`,li=new Map(["Owner","Admin","Contributor","Viewer","ExternalViewer","IntegrationCustomer"].map(e=>[e.toLowerCase(),e]));function pi(e){return li.get(e.replaceAll("_","").toLower...
`)||e.endsWith("\r");return e+(s?"":o)+n+o}function sr(e,t){let r=new RegExp(`
```

### 9. High: Entrypoint Foreign Package Code Overwrite
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/cli.js
- **Public source:** [View source](<https://unpkg.com/@trayai/helix-cli@0.108.0/dist/cli.js>)

Manifest-reachable source overwrites another installed package with package-defined remote behavior.

Public source snippet (untrusted):

```javascript
Manifest-reachable source resolves another installed package, overwrites its runtime code, and injects package-defined remote behavior.
dist/cli.js:
`)||e.endsWith("\r");return e+(s?"":o)+n+o}function sr(e,t){let r=new RegExp(`^${ir(t)}=.*(?:\\r?\\n)?`,"m");return e.replace(r,"")}function ke(e,t){let r=wi(e);return Object.proto...
Log in at ${e}, then copy your Tray session token.`);let r=(await Yi({message:"Paste your token",mask:!0})).trim();if(!r)throw new Error("No token entered.");return r}function b(){...
Press enter once you've finished in the browser.`)}function Ns(e){return Kr({message:"Finished in the browser?",default:!0})}async function Fs(e){return _s({message:"Alias for this...
`)}finally{o.close()}return n?e.reload():r}import{createNitro as qa,build as Ya,createDevServer as
```

### 10. High: Command Output Exfiltration
- **Category:** Source
- **Confidence:** 82.0%
- **Path:** dist/cli.js
- **Public source:** [View source](<https://unpkg.com/@trayai/helix-cli@0.108.0/dist/cli.js>)

Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.

Public source snippet (untrusted):

```javascript
L157: Open this link to create ${t}:`),console.log(e.url),console.error(`
L158: Press enter once you've finished in the browser.`)}function Ns(e){return Kr({message:"Finished in the browser?",default:!0})}async function Fs(e){return _s({message:"Alias for this...
L159: \u2713 Workspace "${he.name}" created`);try{await D(l,he.id,{configFile:a})}catch(Rn){throw Ye(he,Rn)}console.log(`  \u21B3 workspaceId ${he.id} written to ${po(a)??"helix.config.t...
...
L162: ${u}
L163: `:typeof f=="string"?`Deploy failed [${f}]: ${u}`:`Deploy failed: ${u}`),await d("failure",m instanceof Error&&m.name?m.name:"Error"),process.exit(1)}})}import{existsSync as hc}fro...
L164: `):r.write(`[warn] Not a valid UUID after ${Dt} attempts \u2014 skipping. Edit helix.config.ts manually.
```

### 11. High: Trigger Reachable Command Output Exfiltration
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/cli.js
- **Public source:** [View source](<https://unpkg.com/@trayai/helix-cli@0.108.0/dist/cli.js>)

A manifest entrypoint or package-local install chain reaches command-output exfiltration behavior.

Public source snippet (untrusted):

```javascript
Trigger-reachable command-output exfiltration chain: manifest.bin -> dist/cli.js
L157: Open this link to create ${t}:`),console.log(e.url),console.error(`
L158: Press enter once you've finished in the browser.`)}function Ns(e){return Kr({message:"Finished in the browser?",default:!0})}async function Fs(e){return _s({message:"Alias for this...
L159: \u2713 Workspace "${he.name}" created`);try{await D(l,he.id,{configFile:a})}catch(Rn){throw Ye(he,Rn)}console.log(`  \u21B3 workspaceId ${he.id} written to ${po(a)??"helix.config.t...
...
L162: ${u}
L163: `:typeof f=="string"?`Deploy failed [${f}]: ${u}`:`Deploy failed: ${u}`),await d("failure",m instanceof Error&&m.name?m.name:"Error"),process.exit(1)}})}import{existsSync as hc}fro...
L164: `):r.write(`[warn] Not a valid UUID after ${Dt} attemp
```

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

Package source contains high-entropy string patterns.

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

Package source contains URL literals.

### 14. Critical: Previous Version Dangerous Delta
- **Category:** Supply Chain
- **Confidence:** 93.0%
- **Path:** dist/cli.js
- **Public source:** [View source](<https://unpkg.com/@trayai/helix-cli@0.108.0/dist/cli.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 = @trayai/helix-cli@0.65.0
matchedIdentity = npm:QHRyYXlhaS9oZWxpeC1jbGk:0.65.0
similarity = 0.750
summary = stored previous version shares package body but lacks this dangerous source file
```

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

- **Dependencies:** 23
- **Optional dependencies:** 0
- **Peer dependencies:** 1
- **Development dependencies:** 11
- **Published dependency-graph edges:** 24

### Published dependency entries
- @inquirer/prompts ^8.5.2 (Dependency)
- @mherod/get-cookie ^4.4.3 (Dependency)
- @modelcontextprotocol/sdk ^1.30.0 (Dependency)
- @opentelemetry/api ^1.9.1 (Dependency)
- @vitejs/plugin-react ^4.7.0 (Dependency)
- c12 ^3.3.4 (Dependency)
- chokidar ^5.0.0 (Dependency)
- commander ^12.1.0 (Dependency)
- dotenv ^17.4.2 (Dependency)
- ejs ^5.0.2 (Dependency)
- h3 ^1.15.11 (Dependency)
- ignore ^7.0.6 (Dependency)
- jiti ^2.7.0 (Dependency)
- ky ^1.14.3 (Dependency)
- nitropack ^2.13.4 (Dependency)
- open ^10.2.0 (Dependency)
- proper-lockfile ^4.1.2 (Dependency)
- sirv ^3.0.2 (Dependency)
- ts-morph ^28.0.0 (Dependency)
- update-notifier ^7.3.1 (Dependency)
- vite \>=6.4.3 \<7 (Dependency)
- yazl ^3.3.1 (Dependency)
- zod ^3.25.76 (Dependency)
- @trayai/helix-sdk 0.108.0 (PeerDependency)

## Package metadata
- **Package:** @trayai/helix-cli
- **Ecosystem:** npm
- **Version:** 0.108.0
- **License:** Apache-2.0
- **Version published:** 2026-08-21T14:34:56.209Z
- **Package first seen:** 2026-07-20T11:12:04.130Z
- **Package last seen:** 2026-11-05T01:10:58.069Z
- **Known versions:** 42
- **Latest version:** 1.18.1
- **Appeal under review:** No
- **Description:** Helix CLI — helix init, helix dev, helix auth
- **Author:** trayio
- **Maintainers:** amaritray, trayprod
- **Runtime engines:** node: \>=24.18.0
- **Artifact files:** 37
- **Artifact unpacked size:** 247,642 bytes
- **Artifact signatures:** 1
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/@trayai/helix-cli/v/0.108.0>)
