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

# cf@0.10.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 16 findings warrant review before installing.

- **Verdict:** Suspicious
- **Product-default install policy:** Warn
- **Firewall policy:** Matched warn-list
- **Public report status:** Published
- **Threat category:** Unknown
- **Selected version:** 0.10.0
- **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 inspected code is consistent with a Cloudflare management CLI and has no lifecycle hook, but large minified artifacts and agent-environment reporting prevent a decisive clean result under incomplete static coverage.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 64.0%
- **Started:** 2026-09-10T00:51:48.563Z
- **Finished:** 2026-09-10T00:55:18.700Z
- **Download time:** 517 ms
- **Static scan time:** 14460 ms
- **AI review time:** 195159 ms
- **Total time:** 210137 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:** No automatic install-time attack was found. When a user runs authentication or deployment commands, the CLI can identify an AI-agent environment, invoke configured tools, and make authenticated Cloudflare API requests.

- **Trigger:** A user runs cf authentication, build, or deployment commands.

- **Impact:** Agent-type metadata may be sent with authenticated requests; no credential theft, foreign persistence, or malicious command chain was confirmed.

- **Evidence paths:** dist/auth-MQEamPN9.mjs, dist/deploy-input-CrvuoDGJ.mjs, dist/spawn-O1RS01vr.mjs, dist/sdk-ZctLa5jW.mjs

- **Review source:** ai\_review

- **Reviewed:** 2026-09-10T00:55:18.700Z

### AI review details

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

- **Mechanism:** Agent-context header collection plus user-command process execution and authenticated API access.

- **Rationale:** The inspected code is consistent with a Cloudflare management CLI and has no lifecycle hook, but large minified artifacts and agent-environment reporting prevent a decisive clean result under incomplete static coverage.

- **Network endpoints:** https://api.cloudflare.com/client/v4

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 64.0%

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

- **Intent class:** Unknown

- **False-positive risk:** High

- **Evidence for warning:** The user-invoked CLI ships large minified bundles with process execution, environment access, and authenticated network functionality, leaving residual static-analysis risk., The authentication code detects AI coding environments and adds the detected identifier to request headers.

- **Evidence against:** package.json has no preinstall, install, postinstall, or self-dependency., The inspected SDK rejects authenticated requests that change origin, and the observed API endpoint is api.cloudflare.com., The command and process helpers are reachable through explicit CLI authentication, build, and deployment commands; no automatic install-time execution was found.

## Affected versions and remediation

This report applies to cf@0.10.0.

- Review the evidence and your use of cf@0.10.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/deploy-input-CrvuoDGJ.mjs
- **Public source:** [View source](<https://unpkg.com/cf@0.10.0/dist/deploy-input-CrvuoDGJ.mjs>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L1: #!/usr/bin/env node
L2: import{i as e,r as t,t as n}from"./chunk-vbHwaUoU.mjs";import{i as r}from"./session-D6KHthHf.mjs";import{A as i,B as a,Dt as o,E as s,Et as c,F as l,G as u,H as d,J as f,K as p,L a...
L3: `);let r;for(;(r=c.exec(n))!=null;){let e=r[1],n=r[2]||``;n=n.trim();let i=n[0];n=n.replace(/^(['"`])([\s\S]*)\1$/gm,`$2`),i===`"`&&(n=n.replace(/\\n/g,`
```

### 3. Medium: Dynamic Require
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** dist/src-D\_HETJNy.mjs
- **Public source:** [View source](<https://unpkg.com/cf@0.10.0/dist/src-D_HETJNy.mjs>)

Package source references dynamic require/import behavior.

Public source snippet (untrusted):

```javascript
L36: */
L37: let k;var Ye=class{constructor(e){k=e}parse(e,t){let n=Object.assign({alias:void 0,array:void 0,boolean:void 0,config:void 0,configObjects:void 0,configuration:void 0,coerce:void 0...
L38: `);x.div(`${e}\n`)}return x.toString().replace(/\s*$/,``)};function v(e,n,r){let i=0;return Array.isArray(e)||(e=Object.values(e).map(e=>[e])),e.forEach(e=>{i=Math.max(t.stringWidt...
```

### 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/auth-MQEamPN9.mjs
- **Public source:** [View source](<https://unpkg.com/cf@0.10.0/dist/auth-MQEamPN9.mjs>)

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

Public source snippet (untrusted):

```javascript
L1: #!/usr/bin/env node
L2: import{i as e}from"./session-D6KHthHf.mjs";import{n as t,r as n,t as r}from"./sdk-ZctLa5jW.mjs";import{$ as i,o as a}from"./chunk-LQW53VED-DLrXV-hE.mjs";import{a as o,g as s,p as c...
L3: `).filter(e=>e.trim()&&!e.startsWith(`Node`)).pop()?.split(`,`);if(!n||n.length<4)return null;let[r,i,a,o]=n,s=o?parseInt(o.trim(),10):NaN,c=a?parseInt(a.trim(),10):NaN;return isNa...
L4:
```

### 8. High: Credential Redirect Persistence
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/sdk-ZctLa5jW.mjs
- **Public source:** [View source](<https://unpkg.com/cf@0.10.0/dist/sdk-ZctLa5jW.mjs>)

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/sdk-ZctLa5jW.mjs:
`)}var a=class extends r{constructor(e,t){super({message:e,cause:t?.cause}),Object.setPrototypeOf(this,new.target.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,t...
```

### 9. High: Cross File Remote Execution Context
- **Category:** Source
- **Confidence:** 72.0%
- **Path:** dist/spawn-O1RS01vr.mjs
- **Public source:** [View source](<https://unpkg.com/cf@0.10.0/dist/spawn-O1RS01vr.mjs>)

Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.

Public source snippet (untrusted):

```javascript
Cross-file remote execution chain: dist/spawn-O1RS01vr.mjs spawns dist/chunk-LQW53VED-DLrXV-hE.mjs; helper contains network access plus dynamic code execution.
L1: #!/usr/bin/env node
L2: import{i as e,r as t,t as n}from"./chunk-vbHwaUoU.mjs";import{t as r}from"./src-D_HETJNy.mjs";import{C as i,Ct as a,Dt as o,F as s,I as c,Ot as l,S as u,Tt as d,V as f,X as p,g as ...
L3: `).map(e=>`${He(U.bar)}${e.length>0?` `+Ve(e):``}`).join(`
...
L10: `)}${e+a<t.length&&t.length>a?`\n${it(2)}${V(`...`)}`:``}`,``];if(l?.description){let e=new Intl.Segmenter(`en`,{granularity:`word`}),t=it(2),n=process.stdout.columns-ht(t).length*...
L11: `)),``)}return u};return{initial:o,active:o,confirm:o,error:(e,t)=>[`${wt} ${rt.error} ${V(e.error)}`,`${St}`,...o(e,t)],submit:({value:n})=>Array.isArray(n)?Dt(e,t.fi
```

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

Package source contains high-entropy string patterns.

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

Package source contains URL literals.

### 12. Medium: Oversized Source File
- **Category:** Artifact Inventory
- **Confidence:** 70.0%
- **Path:** dist/sdk-ZctLa5jW.mjs
- **Public source:** [View source](<https://unpkg.com/cf@0.10.0/dist/sdk-ZctLa5jW.mjs>)

Package contains source files above the normal full-analysis size ceiling.

Public source snippet (untrusted):

```javascript
path = dist/sdk-ZctLa5jW.mjs
kind = oversized_source_file
sizeBytes = 5054255
magicHex = [redacted]
```

### 13. Medium: Oversized Cli Entrypoint
- **Category:** Artifact Inventory
- **Confidence:** 80.0%
- **Path:** dist/sdk-ZctLa5jW.mjs
- **Public source:** [View source](<https://unpkg.com/cf@0.10.0/dist/sdk-ZctLa5jW.mjs>)

Package contains an oversized executable-looking CLI entrypoint.

Public source snippet (untrusted):

```javascript
path = dist/sdk-ZctLa5jW.mjs
kind = oversized_cli_entrypoint
sizeBytes = 5054255
magicHex = [redacted]
```

### 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. High: Semantic Analysis Limited
- **Category:** Scanner Coverage
- **Confidence:** 100.0%
- **Path:** dist/sdk-ZctLa5jW.mjs
- **Public source:** [View source](<https://unpkg.com/cf@0.10.0/dist/sdk-ZctLa5jW.mjs>)

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

Public source snippet (untrusted):

```javascript
stage = ast_semantic_analysis; reason = ast_path_work_budget_exceeded; limitedFiles = 2
```

### 16. Critical: Previous Version Dangerous Delta
- **Category:** Supply Chain
- **Confidence:** 93.0%
- **Path:** dist/src-D\_HETJNy.mjs
- **Public source:** [View source](<https://unpkg.com/cf@0.10.0/dist/src-D_HETJNy.mjs>)

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 = cf@0.9.0
matchedIdentity = npm:Y2Y:0.9.0
similarity = 0.758
summary = stored previous version shares package body but lacks this dangerous source file
```

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

- **Dependencies:** 2
- **Optional dependencies:** 0
- **Peer dependencies:** 0
- **Development dependencies:** 26
- **Published dependency-graph edges:** 2

### Published dependency entries
- blake3-wasm 2.1.5 (Dependency)
- miniflare 5.20260903.0-alpha (Dependency)

## Package metadata
- **Package:** cf
- **Ecosystem:** npm
- **Version:** 0.10.0
- **License:** MIT
- **Version published:** 2026-09-09T21:01:16.021Z
- **Package first seen:** 2026-07-29T13:50:54.349Z
- **Package last seen:** 2026-11-23T15:43:07.876Z
- **Known versions:** 36
- **Latest version:** 1.0.0-rc.4
- **Appeal under review:** No
- **Description:** The Cloudflare CLI
- **Maintainers:** mikenomitch, dimitropoulos, penalosa, dcartertwo
- **Keywords:** ai, api, cdn, cf, cli, cloudflare, d1, dns, images, kv, pages, queues
- **Runtime engines:** node: \>=22
- **Artifact files:** 234
- **Artifact unpacked size:** 22,802,795 bytes
- **Artifact signatures:** 1
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/cf/v/0.10.0>)
