---
canonical: "https://firewall.lpm.dev/npm/@psnext/slingcli"
markdown: "https://firewall.lpm.dev/npm/@psnext/slingcli/v/3.7.20261119-1.md"
package: "@psnext/slingcli"
report_status: "published"
title: "@psnext/slingcli@3.7.20261119-1 npm security report"
verdict: "policy_finding"
version: "3.7.20261119-1"
---

# @psnext/slingcli@3.7.20261119-1 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
**Soft block: AI-agent control surface** — Warn by default; block when configured. Adds external agent extensions without a specific user request and removes other extensions from the agent environment.

- **Verdict:** AI-agent control-surface policy finding
- **Product-default install policy:** Warn by default; block when configured
- **Firewall policy:** Warn by default
- **Public report status:** Published
- **Threat category:** Soft block: AI-agent control surface
- **Selected version:** 3.7.20261119-1
- **Selected version is latest:** No
- **Analysis source:** AI security review (lpm-firewall-ai)

This finding concerns changes to an AI agent's instructions or configuration without explicit user action. It does not by itself establish malware intent. The CLI warns by default and blocks when configured for this policy.

AI assessment: malicious; recommendation: publish block. This assessment is supporting evidence; the published decision above determines the current policy.

The CLI's default startup path installs extensions from other publishers and removes other installed extensions without an explicit user command. This meets the agent-control hijack rule for unrequested installation and removal of agent tools.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Malicious
- **Recorded analysis confidence:** 98.0%
- **Started:** 2026-11-19T17:08:56.722Z
- **Finished:** 2026-11-19T17:12:04.836Z
- **Download time:** 8215 ms
- **Static scan time:** 73214 ms
- **AI review time:** 106684 ms
- **Total time:** 188114 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:** Default startup changes the user's coding-agent extensions by installing third-party packages and removing packages designated unsupported.

- **Trigger:** Running the \`sling\` CLI, unless auto-install is skipped with a flag or environment setting.

- **Impact:** Adds external agent extensions without a specific user request and removes other extensions from the agent environment.

- **Evidence paths:** bin/sling.js, sling-default-packages.json

- **Review source:** ai\_review

- **Reviewed:** 2026-11-19T17:12:04.836Z

### AI review details

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

- **Mechanism:** The launcher reads the default package policy, globally installs listed npm extensions, and runs removal commands for installed packages marked unsupported.

- **Attack narrative:** On ordinary CLI startup, Sling automatically installs third-party agent extensions and removes previously installed extensions it has designated unsupported. These changes occur without an explicit request to install or remove those extensions; the opt-out does not make the default action user-requested.

- **Rationale:** The CLI's default startup path installs extensions from other publishers and removes other installed extensions without an explicit user command. This meets the agent-control hijack rule for unrequested installation and removal of agent tools.

- **Files touched:** bin/sling.js, sling-default-packages.json, ~/.sling/agent/settings.json

### Review decision

- **Verdict:** Malicious

- **Confidence:** 98.0%

- **Recommended action:** publish\_block

- **Intent class:** Dangerous Capability

- **False-positive risk:** Low

- **Evidence for policy risk:** The CLI calls its default package install routine during normal startup unless an opt-out flag or environment setting is present., The first-run package list includes npm extensions from other publishers, including pi-hermes-memory and pi-smart-fetch., Startup installs listed extensions globally by invoking the package manager with \`install -g\`., The default configuration marks pi-subagents, context-mode, and pi-ask-user as unsupported; startup invokes the package manager to remove those installed packages.

- **Evidence against:** The package is a coding-agent CLI, and managing extensions is related to its stated purpose., The README documents SKIP\_SLING\_AUTO\_INSTALL as an opt-out, but the default behavior still runs without an explicit install request.

## Affected versions and remediation

This report applies to @psnext/slingcli@3.7.20261119-1.

- Avoid installing @psnext/slingcli@3.7.20261119-1. 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, check your AI agents' configuration and instruction files (the files this report lists) for changes you did not make, and remove them. This finding does not by itself establish malware intent.

## Public findings

### 1. High: Child Process
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** slingshot/index.js
- **Public source:** [View source](<https://unpkg.com/@psnext/slingcli@3.7.20261119-1/slingshot/index.js>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L1: var MN=Object.defineProperty;var Hp=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(e,n)=>(typeof require<"u"?require:e)[n]}):t)(function(t){if(typeof require<"u"...
L2: `){return typeof t=="string"?t:t.filter(n=>n.type==="text").map(n=>n.text).join(e)}function on(t){let e=[nd(t.content)];for(let n of Object.values(t.sections??{}))n!==null&&e.push(...
```

### 2. High: Shell
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** slingshot/index.js
- **Public source:** [View source](<https://unpkg.com/@psnext/slingcli@3.7.20261119-1/slingshot/index.js>)

Package source references shell execution.

Public source snippet (untrusted):

```javascript
L177: ${n.fg("muted",l.join(`
L178: `))}`}let s=r.map(([l,c])=>`${l}=${JSON.stringify(c)??String(c)}`).join(" "),a=s.length>jO?`${s.slice(0,jO-3)}...`:s;return`${o} ${n.fg("muted",a)}`}function zO(t){let e=t/1e3;if(e...
L179: !.gitignore
```

### 3. Medium: Dynamic Require
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** slingshot/index.js
- **Public source:** [View source](<https://unpkg.com/@psnext/slingcli@3.7.20261119-1/slingshot/index.js>)

Package source references dynamic require/import behavior.

Public source snippet (untrusted):

```javascript
L1: var MN=Object.defineProperty;var Hp=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(e,n)=>(typeof require<"u"?require:e)[n]}):t)(function(t){if(typeof require<"u"...
L2: `){return typeof t=="string"?t:t.filter(n=>n.type==="text").map(n=>n.text).join(e)}function on(t){let e=[nd(t.content)];for(let n of Object.values(t.sections??{}))n!==null&&e.push(...
```

### 4. Medium: Unsafe Vm Context
- **Category:** Source
- **Confidence:** 68.0%
- **Path:** node\_modules/zod/src/v4/classic/tests/cyclic-data.test.ts
- **Public source:** [View source](<https://unpkg.com/@psnext/slingcli@3.7.20261119-1/node_modules/zod/src/v4/classic/tests/cyclic-data.test.ts>)

Package source executes code through a VM context API.

Public source snippet (untrusted):

```typescript
L1: import v8 from "node:v8";
L2: import vm from "node:vm";
```

### 5. Low: Weak Crypto
- **Category:** Source
- **Confidence:** 64.0%
- **Path:** node\_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/bedrock-converse-stream.js
- **Public source:** [View source](<https://unpkg.com/@psnext/slingcli@3.7.20261119-1/node_modules/%40earendil-works/pi-coding-agent/dist/bundle/chunks/bedrock-converse-stream.js>)

Package source references weak cryptographic algorithms.

Public source snippet (untrusted):

```javascript
L1: import { createRequire as __piCreateRequire } from "node:module"; const require = __piCreateRequire(import.meta.url);
L2: var __create=Object.create;var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __getProtoO...
L3: versions published after the first week of January 2027
...
L8: 
L9: More information can be found at: https://a.co/c895JFp`))}}}});var longPollMiddleware,longPollMiddlewareOptions,getLongPollPlugin,init_longPollMiddleware=__esm({"node_modules/@aws-...
L10: `).slice(0,5).filter(s2=>!s2.includes("stackTraceWarning")).join(`
L11: `),logger={warn:console.warn}}});function dateToUtcString(date2){let year2=date2.getUTCFullYear(),month=date2.getUTCMonth(),dayOfWeek=date2.getUTCDay(),dayO
```

### 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. High: Same File Env Network Execution
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** slingshot/index.js
- **Public source:** [View source](<https://unpkg.com/@psnext/slingcli@3.7.20261119-1/slingshot/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
L1: var MN=Object.defineProperty;var Hp=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(e,n)=>(typeof require<"u"?require:e)[n]}):t)(function(t){if(typeof require<"u"...
L2: `){return typeof t=="string"?t:t.filter(n=>n.type==="text").map(n=>n.text).join(e)}function on(t){let e=[nd(t.content)];for(let n of Object.values(t.sections??{}))n!==null&&e.push(...
```

### 10. Critical: Hardcoded Runtime Data Exfiltration
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** node\_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/kimi-coding.js
- **Public source:** [View source](<https://unpkg.com/@psnext/slingcli@3.7.20261119-1/node_modules/%40earendil-works/pi-coding-agent/dist/bundle/chunks/kimi-coding.js>)

Source sends credentials or rich application records to a package-controlled external receiver enabled by default.

Public source snippet (untrusted):

```javascript
Source sends the broad process environment to a literal external destination.
L1: import { createRequire as __piCreateRequire } from "node:module"; const require = __piCreateRequire(import.meta.url);
L2: var __require=(x=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(x,{get:(a,b)=>(typeof require<"u"?require:a)[b]}):x)(function(x){if(typeof require<"u")return require.apply(...
```

### 11. Critical: Command Output Exfiltration
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** slingshot/index.js
- **Public source:** [View source](<https://unpkg.com/@psnext/slingcli@3.7.20261119-1/slingshot/index.js>)

Source executes local commands and sends command output to an external endpoint.

Public source snippet (untrusted):

```javascript
L101: `),l=!1;for(let c=0;c<e.length;c++){let p=e[c];switch(l&&p.type==="text"&&!p.tokens?.length&&/^[ \t]/.test(p.text)&&(p={...p,text:p.text.replace(/^[ \t]+/,"")}),l=!1,p.type){case"l...
L102: `;break;case"del":{let u=this.renderInlineTokens(p.tokens||[],o);i+=this.theme.strikethrough(u)+s;break}case"html":p.raw.startsWith("<!--")?l=c===0||/[ \t]$/.test(e[c-1].raw):i+=a(...
L103: `),o+=`\r\x1B[2K${this.lastDocument[r]??""}`;o+=`\x1B[0m${Ib}\r
...
L110: `)}catch{return t.split(`
L111: `).map(o=>te.fg("mdCodeBlock",o))}}function wi(){return{heading:t=>te.fg("mdHeading",t),link:t=>te.fg("mdLink",t),linkUrl:t=>te.fg("mdLinkUrl",t),code:t=>te.fg("mdCode",t),codeBloc...
L112: 1. Install Git for Windows: https://git-scm.com/download/win
L113: 2. Add your bash to PATH (Cygwin, MSYS2, etc.)
```

### 12. High: Cloud Metadata Access
- **Category:** Source
- **Confidence:** 84.0%
- **Path:** node\_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/bedrock-converse-stream.js
- **Public source:** [View source](<https://unpkg.com/@psnext/slingcli@3.7.20261119-1/node_modules/%40earendil-works/pi-coding-agent/dist/bundle/chunks/bedrock-converse-stream.js>)

Source reaches cloud instance metadata or link-local credential endpoints.

Public source snippet (untrusted):

```javascript
L1: import { createRequire as __piCreateRequire } from "node:module"; const require = __piCreateRequire(import.meta.url);
L2: var __create=Object.create;var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __getProtoO...
L3: versions published after the first week of January 2027
...
L8: 
L9: More information can be found at: https://a.co/c895JFp`))}}}});var longPollMiddleware,longPollMiddlewareOptions,getLongPollPlugin,init_longPollMiddleware=__esm({"node_modules/@aws-...
L10: `).slice(0,5).filter(s2=>!s2.includes("stackTraceWarning")).join(`
L11: `),logger={warn:console.warn}}});function dateToUtcString(date2){let year2=date2.getUTCFullYear(),month=date2.getUTCMonth(),dayOfWeek=date2.getUTCDay(),dayO
```

### 13. High: Cross File Remote Execution Context
- **Category:** Source
- **Confidence:** 72.0%
- **Path:** node\_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/chunk-36QC74V4.js
- **Public source:** [View source](<https://unpkg.com/@psnext/slingcli@3.7.20261119-1/node_modules/%40earendil-works/pi-coding-agent/dist/bundle/chunks/chunk-36QC74V4.js>)

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: node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/chunk-36QC74V4.js spawns node_modules/@earendil-works/pi-coding-[redacted]-worker.js; helper contains network access plus dynamic code execution.
L1: import { createRequire as __piCreateRequire } from "node:module"; const require = __piCreateRequire(import.meta.url);
L2: import{__commonJS,__require,__toESM}from"./chunk-JXWJOIH4.js";var require_windows=__commonJS({"node_modules/isexe/windows.js"(exports,module){module.exports=isexe;isexe.sync=sync;v...
```

### 14. High: Trigger Reachable Command Output Exfiltration
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** node\_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/chunk-PO5WSTEP.js
- **Public source:** [View source](<https://unpkg.com/@psnext/slingcli@3.7.20261119-1/node_modules/%40earendil-works/pi-coding-agent/dist/bundle/chunks/chunk-PO5WSTEP.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 -> bin/sling.js -> node_modules/@earendil-works/pi-coding-agent/dist/bundle/rpc-entry.js -> node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/chunk-PO5WSTEP.js
L464: PI_TELEMETRY                     - Override install telemetry when set to 1/true/yes or 0/false/no
L465: PI_SHARE_VIEWER_URL              - Base URL for /share command (default: https://pi.dev/session/)
L466: 
...
L469: bash       - Execute bash commands
L470: powershell - Execute PowerShell commands on Windows
L471: edit       - Edit files with find/replace
...
L475: ls         - List directory contents (read-only, off by default)
L476: `)}var balanced=(a,b,str2)=>{let ma=a instanceof RegExp?maybeMatch(a,str2):a,mb=b instanceof RegExp?maybeMatch(b
```

### 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: Ships Native Binary
- **Category:** Artifact Inventory
- **Confidence:** 75.0%
- **Path:** node\_modules/@earendil-works/pi-tui/native/linux/prebuilds/linux-arm64/linux-platform-x11.node
- **Public source:** [View source](<https://unpkg.com/@psnext/slingcli@3.7.20261119-1/node_modules/%40earendil-works/pi-tui/native/linux/prebuilds/linux-arm64/linux-platform-x11.node>)

Package ships native binary artifacts.

Public source snippet (untrusted):

```text
path = node_modules/@earendil-works/pi-[redacted]-arm64/linux-platform-x11.node
kind = native_binary
sizeBytes = 67240
magicHex = [redacted]
```

### 18. Medium: Ships Wasm Module
- **Category:** Artifact Inventory
- **Confidence:** 70.0%
- **Path:** node\_modules/@silvia-odwyer/photon/photon\_rs\_bg.wasm
- **Public source:** [View source](<https://unpkg.com/@psnext/slingcli@3.7.20261119-1/node_modules/%40silvia-odwyer/photon/photon_rs_bg.wasm>)

Package ships WebAssembly modules.

Public source snippet (untrusted):

```text
path = node_modules/@silvia-odwyer/photon/photon_rs_bg.wasm
kind = wasm_module
sizeBytes = 1880773
magicHex = [redacted]
```

### 19. Medium: Ships Build Helper
- **Category:** Artifact Inventory
- **Confidence:** 70.0%
- **Path:** skills/screenshot/scripts/take\_screenshot.py
- **Public source:** [View source](<https://unpkg.com/@psnext/slingcli@3.7.20261119-1/skills/screenshot/scripts/take_screenshot.py>)

Package ships non-JavaScript build or shell helper files.

Public source snippet (untrusted):

```python
path = skills/screenshot/scripts/take_screenshot.py
kind = build_helper
sizeBytes = 19659
magicHex = [redacted]
```

### 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. Low: No License
- **Category:** Manifest
- **Confidence:** 80.0%

Package manifest does not declare a clear license.

### 22. High: Semantic Analysis Limited
- **Category:** Scanner Coverage
- **Confidence:** 100.0%
- **Path:** node\_modules/@aws-sdk/credential-provider-login/dist-es/LoginCredentialsFetcher.js
- **Public source:** [View source](<https://unpkg.com/@psnext/slingcli@3.7.20261119-1/node_modules/%40aws-sdk/credential-provider-login/dist-es/LoginCredentialsFetcher.js>)

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_alias_growth_limit_exceeded; limitedFiles = 27
```

### 23. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** node\_modules/@earendil-works/pi-coding-agent/dist/core/footer-data-provider.js
- **Public source:** [View source](<https://unpkg.com/@psnext/slingcli@3.7.20261119-1/node_modules/%40earendil-works/pi-coding-agent/dist/core/footer-data-provider.js>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = normalized_sha256
matchedPackage = @diffexai/diffex@0.2.1
matchedPath = dist/core/footer-data-provider.js
matchedIdentity = npm:QGRpZmZleGFpL2RpZmZleA:0.2.1
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 24. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** node\_modules/@earendil-works/pi-coding-agent/dist/core/resolve-config-value.js
- **Public source:** [View source](<https://unpkg.com/@psnext/slingcli@3.7.20261119-1/node_modules/%40earendil-works/pi-coding-agent/dist/core/resolve-config-value.js>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = normalized_sha256
matchedPackage = @diffexai/diffex@0.2.1
matchedPath = dist/core/resolve-config-value.js
matchedIdentity = npm:QGRpZmZleGFpL2RpZmZleA:0.2.1
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

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

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

### Published dependency entries
- @earendil-works/chord 1.5.2 (Dependency)
- @earendil-works/pi-agent-core 1.5.2 (Dependency)
- @earendil-works/pi-ai 1.5.2 (Dependency)
- @earendil-works/pi-codemode 1.5.2 (Dependency)
- @earendil-works/pi-coding-agent 1.5.2 (Dependency)
- @earendil-works/pi-durable 1.5.2 (Dependency)
- @earendil-works/pi-env 1.5.2 (Dependency)
- @earendil-works/pi-mcp 1.5.2 (Dependency)
- @earendil-works/pi-schema 1.5.2 (Dependency)
- @earendil-works/pi-telemetry 1.5.2 (Dependency)
- @earendil-works/pi-tui 1.5.2 (Dependency)
- @modelcontextprotocol/sdk ^1.32.0 (Dependency)
- @mozilla/readability ^0.6.0 (Dependency)
- @sinclair/typebox ^0.34.52 (Dependency)
- linkedom ^0.18.12 (Dependency)
- semver ^7.6.0 (Dependency)
- turndown ^7.2.4 (Dependency)
- undici 7.30.1 (Dependency)

## Package metadata
- **Package:** @psnext/slingcli
- **Ecosystem:** npm
- **Version:** 3.7.20261119-1
- **License:** UNLICENSED
- **Version published:** 2026-11-19T17:07:05.320Z
- **Package first seen:** 2026-08-10T13:52:44.339Z
- **Package last seen:** 2026-11-20T03:10:38.646Z
- **Known versions:** 28
- **Latest version:** 3.7.20261120-2
- **Appeal under review:** No
- **Description:** Connects Sling CLI to Publicis Sapient Slingshot enterprise LLM gateway. Bundles the pi coding-agent runtime.
- **Keywords:** cli, ai, llm, slingshot, psnext, publicis-sapient
- **Runtime engines:** node: \>=20.0.0
- **Artifact files:** 21057
- **Artifact unpacked size:** 145,737,017 bytes
- **Artifact signatures:** 2
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/@psnext/slingcli/v/3.7.20261119-1>)
- [Repository](<https://pscode.lioncloud.net/psaiproducts/slingcli.git>)
