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

# free-pi-cli@0.2.8 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 10 findings warrant review before installing.

- **Verdict:** Suspicious
- **Product-default install policy:** Warn
- **Firewall policy:** Matched warn-list
- **Public report status:** Published
- **Threat category:** None published
- **Selected version:** 0.2.8
- **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 10 findings at 72.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:** 72.0%
- **Started:** 2026-08-22T21:25:01.508Z
- **Finished:** 2026-08-22T21:25:04.619Z
- **Download time:** 509 ms
- **Static scan time:** 2601 ms
- **AI review time:** Not available
- **Total time:** 3111 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 free-pi-cli@0.2.8.

- Review the evidence and your use of free-pi-cli@0.2.8 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: 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. Medium: Network
- **Category:** Source
- **Confidence:** 75.0%

Package source references network APIs.

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

Package source references environment variables.

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

Package source references filesystem APIs.

### 6. High: Credential Redirect Persistence
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/main-wd2zxa5n.js
- **Public source:** [View source](<https://unpkg.com/free-pi-cli@0.2.8/dist/main-wd2zxa5n.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/main-wd2zxa5n.js:
function resolveBaseUrl(env = process.env) {
proxyBaseUrl: exports_external.string().default("https://api.freepi.ai"),
proxyBaseUrl: env.PROXY_BASE_URL || undefined,
return doFetch(`${deps.baseUrl}${path}`, {
Authorization: `Bearer ${token}`,
baseUrl: opts.baseUrl,
function completionsBaseUrl(baseUrl) {
const trimmed = baseUrl.replace(/\/+$/, "");
```

### 7. High: Sandbox Evasion Gated Capability
- **Category:** Source
- **Confidence:** 84.0%
- **Path:** dist/main-wd2zxa5n.js
- **Public source:** [View source](<https://unpkg.com/free-pi-cli@0.2.8/dist/main-wd2zxa5n.js>)

Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.

Public source snippet (untrusted):

```javascript
L7: // src/main.ts
L8: import { spawnSync } from "node:child_process";
L9: import { realpathSync } from "node:fs";
...
L14: try {
L15: const command = process.platform === "darwin" ? "open" : process.platform === "win32" ? "start" : "xdg-open";
L16: const child = spawn(command, [url], {
...
L29: try {
L30: const parsed = JSON.parse(readFileSync(configPath, "utf8"));
L31: const autoUpdate = parsed?.autoUpdate;
...
L38: // src/env.ts
L39: var DEFAULT_BASE_URL = "https://api.freepi.ai";
L40: function resolveBaseUrl(env = process.env) {
```

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

Package source contains high-entropy string patterns.

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

Package source contains URL literals.

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

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

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

### Published dependency entries
- @earendil-works/pi-coding-agent ^0.84.2 (Dependency)

## Package metadata
- **Package:** free-pi-cli
- **Ecosystem:** npm
- **Version:** 0.2.8
- **License:** MIT
- **Version published:** 2026-08-22T21:24:01.364Z
- **Package first seen:** 2026-08-15T17:12:24.397Z
- **Package last seen:** 2026-11-23T00:09:33.671Z
- **Known versions:** 47
- **Latest version:** 0.6.26
- **Appeal under review:** No
- **Description:** Free, ad-supported distribution of the pi coding agent. Inference paid for by ads.
- **Maintainers:** dennisonbertram
- **Runtime engines:** node: \>=22.19.0
- **Artifact files:** 5
- **Artifact unpacked size:** 763,011 bytes
- **Artifact signatures:** 1
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/free-pi-cli/v/0.2.8>)
