---
canonical: "https://firewall.lpm.dev/npm/@limai.io/cli"
markdown: "https://firewall.lpm.dev/npm/@limai.io/cli/report.md"
package: "@limai.io/cli"
report_status: "published"
title: "@limai.io/cli@0.4.5 npm security report"
verdict: "malicious"
version: "0.4.5"
---

# @limai.io/cli@0.4.5 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
**Blocked & quarantined** — The API recipient may gain a Vercel deployment-protection bypass credential unrelated to the LimAI API account token.

- **Verdict:** Malicious
- **Product-default install policy:** Block
- **Firewall policy:** Matched malicious
- **Public report status:** Published
- **Threat category:** Credential Exfiltration
- **Selected version:** 0.4.5
- **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: malicious; recommendation: publish block. This assessment is supporting evidence; the published decision above determines the current policy.

The SDK automatically forwards VERCEL\_BYPASS to its configured LimAI API endpoint on requests, exposing a deployment bypass credential without checking that it belongs to that service. This is credential exfiltration under the package firewall rules.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Malicious
- **Recorded analysis confidence:** 90.0%
- **Started:** 2026-11-01T03:12:07.566Z
- **Finished:** 2026-11-01T03:13:02.215Z
- **Download time:** 1035 ms
- **Static scan time:** 562 ms
- **AI review time:** 53051 ms
- **Total time:** 54649 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:** The SDK forwards the VERCEL\_BYPASS environment credential to its configured API endpoint without an explicit opt-in.

- **Trigger:** An SDK or CLI operation that makes an API request while VERCEL\_BYPASS is set.

- **Impact:** The API recipient may gain a Vercel deployment-protection bypass credential unrelated to the LimAI API account token.

- **Evidence paths:** dist/index.js

- **Review source:** ai\_review

- **Reviewed:** 2026-11-01T03:13:02.215Z

### AI review details

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

- **Mechanism:** The HTTP client adds the environment value as x-vercel-protection-bypass to requests sent to apiUrl.

- **Attack narrative:** When a normal API request is made, the SDK reads VERCEL\_BYPASS from the environment and sends it in a Vercel protection-bypass header to the configured LimAI API URL. The package gives no consent prompt or check that the value belongs to that endpoint, exposing a credential for another service.

- **Rationale:** The SDK automatically forwards VERCEL\_BYPASS to its configured LimAI API endpoint on requests, exposing a deployment bypass credential without checking that it belongs to that service. This is credential exfiltration under the package firewall rules.

- **Network endpoints:** Configured LIMAI API URL (LIMAI\_API\_URL or saved apiUrl), path /api/v1${apiPath}

### Review decision

- **Verdict:** Malicious

- **Confidence:** 90.0%

- **Recommended action:** publish\_block

- **Intent class:** Malware

- **False-positive risk:** Low

- **Evidence for block:** The SDK builds API requests against the supplied apiUrl, using /api/v1 paths., Its authHeaders method reads VERCEL\_BYPASS and copies it into the x-vercel-protection-bypass header., Requests use the constructed API URL and the SDK's auth headers; apiUrl can come from LIMAI\_API\_URL or saved configuration., The only lifecycle script is prepublishOnly, which runs the build.

- **Evidence against:** The manifest describes a LimAI CLI and SDK, with dist/index.js as the library entry point., Vercel bypass headers can be relevant when the configured API is behind Vercel, but the source does not establish that this credential belongs to the LimAI API.

## Affected versions and remediation

This report applies to @limai.io/cli@0.4.5.

- Avoid installing @limai.io/cli@0.4.5. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.

## Public findings

### 1. Low: Non Install Lifecycle Scripts
- **Category:** Manifest
- **Confidence:** 80.0%

Package declares lifecycle scripts that are not normally run for registry tarball installs.

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

Package declares npm scripts.

### 3. High: Child Process
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/@limai.io/cli@0.4.5/dist/index.js>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L1: "use strict";var _e=Object.create;var ot=Object.defineProperty;var Le=Object.getOwnPropertyDescriptor;var Ne=Object.getOwnPropertyNames;var Me=Object.getPrototypeOf,Fe=Object.proto...
L2: `)===-1&&l.indexOf("\r")===-1){i.push(l);return}i.push(l);let o=i.join("");i.length=0;let d=m(o);d!==""&&i.push(d)}function m(l){let o=0;if(l.indexOf("\r")===-1){let d=l.indexOf(`
```

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

A single source file combines environment access, network access, and code or shell execution with blocking evidence.

Public source snippet (untrusted):

```javascript
L13: (Did you mean one of ${n.join(", ")}?)`:n.length===1?`
L14: (Did you mean ${n[0]}?)`:""}ms.suggestSimilar=Qa});var Fs=P(Un=>{"use strict";var Za=require("events").EventEmitter,Nn=require("child_process"),pe=require("path"),At=require("fs"),...
L15: - specify the name in Command constructor or using .name()`);return t=t||{},t.isDefault&&(this._defaultCommandName=e._name),(t.noHelp||t.hidden)&&(e._hidden=!0),this._registerComma...
...
L27: `)}),this}_outputHelpIfRequested(e){let t=this._getHelpOption();t&&e.find(i=>t.is(i))&&(this.outputHelp(),this._exit(0,"commander.helpDisplayed","(outputHelp)"))}};function hs(s){r...
L28: `),this.dy++}write(e,t=!1){this.linewrap===!0&&t===!1?this.stream.write(e.substr(0,this.getWidth())):this.stream.write(e)}lineWrapping(e){this.stream.isTTY&&(this.l
```

### 8. High: Command Output Exfiltration
- **Category:** Source
- **Confidence:** 82.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/@limai.io/cli@0.4.5/dist/index.js>)

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

Public source snippet (untrusted):

```javascript
L1: "use strict";var _e=Object.create;var ot=Object.defineProperty;var Le=Object.getOwnPropertyDescriptor;var Ne=Object.getOwnPropertyNames;var Me=Object.getPrototypeOf,Fe=Object.proto...
L2: `)===-1&&l.indexOf("\r")===-1){i.push(l);return}i.push(l);let o=i.join("");i.length=0;let d=m(o);d!==""&&i.push(d)}function m(l){let o=0;if(l.indexOf("\r")===-1){let d=l.indexOf(`
```

### 9. Critical: Trigger Reachable Dangerous Capability
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** dist/cli.js
- **Public source:** [View source](<https://unpkg.com/@limai.io/cli@0.4.5/dist/cli.js>)

A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.

Public source snippet (untrusted):

```javascript
Trigger-reachable chain: manifest.bin -> dist/cli.js
L13: (Did you mean one of ${n.join(", ")}?)`:n.length===1?`
L14: (Did you mean ${n[0]}?)`:""}ms.suggestSimilar=Qa});var Fs=P(Un=>{"use strict";var Za=require("events").EventEmitter,Nn=require("child_process"),pe=require("path"),At=require("fs"),...
L15: - specify the name in Command constructor or using .name()`);return t=t||{},t.isDefault&&(this._defaultCommandName=e._name),(t.noHelp||t.hidden)&&(e._hidden=!0),this._registerComma...
...
L27: `)}),this}_outputHelpIfRequested(e){let t=this._getHelpOption();t&&e.find(i=>t.is(i))&&(this.outputHelp(),this._exit(0,"commander.helpDisplayed","(outputHelp)"))}};function hs(s){r...
L28: `),this.dy++}write(e,t=!1){this.linewrap===!0&&t===!1?this.stream.write(e.substr(0,this.getWidth())):this.strea
```

### 10. High: Trigger Reachable Command Output Exfiltration
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/@limai.io/cli@0.4.5/dist/index.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.main -> dist/index.js
L1: "use strict";var _e=Object.create;var ot=Object.defineProperty;var Le=Object.getOwnPropertyDescriptor;var Ne=Object.getOwnPropertyNames;var Me=Object.getPrototypeOf,Fe=Object.proto...
L2: `)===-1&&l.indexOf("\r")===-1){i.push(l);return}i.push(l);let o=i.join("");i.length=0;let d=m(o);d!==""&&i.push(d)}function m(l){let o=0;if(l.indexOf("\r")===-1){let d=l.indexOf(`
```

### 11. High: Runtime Package Install
- **Category:** Source
- **Confidence:** 86.0%
- **Path:** dist/cli.js
- **Public source:** [View source](<https://unpkg.com/@limai.io/cli@0.4.5/dist/cli.js>)

Package source invokes a package manager install command at runtime.

Public source snippet (untrusted):

```javascript
L70: Retried`),v(a.retried.map(u=>({eventId:u.eventId,url:u.url})))),a.sk[redacted]>0&&(B(`
L71: Skipped`),v(a.skipped.map(u=>({eventId:u.eventId,url:u.url,reason:u.reason}))))})}var Pa=require("child_process"),Na=I(require("os")),ja=I(require("path"));var Et="@limai.io/cli",R...
```

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

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

Package manifest does not declare a clear license.

## Dependencies and install lifecycle
- **Lifecycle scripts present:** Yes
- **Published lifecycle scripts:** prepublishOnly
- **Dependencies:** 0
- **Optional dependencies:** 0
- **Peer dependencies:** 0
- **Development dependencies:** 9
- **Published dependency-graph edges:** 0

## Package metadata
- **Package:** @limai.io/cli
- **Ecosystem:** npm
- **Version:** 0.4.5
- **License:** UNLICENSED
- **Version published:** 2026-08-29T07:36:06.479Z
- **Package first seen:** 2026-08-26T17:27:51.876Z
- **Package last seen:** 2026-11-01T03:13:34.064Z
- **Known versions:** 15
- **Latest version:** 0.4.16
- **Appeal under review:** No
- **Description:** CLI and SDK for the LimAI data extraction platform
- **Runtime engines:** node: \>=20
- **Artifact files:** 4
- **Artifact unpacked size:** 375,620 bytes
- **Artifact signatures:** 1
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/@limai.io/cli>)
