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

# pooly@0.2.22 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 21 findings warrant review before installing.

- **Verdict:** Suspicious
- **Product-default install policy:** Warn
- **Firewall policy:** Telemetry warning (can be blocked)
- **Public report status:** Published
- **Threat category:** Telemetry
- **Selected version:** 0.2.22
- **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 CLI automatically sends a visit event on startup, and no disclosure or opt-out was found. The inspected payload contains only basic usage flags, so the evidence supports suspicious telemetry rather than credential exfiltration.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 91.0%
- **Started:** 2026-11-04T21:34:01.159Z
- **Finished:** 2026-11-04T21:35:01.570Z
- **Download time:** 260 ms
- **Static scan time:** 258 ms
- **AI review time:** 59892 ms
- **Total time:** 60411 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:** Undisclosed runtime telemetry sends a small CLI visit event to the Pooly service.

- **Trigger:** Every CLI startup.

- **Impact:** The service can observe CLI usage and the request's network origin; no credential collection was identified in this telemetry flow.

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

- **Review source:** ai\_review

- **Reviewed:** 2026-11-04T21:35:01.570Z

### AI review details

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

- **Mechanism:** The CLI posts the path, source, CI flag, and TTY flag to the configured API host's /api/public/visit endpoint.

- **Rationale:** The CLI automatically sends a visit event on startup, and no disclosure or opt-out was found. The inspected payload contains only basic usage flags, so the evidence supports suspicious telemetry rather than credential exfiltration.

- **Files touched:** dist/index.js

- **Network endpoints:** https://pooly-be.onrender.com/api/public/visit

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 91.0%

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

- **Intent class:** Dangerous Capability

- **False-positive risk:** Medium

- **Evidence for warning:** The package exposes dist/index.js as both CLI commands., CLI startup calls a visit function that posts the path, source, CI status, and TTY status to /api/public/visit., The visit request runs automatically at CLI startup, and no disclosure or telemetry opt-out was found.

- **Evidence against:** The visit payload contains usage flags, not credentials or file contents., The default API host is pooly-be.onrender.com, consistent with the package's Pooly service.

## Affected versions and remediation

This report applies to pooly@0.2.22.

- Review the evidence and your use of pooly@0.2.22 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. High: Install Time Lifecycle Scripts
- **Category:** Manifest
- **Confidence:** 90.0%
- **Path:** package.json
- **Public source:** [View source](<https://unpkg.com/pooly@0.2.22/package.json>)

Package defines install-time lifecycle scripts.

Public source snippet (untrusted):

```json
scripts.postinstall = node scripts/windowsShim.cjs
```

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

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

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

Package declares npm scripts.

### 4. Medium: Secret Pattern
- **Category:** Secrets
- **Confidence:** 75.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/pooly@0.2.22/dist/index.js>)

Package contains a possible secret pattern.

Public source snippet (untrusted):

```javascript
patternName = generic_password
severity = medium
line = 32
```

### 5. High: Child Process
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/pooly@0.2.22/dist/index.js>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L30: URI: ${a}
L31: `)),console.log(ze.yellow("Waiting for signature\u2026 (5 min timeout)"));let s=await Promise.race([r(),new Promise((g,f)=>{setTimeout(()=>{f(new h("No signature received. Proposal...
L32: `),n}async function Oe(e={}){let n=fn(),o=await at(5e3),t=rt();if(o&&tt(n,o)>=0){e.json?console.log(JSON.stringify({ok:!0,updated:!1,version:n})):console.log(`Already on the latest...
```

### 6. High: Shell
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/pooly@0.2.22/dist/index.js>)

Package source references shell execution.

Public source snippet (untrusted):

```javascript
L30: URI: ${a}
L31: `)),console.log(ze.yellow("Waiting for signature\u2026 (5 min timeout)"));let s=await Promise.race([r(),new Promise((g,f)=>{setTimeout(()=>{f(new h("No signature received. Proposal...
L32: `),n}async function Oe(e={}){let n=fn(),o=await at(5e3),t=rt();if(o&&tt(n,o)>=0){e.json?console.log(JSON.stringify({ok:!0,updated:!1,version:n})):console.log(`Already on the latest...
```

### 7. Medium: Network
- **Category:** Source
- **Confidence:** 75.0%

Package source references network APIs.

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

Package source references environment variables.

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

Package source references filesystem APIs.

### 10. High: Same File Env Network Execution
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/pooly@0.2.22/dist/index.js>)

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

Public source snippet (untrusted):

```javascript
L18: `});function co(e){return String(e||"").trim().toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-|-$/g,"")}function uo(e,n){let o=n.slice().sort((r,s)=>String(s.created_at||"").l...
L19: `)}function po(e,n){let o=String(n||"").trim().toLowerCase();if(!o)return{error:{code:"pool_required",message:"Pool required"}};let t=e.find(i=>i.id.toLowerCase()===o);if(t)return{...
L20: `),d?s(d):r(i)},f=d=>{for(let y of String(d)){if(c){c+=y,/[A-Za-z~]/.test(y)&&c.length>1&&(c=""),c.length>8&&(c="");continue}if(y==="\x1B"){c=y;continue}if(y===""){g(new Error("ca...
...
L26: `||A==="\r")&&j(n[r].value)},M=A=>{let ne=String(A);for(let Y=0;Y<ne.length;Y++){let hn=ne[Y];if(c||hn==="\x1B"){if(c+=hn,c==="\x1B"||c==="\x1B[")continue;if(c==="\x1B[A"||c==="\x1...
L27: `)}async function vo(e,n){let o=_o(
```

### 11. Critical: Credential Exfiltration
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/pooly@0.2.22/dist/index.js>)

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

Public source snippet (untrusted):

```javascript
L1: #!/usr/bin/env node
L2: var Ut=Object.defineProperty;var F=(e,n)=>()=>(e&&(n=e(e=0)),n);var Ne=(e,n)=>{for(var o in n)Ut(e,o,{get:n[o],enumerable:!0})};var Zn={};Ne(Zn,{CliError:()=>h,EXIT:()=>S,banner:()...
L3: `)}function je(e,n="error"){process.stderr.write(`${JSON.stringify({error:e,code:n})}
L4: `)}function b(e){console.log(be.green(e))}function m(e){console.log(be.yellow(e))}function De(e){console.error(be.red(e))}function w(e){console.log(be.dim(e))}function X(e){console...
L5: `)}function bn(){let e=Vn.reduce((n,o)=>Math.max(n,he(o)),0);return Xn([zn("Welcome to",e),"",...Vn],7,1)}function _e(e,n=""){let o=String(e||"").trim();return/^https:\/\/[^\s]+$/i...
L6: `)}function Ue(){return[so("Commands",["cmd","function","example"],Mt),"",so("Flags",["flag","function","on"],Ft),"","
```

### 12. High: Credential Redirect Persistence
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/pooly@0.2.22/dist/index.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/index.js:
`}var ro,ve,Mt,Ft,vn,Er,re=F(()=>{"use strict";q();ro=["   ",".  ",".. ","..."],ve="Programmable money for humans and agents.",Mt=[{name:"create",fn:"Make a pool",extra:'create --n...
`)}function po(e,n){let o=String(n||"").trim().toLowerCase();if(!o)return{error:{code:"pool_required",message:"Pool required"}};let t=e.find(i=>i.id.toLowerCase()===o);if(t)return{...
`)}async function vo(e,n){let o=_o(e);if(!xn.existsSync(o))throw new Error("No local keystore for this Agent.");let t=xn.readFileSync(o,"utf8"),a=await Jt.fromEncryptedJson(t,n);re...
`)),console.log(ze.yellow("Waiting for signature\u2026 (5 min timeout)"));le
```

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

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

Public source snippet (untrusted):

```javascript
L18: `});function co(e){return String(e||"").trim().toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-|-$/g,"")}function uo(e,n){let o=n.slice().sort((r,s)=>String(s.created_at||"").l...
L19: `)}function po(e,n){let o=String(n||"").trim().toLowerCase();if(!o)return{error:{code:"pool_required",message:"Pool required"}};let t=e.find(i=>i.id.toLowerCase()===o);if(t)return{...
L20: `),d?s(d):r(i)},f=d=>{for(let y of String(d)){if(c){c+=y,/[A-Za-z~]/.test(y)&&c.length>1&&(c=""),c.length>8&&(c="");continue}if(y==="\x1B"){c=y;continue}if(y===""){g(new Error("ca...
...
L30: URI: ${a}
L31: `)),console.log(ze.yellow("Waiting for signature\u2026 (5 min timeout)"));let s=await Promise.race([r(),new Promise((g,f)=>{setTimeout(()=>{f(new h("No signature received. Proposal...
L32: `),n}async function
```

### 14. High: Copied Package Dependency Bridge
- **Category:** Source
- **Confidence:** 83.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/pooly@0.2.22/dist/index.js>)

Package metadata claims a different repository identity while copied source loads a runtime dependency bridge.

Public source snippet (untrusted):

```javascript
package = pooly; repositoryIdentity = pooly-be; dependency = @napi-rs/keyring
L26: `||A==="\r")&&j(n[r].value)},M=A=>{let ne=String(A);for(let Y=0;Y<ne.length;Y++){let hn=ne[Y];if(c||hn==="\x1B"){if(c+=hn,c==="\x1B"||c==="\x1B[")continue;if(c==="\x1B[A"||c==="\x1...
L27: `)}async function vo(e,n){let o=_o(e);if(!xn.existsSync(o))throw new Error("No local keystore for this Agent.");let t=xn.readFileSync(o,"utf8"),a=await Jt.fromEncryptedJson(t,n);re...
L28: Scan with MetaMask to sign.
```

### 15. Critical: Trigger Reachable Dangerous Capability
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/pooly@0.2.22/dist/index.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: scripts.start -> dist/index.js
L1: #!/usr/bin/env node
L2: var Ut=Object.defineProperty;var F=(e,n)=>()=>(e&&(n=e(e=0)),n);var Ne=(e,n)=>{for(var o in n)Ut(e,o,{get:n[o],enumerable:!0})};var Zn={};Ne(Zn,{CliError:()=>h,EXIT:()=>S,banner:()...
L3: `)}function je(e,n="error"){process.stderr.write(`${JSON.stringify({error:e,code:n})}
L4: `)}function b(e){console.log(be.green(e))}function m(e){console.log(be.yellow(e))}function De(e){console.error(be.red(e))}function w(e){console.log(be.dim(e))}function X(e){console...
L5: `)}function bn(){let e=Vn.reduce((n,o)=>Math.max(n,he(o)),0);return Xn([zn("Welcome to",e),"",...Vn],7,1)}function _e(e,n=""){let o=String(e||"").trim();return/^https:\/\/[^\s]+$/i...
L6: `)}function Ue(){return[so("Commands",["cmd","function","examp
```

### 16. High: Trigger Reachable Credential Exfiltration
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/pooly@0.2.22/dist/index.js>)

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

Public source snippet (untrusted):

```javascript
Trigger-reachable credential exfiltration chain: scripts.start -> dist/index.js
L1: #!/usr/bin/env node
L2: var Ut=Object.defineProperty;var F=(e,n)=>()=>(e&&(n=e(e=0)),n);var Ne=(e,n)=>{for(var o in n)Ut(e,o,{get:n[o],enumerable:!0})};var Zn={};Ne(Zn,{CliError:()=>h,EXIT:()=>S,banner:()...
L3: `)}function je(e,n="error"){process.stderr.write(`${JSON.stringify({error:e,code:n})}
L4: `)}function b(e){console.log(be.green(e))}function m(e){console.log(be.yellow(e))}function De(e){console.error(be.red(e))}function w(e){console.log(be.dim(e))}function X(e){console...
L5: `)}function bn(){let e=Vn.reduce((n,o)=>Math.max(n,he(o)),0);return Xn([zn("Welcome to",e),"",...Vn],7,1)}function _e(e,n=""){let o=String(e||"").trim();return/^https:\/\/[^\s]+$/i...
L6: `)}function Ue(){return[so("Commands",
```

### 17. High: Trigger Reachable Command Output Exfiltration
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/pooly@0.2.22/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: scripts.start -> dist/index.js
L18: `});function co(e){return String(e||"").trim().toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-|-$/g,"")}function uo(e,n){let o=n.slice().sort((r,s)=>String(s.created_at||"").l...
L19: `)}function po(e,n){let o=String(n||"").trim().toLowerCase();if(!o)return{error:{code:"pool_required",message:"Pool required"}};let t=e.find(i=>i.id.toLowerCase()===o);if(t)return{...
L20: `),d?s(d):r(i)},f=d=>{for(let y of String(d)){if(c){c+=y,/[A-Za-z~]/.test(y)&&c.length>1&&(c=""),c.length>8&&(c="");continue}if(y==="\x1B"){c=y;continue}if(y===""){g(new Error("ca...
...
L30: URI: ${a}
L31: `)),console.log(ze.yellow("Waiting for signature\u2026 (5 min timeout)"));let s=await Promise.race([r(),new Promise((g,f)=>{s
```

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

Package source contains high-entropy string patterns.

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

Package source contains URL literals.

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

### 21. Critical: Previous Version Dangerous Delta
- **Category:** Supply Chain
- **Confidence:** 93.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/pooly@0.2.22/dist/index.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 = pooly@0.2.21
matchedIdentity = npm:cG9vbHk:0.2.21
similarity = 0.500
summary = stored previous version shares package body but lacks this dangerous source file
```

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

### Published dependency entries
- @napi-rs/keyring ^1.3.0 (Dependency)
- @walletconnect/sign-client ^2.17.3 (Dependency)
- chalk ^5.4.1 (Dependency)
- commander ^12.1.0 (Dependency)
- conf ^13.1.0 (Dependency)
- ethers ^6.17.0 (Dependency)
- hash-wasm ^4.12.0 (Dependency)
- ink ^5.1.0 (Dependency)
- ink-select-input ^6.0.0 (Dependency)
- ink-spinner ^5.0.0 (Dependency)
- ink-text-input ^6.0.0 (Dependency)
- qrcode-terminal ^0.12.0 (Dependency)
- react ^18.3.1 (Dependency)
- viem ^2.23.2 (Dependency)

## Package metadata
- **Package:** pooly
- **Ecosystem:** npm
- **Version:** 0.2.22
- **License:** MIT
- **Version published:** 2026-11-04T21:30:06.986Z
- **Package first seen:** 2026-09-12T21:03:50.723Z
- **Package last seen:** 2026-11-05T21:24:52.243Z
- **Known versions:** 13
- **Latest version:** 0.2.24
- **Appeal under review:** No
- **Description:** Pooly gives humans and AI agents programmable spending authority.
- **Maintainers:** pooly
- **Keywords:** pooly, cli, usdc, base, agents, x402
- **Runtime engines:** node: \>=20
- **Artifact files:** 5
- **Artifact unpacked size:** 131,528 bytes
- **Artifact signatures:** 2
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/pooly/v/0.2.22>)
- [Repository](<https://github.com/harrisqazi/pooly-be>)
- [Homepage](<https://github.com/harrisqazi/pooly-be#readme>)
- [Issues](<https://github.com/harrisqazi/pooly-be/issues>)
