---
canonical: "https://firewall.lpm.dev/npm/@desplega.ai/agent-fs/v/0.18.9"
markdown: "https://firewall.lpm.dev/npm/@desplega.ai/agent-fs/v/0.18.9.md"
package: "@desplega.ai/agent-fs"
report_status: "published"
title: "@desplega.ai/agent-fs@0.18.9 npm security report"
verdict: "suspicious"
version: "0.18.9"
---

# @desplega.ai/agent-fs@0.18.9 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 17 finding(s) warrant review before installing.

- **Verdict:** Suspicious
- **Product-default install policy:** Warn
- **Firewall policy:** Matched warn-list
- **Public report status:** Published
- **Threat category:** Data Exfiltration
- **Selected version:** 0.18.9
- **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 reviewed source shows default-on, opt-out telemetry containing a persistent installation identifier and operational metadata. This is a limited data exposure concern, while the inspected evidence does not establish malicious behavior or credential exfiltration.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 78.0%
- **Started:** 2026-10-26T21:13:40.548Z
- **Finished:** 2026-10-26T21:18:07.640Z
- **Download time:** 260 ms
- **Static scan time:** 1071 ms
- **AI review time:** 265760 ms
- **Total time:** 267092 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 CLI performs default-on anonymous usage telemetry when its server starts. This creates a limited privacy risk, but the inspected source does not establish credential theft or another malicious attack.

- **Trigger:** Starting the agent-fs server while telemetry opt-out variables are unset.

- **Impact:** The vendor receives an installation identifier and operational metadata; the source shown does not send credentials or file contents.

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

- **Review source:** ai\_review

- **Reviewed:** 2026-10-26T21:18:07.640Z

### AI review details

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

- **Mechanism:** The CLI creates or reuses a persistent installation identifier and posts operational counts and environment metadata to the vendor telemetry endpoint.

- **Rationale:** The reviewed source shows default-on, opt-out telemetry containing a persistent installation identifier and operational metadata. This is a limited data exposure concern, while the inspected evidence does not establish malicious behavior or credential exfiltration.

- **Files touched:** dist/cli.js, package.json, .lpm-dependency-evidence-27c1ecd1-ec84-41ac-bce2-f12abe87038d/2/npm-linux/package.json

- **Network endpoints:** https://proxy.desplega.sh/v1/events

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 78.0%

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

- **Intent class:** Dangerous Capability

- **False-positive risk:** Medium

- **Evidence for warning:** The CLI sends server start and heartbeat events to the vendor telemetry service by default; setting either telemetry opt-out disables it., The telemetry event includes a persistent installation identifier, database counts, storage and embedding provider names, operating system, and architecture., The package's binary entry points to the reviewed CLI. Its prepublish hook only builds the package., The inspected Google GenAI dependency declares a no-op preinstall command.

- **Evidence against:** The telemetry code labels events anonymous and does not include credentials or file contents in the shown event properties., Telemetry uses an HTTPS endpoint associated with the package vendor, and the source provides opt-out controls.

## Affected versions and remediation

This report applies to @desplega.ai/agent-fs@0.18.9.

- Review the evidence and your use of @desplega.ai/agent-fs@0.18.9 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. High: Child Process
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/cli.js
- **Public source:** [View source](<https://unpkg.com/@desplega.ai/agent-fs@0.18.9/dist/cli.js>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L760: 
L761: `}},"x-sse-events":{"presence.snapshot":{...s,description:"Only sent when presence=1, immediately after ready."},"presence.updated":{type:"object",description:"Only sent when prese...
L762: Start a daemon with \`agent-fs daemon start\` or set AGENT_FS_API_URL to connect to a remote server.`),process.exit(1)}rp=new K0({name:"agent-fs",version:it},{capabilities:{tools:{...
```

### 4. High: Shell
- **Category:** Source
- **Confidence:** 85.0%

Package source references shell execution.

### 5. Low: Weak Crypto
- **Category:** Source
- **Confidence:** 64.0%
- **Path:** dist/cli.js
- **Public source:** [View source](<https://unpkg.com/@desplega.ai/agent-fs@0.18.9/dist/cli.js>)

Package source references weak cryptographic algorithms.

Public source snippet (untrusted):

```javascript
L3: var ZI=Object.create;var{getPrototypeOf:ex,defineProperty:ud,getOwnPropertyNames:tx}=Object;var bp=Object.prototype.hasOwnProperty;function rx(e){return this[e]}var nx,ox,bt=(e,t,r...
L4: Install with: brew install sqlite`)}var wp=!1;var Ep=h(()=>{px()});import{mkdirSync as mx,readFileSync as fx,writeFileSync as pd,existsSync as Ip}from"fs";import{join as _o}from"pa...
L5: CREATE TABLE IF NOT EXISTS org_invites (
...
L294: DELETE FROM meta WHERE key = 'vec_int8_index';
L295: `),!ko(n))n.exec(Ji);return Tp(n),Ax(n,{schema:de})}var fe=h(()=>{Ep();Et();xp();kp();bn()});var Pp;var Dp=h(()=>{Pp={name:"agent-fs",version:"0.18.9",packageManager:"bun@1.4.4",pr...
L296: ${this.getCanonicalPath(e)}
...
L305: ${Ir.toHex(i)}`}getCanonicalPath({path:e}){if(this.uriEscapePath){let t=[];for(let o of
```

### 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. Critical: Same File Env Network Execution
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** dist/cli.js
- **Public source:** [View source](<https://unpkg.com/@desplega.ai/agent-fs@0.18.9/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
L747: };
L748: `,Iv;var Il=h(()=>{Iv=new WeakMap});import{and as Sv,eq as Ia,inArray as EO}from"drizzle-orm";async function xa(e,t,r,n){let o=e.$client,i=[],s=new Set;while(i.length<n){let a=Math...
L749: (${N.path} >= ${d} AND ${N.path} < ${l})
...
L751: (${N.path} >= ${c} AND ${N.path} < ${u})
L752: )`)}}if(t.parentId)r.push(W(N.parentId,t.parentId));else if(t.parentId===void 0&&!t.resolved)r.push(Ta`${N.parentId} IS NULL`),r.push(W(N.resolved,!1));else if(t.parentId===void 0&...
L753: ]))`;continue}else if(n[d]==="$"){o+=`($|(?=[\r
...
L760: 
L761: `}},"x-sse-events":{"presence.snapshot":{...s,description:"Only sent when presence=1, immediately after ready."},"presence.updated":{type:"object",description:"Only sent when prese...
L762: Start a daemon with \`agent-fs daemon start\` or set
```

### 10. Critical: Credential Exfiltration
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** dist/cli.js
- **Public source:** [View source](<https://unpkg.com/@desplega.ai/agent-fs@0.18.9/dist/cli.js>)

Source appears to send environment or credential material to an external endpoint.

Public source snippet (untrusted):

```javascript
L3: var ZI=Object.create;var{getPrototypeOf:ex,defineProperty:ud,getOwnPropertyNames:tx}=Object;var bp=Object.prototype.hasOwnProperty;function rx(e){return this[e]}var nx,ox,bt=(e,t,r...
L4: Install with: brew install sqlite`)}var wp=!1;var Ep=h(()=>{px()});import{mkdirSync as mx,readFileSync as fx,writeFileSync as pd,existsSync as Ip}from"fs";import{join as _o}from"pa...
L5: CREATE TABLE IF NOT EXISTS org_invites (
...
L294: DELETE FROM meta WHERE key = 'vec_int8_index';
L295: `),!ko(n))n.exec(Ji);return Tp(n),Ax(n,{schema:de})}var fe=h(()=>{Ep();Et();xp();kp();bn()});var Pp;var Dp=h(()=>{Pp={name:"agent-fs",version:"0.18.9",packageManager:"bun@1.4.4",pr...
L296: ${this.getCanonicalPath(e)}
...
L305: ${Ir.toHex(i)}`}getCanonicalPath({path:e}){if(this.uriEscapePath){let t=[];for(let o of
```

### 11. High: Command Output Exfiltration
- **Category:** Source
- **Confidence:** 82.0%
- **Path:** dist/cli.js
- **Public source:** [View source](<https://unpkg.com/@desplega.ai/agent-fs@0.18.9/dist/cli.js>)

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

Public source snippet (untrusted):

```javascript
L1180: agent-fs --drive ledger member add ana@example.com --role viewer`).action(async(n,o)=>{let i=r.parent?.opts().json,s=r.parent?.opts().drive;try{if(!s)throw Error("member add needs ...
L1181: ${l.name} [${l.role}]${p}`);let{drives:m}=await e.get(`/orgs/${l.id}/drives`);for(let g of m){let f=[];if(g.isDefault)f.push("default");if(c===g.id)f.push("active");let y=f.length>...
L1182: Adds the user to the org that owns the current drive, with --role, and grants that role on the
...
L1184: or 'member add' to give an existing org member access to another drive. An email without an
L1185: account gets a pending invite: send them the printed accept link.`).action(async(o,i)=>{let s=n.parent?.opts().json;try{let a=await t();await Wu(e);let d=await Li(e,a),c=Qa(d,await...
L1186: To connect to a
```

### 12. Critical: Trigger Reachable Dangerous Capability
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** dist/cli.js
- **Public source:** [View source](<https://unpkg.com/@desplega.ai/agent-fs@0.18.9/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
L3: var ZI=Object.create;var{getPrototypeOf:ex,defineProperty:ud,getOwnPropertyNames:tx}=Object;var bp=Object.prototype.hasOwnProperty;function rx(e){return this[e]}var nx,ox,bt=(e,t,r...
L4: Install with: brew install sqlite`)}var wp=!1;var Ep=h(()=>{px()});import{mkdirSync as mx,readFileSync as fx,writeFileSync as pd,existsSync as Ip}from"fs";import{join as _o}from"pa...
L5: CREATE TABLE IF NOT EXISTS org_invites (
...
L294: DELETE FROM meta WHERE key = 'vec_int8_index';
L295: `),!ko(n))n.exec(Ji);return Tp(n),Ax(n,{schema:de})}var fe=h(()=>{Ep();Et();xp();kp();bn()});var Pp;var Dp=h(()=>{Pp={name:"agent-fs",version:"0.18.9",packageManager:"bun@1.4.4",pr...
L296: ${this.getCanonicalPath(e)}
...
L305: ${Ir.toHex(i)}`}getCanonicalPath({p
```

### 13. High: Trigger Reachable Credential Exfiltration
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/cli.js
- **Public source:** [View source](<https://unpkg.com/@desplega.ai/agent-fs@0.18.9/dist/cli.js>)

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

Public source snippet (untrusted):

```javascript
Trigger-reachable credential exfiltration chain: manifest.bin -> dist/cli.js
L3: var ZI=Object.create;var{getPrototypeOf:ex,defineProperty:ud,getOwnPropertyNames:tx}=Object;var bp=Object.prototype.hasOwnProperty;function rx(e){return this[e]}var nx,ox,bt=(e,t,r...
L4: Install with: brew install sqlite`)}var wp=!1;var Ep=h(()=>{px()});import{mkdirSync as mx,readFileSync as fx,writeFileSync as pd,existsSync as Ip}from"fs";import{join as _o}from"pa...
L5: CREATE TABLE IF NOT EXISTS org_invites (
...
L294: DELETE FROM meta WHERE key = 'vec_int8_index';
L295: `),!ko(n))n.exec(Ji);return Tp(n),Ax(n,{schema:de})}var fe=h(()=>{Ep();Et();xp();kp();bn()});var Pp;var Dp=h(()=>{Pp={name:"agent-fs",version:"0.18.9",packageManager:"bun@1.4.4",pr...
L296: ${this.getCanonicalPath(e)}
...
L305: ${Ir.toHex(
```

### 14. High: Trigger Reachable Command Output Exfiltration
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/cli.js
- **Public source:** [View source](<https://unpkg.com/@desplega.ai/agent-fs@0.18.9/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
L1180: agent-fs --drive ledger member add ana@example.com --role viewer`).action(async(n,o)=>{let i=r.parent?.opts().json,s=r.parent?.opts().drive;try{if(!s)throw Error("member add needs ...
L1181: ${l.name} [${l.role}]${p}`);let{drives:m}=await e.get(`/orgs/${l.id}/drives`);for(let g of m){let f=[];if(g.isDefault)f.push("default");if(c===g.id)f.push("active");let y=f.length>...
L1182: Adds the user to the org that owns the current drive, with --role, and grants that role on the
...
L1184: or 'member add' to give an existing org member access to another drive. An email without an
L1185: account gets a pending invite: send them the printed accept link.`).action(async(o,i)=>{let s=n.parent?.opts().json;try{let a
```

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

Package source contains high-entropy string patterns.

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

Package source contains URL literals.

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

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

### Published dependency entries
- @aws-sdk/client-s3 ^3.750.0 (Dependency)
- @chonkiejs/core 0.0.12 (Dependency)
- @duckdb/node-api 1.5.3-r.3 (Dependency)
- @google/genai ^1.45.0 (Dependency)
- @modelcontextprotocol/sdk ^1.27.1 (Dependency)
- commander ^14.0.3 (Dependency)
- diff ^8.0.3 (Dependency)
- drizzle-orm ^0.44.0 (Dependency)
- hono ^4.12.8 (Dependency)
- msgpackr ^1 (Dependency)
- node-llama-cpp ^3.17.1 (Dependency)
- openai ^6.29.0 (Dependency)
- sqlite-vec ^0.1.9 (Dependency)
- unpdf 1.9.0 (Dependency)
- zod ^3.24.0 (Dependency)
- @desplega.ai/agent-fs-fuse-linux-arm64 ^0.18.9 (OptionalDependency)
- @desplega.ai/agent-fs-fuse-linux-x64 ^0.18.9 (OptionalDependency)
- sqlite-vec-darwin-arm64 ^0.1.9 (OptionalDependency)
- sqlite-vec-darwin-x64 ^0.1.9 (OptionalDependency)
- sqlite-vec-linux-arm64 ^0.1.9 (OptionalDependency)
- sqlite-vec-linux-x64 ^0.1.9 (OptionalDependency)
- sqlite-vec-windows-x64 ^0.1.9 (OptionalDependency)

## Package metadata
- **Package:** @desplega.ai/agent-fs
- **Ecosystem:** npm
- **Version:** 0.18.9
- **License:** MIT
- **Version published:** 2026-10-26T21:09:44.212Z
- **Package first seen:** 2026-07-09T10:04:23.865Z
- **Package last seen:** 2026-11-05T00:30:25.918Z
- **Known versions:** 49
- **Latest version:** 0.18.18
- **Appeal under review:** No
- **Description:** Agent-first filesystem backed by S3
- **Maintainers:** tarasyarema, 3z3
- **Keywords:** agent, filesystem, s3, mcp, cli
- **Runtime engines:** bun: \>=1.4.0
- **Artifact files:** 4
- **Artifact unpacked size:** 559,060 bytes
- **Artifact signatures:** 2
- **Attestations:** Yes
- **Provenance:** https://slsa.dev/provenance/v1

## References
- [HTML security report](<https://firewall.lpm.dev/npm/@desplega.ai/agent-fs/v/0.18.9>)
- [Repository](<https://github.com/desplega-ai/agent-fs>)
- [Homepage](<https://github.com/desplega-ai/agent-fs#readme>)
- [Issues](<https://github.com/desplega-ai/agent-fs/issues>)
