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

# @psnext/slingcli@3.1.20260904-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
**Flagged as agent extension risk** — Allowed by default with warning: install-time first-party agent extension setup was detected.

- **Verdict:** Suspicious
- **Product-default install policy:** Warn
- **Firewall policy:** Warn-only agent extension risk
- **Public report status:** Published
- **Threat category:** Agent extension lifecycle risk
- **Selected version:** 3.1.20260904-1
- **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.

This is a user-invoked but automatic agent-extension setup path that installs multiple packages globally. It warrants a warning rather than a block because it lacks an npm lifecycle trigger and no concrete malicious payload or exfiltration was confirmed.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 93.0%
- **Started:** 2026-09-05T05:24:26.596Z
- **Finished:** 2026-09-05T05:28:18.336Z
- **Download time:** 3300 ms
- **Static scan time:** 95468 ms
- **AI review time:** 132971 ms
- **Total time:** 231740 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:** Running the CLI can copy skills into the user's Sling agent directory and install configured extensions globally. This is an agent-extension control surface activated by normal CLI use.

- **Trigger:** The user runs sling without a skipped subcommand or help/version flag.

- **Impact:** Additional extension code can be added to the user's Sling agent environment without a per-package confirmation.

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

- **Review source:** ai\_review

- **Reviewed:** 2026-09-05T05:28:18.336Z

### AI review details

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

- **Mechanism:** Automatic global extension installation and skill synchronization.

- **Rationale:** This is a user-invoked but automatic agent-extension setup path that installs multiple packages globally. It warrants a warning rather than a block because it lacks an npm lifecycle trigger and no concrete malicious payload or exfiltration was confirmed.

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

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 93.0%

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

- **Intent class:** Dangerous Capability

- **False-positive risk:** Low

- **Evidence for warning:** The manifest exposes the sling executable., A normal CLI launch copies bundled skills into the user's Sling agent directory., The CLI automatically installs a configured list of extensions globally on first use.

- **Evidence against:** package.json has no npm lifecycle scripts., The writes and installs occur only after the user runs the sling command., No source-confirmed credential theft, command-output exfiltration, or hidden install-time execution was found.

## Affected versions and remediation

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

- Review the evidence and your use of @psnext/slingcli@3.1.20260904-1 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: Child Process
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** slingshot/index.js
- **Public source:** [View source](<https://unpkg.com/@psnext/slingcli@3.1.20260904-1/slingshot/index.js>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L35: `)}if(r)break}if(i.trim()){let r=sM(i);r&&(yield r)}}finally{n.releaseLock()}}function sM(t){let e=t.split(`
L36: `).find(n=>n.startsWith("data:"))?.slice(5).trim();return e&&e!=="[DONE]"?JSON.parse(e):void 0}function Nj(t,e,n){let i=n?"aborted":"error",r={role:"assistant",content:[],api:t.api...
L37: `).filter(Boolean),h=[];for(let f of g){let x=Lr(f),b=x.endsWith("/"),y=b?x.slice(0,-1):x;y===".git"||y.startsWith(".git/")||y.includes("/.git/")||h.push({path:x,isDirectory:b})}p(...
```

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

Package source references shell execution.

Public source snippet (untrusted):

```javascript
L104: `)}catch{return t.split(`
L105: `)}}function Us(t){let e=t.split(".").pop()?.toLowerCase();return e?{ts:"typescript",tsx:"typescript",js:"javascript",jsx:"javascript",mjs:"javascript",cjs:"javascript",py:"python"...
L106: `).map(r=>v.fg("mdCodeBlock",r));let i={language:n,ignoreIllegals:!0,theme:FE(v)};try{return vv(t,i).split(`
```

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

Package source references dynamic require/import behavior.

Public source snippet (untrusted):

```javascript
L1: var j4=Object.create;var Px=Object.defineProperty;var q4=Object.getOwnPropertyDescriptor;var G4=Object.getOwnPropertyNames;var K4=Object.getPrototypeOf,H4=Object.prototype.hasOwnPr...
L2: `:return"\\n";case"\r":return"\\r";case"	":return"\\t";default:return`\\u${t.codePointAt(0)?.toString(16).padStart(4,"0")??"0000"}`}}function wR(t){let e="",n=!1;for(let i=0;i<t.le...
```

### 4. 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.1.20260904-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: `+hint}catch{!context.logger||context.logger?.constructor?.name==="NoOpLogger"?console.warn(hint):context.logger?.warn?.(hint)}typeof error2.$responseBodyText<"u"&&error2.$response...
L11: `).slice(0,5).filter(s2=>!s2.includes("
```

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

Package source references network APIs.

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

Package source references environment variables.

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

Package source references filesystem APIs.

### 8. 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.1.20260904-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
L24: 
L25: `)}}}finally{e?.removeEventListener("abort",o);try{await n.cancel()}catch{}try{n.releaseLock()}catch{}}}function xb(t){let e=Ju.get(t);return e||(e={requests:0,connectionsCreated:0...
L26: 
...
L35: `)}if(r)break}if(i.trim()){let r=sM(i);r&&(yield r)}}finally{n.releaseLock()}}function sM(t){let e=t.split(`
L36: `).find(n=>n.startsWith("data:"))?.slice(5).trim();return e&&e!=="[DONE]"?JSON.parse(e):void 0}function Nj(t,e,n){let i=n?"aborted":"error",r={role:"assistant",content:[],api:t.api...
L37: `).filter(Boolean),h=[];for(let f of g){let x=Lr(f),b=x.endsWith("/"),y=b?x.slice(0,-1):x;y===".git"||y.startsWith(".git/")||y.includes("/.git/")||h.push({path:x,isDirectory:b})}p(...
```

### 9. 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.1.20260904-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(...
```

### 10. High: Credential Redirect Persistence
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** bin/sling.js
- **Public source:** [View source](<https://unpkg.com/@psnext/slingcli@3.1.20260904-1/bin/sling.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.
bin/sling.js:
import { existsSync, readFileSync, writeFileSync, mkdirSync, readdirSync, cpSync } from "node:fs";
import readline from "node:readline/promises";
console.log("Running without API keys...");
const rl = readline.createInterface({ input: process.stdin, output: process.stdout });
const rl = readline.createInterface({ input: process.stdin, output: process.stdout });
writeFileSync(configPath, JSON.stringify(config, null, 2));
```

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

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

Public source snippet (untrusted):

```javascript
L21: `);for(;l!==-1;){let c=r.slice(0,l);r=r.slice(l+2);let u=c.split(`
L22: `).filter(p=>p.startsWith("data:")).map(p=>p.slice(5).trim());if(u.length>0){let p=u.join(`
L23: `).trim();if(p&&p!=="[DONE]")try{yield JSON.parse(p)}catch(d){throw new Qu(`Invalid Codex SSE JSON: ${fs(d)}`,{cause:d,payload:p})}}l=r.indexOf(`
L24: 
L25: `)}}}finally{e?.removeEventListener("abort",o);try{await n.cancel()}catch{}try{n.releaseLock()}catch{}}}function xb(t){let e=Ju.get(t);return e||(e={requests:0,connectionsCreated:0...
L26: 
...
L35: `)}if(r)break}if(i.trim()){let r=sM(i);r&&(yield r)}}finally{n.releaseLock()}}function sM(t){let e=t.split(`
L36: `).find(n=>n.startsWith("data:"))?.slice(5).trim();return e&&e!=="[DONE]"?JSON.parse(e):void 0}function Nj(t,e,n){let i=n?"aborted":"error",r={role:"assista
```

### 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.1.20260904-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: `+hint}catch{!context.logger||context.logger?.constructor?.name==="NoOpLogger"?console.warn(hint):context.logger?.warn?.(hint)}typeof error2.$responseBodyText<"u"&&error2.$response...
L11: `).slice(0,5).filter(s2=>!s2.includes("
```

### 13. High: Cross File Remote Execution Context
- **Category:** Source
- **Confidence:** 72.0%
- **Path:** node\_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/chunk-PBNSMEG7.js
- **Public source:** [View source](<https://unpkg.com/@psnext/slingcli@3.1.20260904-1/node_modules/%40earendil-works/pi-coding-agent/dist/bundle/chunks/chunk-PBNSMEG7.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-PBNSMEG7.js spawns node_modules/@earendil-works/pi-coding-[redacted]-messages-JWX2WP65.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{require_bash,require_c,require_core,require_cpp,require_csharp,require_dart,require_go,require_groovy,require_java,require_javascript,require_kotlin,require_lua,require_nix,...
L3: `)}};Directives.defaultYaml={explicit:!1,version:"1.2"};Directives.defaultTags={"!!":"tag:yaml.org,2002:"};exports.Directives=Directives}});var require_anchors=__commonJS({"node_mo...
...
L51: `;return`${str2}
L52: ${indent}${end}
```

### 14. High: Trigger Reachable Command Output Exfiltration
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** node\_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/chunk-PBNSMEG7.js
- **Public source:** [View source](<https://unpkg.com/@psnext/slingcli@3.1.20260904-1/node_modules/%40earendil-works/pi-coding-agent/dist/bundle/chunks/chunk-PBNSMEG7.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-PBNSMEG7.js
L267: )
L268: `)}close(){this.#db.close()}get(key){assertCacheKey(key);let value=this.#findValue(key);return value?{body:value.body?Buffer.from(value.body.buffer,value.body.byteOffset,value.body...
L269: ${value}`;return}if(isFieldName(line,fieldLength,RETRY)){isASCIINumberBytes(line,valueStart)&&(event.retry=line.toString("utf8",valueStart));return}if(isFieldName(line,fieldLength,...
...
L271: `);err2.stack=stack?`${stack}
L272: ${captureLines}`:capture.stack}module.exports.fetch=function(init,options=void 0){return fetchImpl(init,options).catch(err2=>{
```

### 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/darwin/prebuilds/darwin-x64/darwin-modifiers.node
- **Public source:** [View source](<https://unpkg.com/@psnext/slingcli@3.1.20260904-1/node_modules/%40earendil-works/pi-tui/native/darwin/prebuilds/darwin-x64/darwin-modifiers.node>)

Package ships native binary artifacts.

Public source snippet (untrusted):

```text
path = node_modules/@earendil-works/pi-[redacted]-x64/darwin-modifiers.node
kind = native_binary
sizeBytes = 12776
magicHex = [redacted]
```

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

Package ships WebAssembly modules.

Public source snippet (untrusted):

```text
path = node_modules/@silvia-odwyer/photon-node/photon_rs_bg.wasm
kind = wasm_module
sizeBytes = 1881634
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.1.20260904-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/@anthropic-ai/sdk/client.js\#virtual:normalized:round1
- **Public source:** [View source](<https://unpkg.com/@psnext/slingcli@3.1.20260904-1/node_modules/%40anthropic-ai/sdk/client.js%23virtual%3Anormalized%3Around1>)

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

Public source snippet (untrusted):

```text
stage = ast_semantic_analysis; reason = ast_parse_error; limitedFiles = 97
```

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

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

### Published dependency entries
- @earendil-works/pi-agent-core file:../.sling-pack/earendil-works-pi-agent-core-0.84.3.tgz (Dependency)
- @earendil-works/pi-ai file:../.sling-pack/earendil-works-pi-ai-0.84.3.tgz (Dependency)
- @earendil-works/pi-client file:../.sling-pack/earendil-works-pi-client-0.84.3.tgz (Dependency)
- @earendil-works/pi-coding-agent file:../.sling-pack/earendil-works-pi-coding-agent-0.84.3.tgz (Dependency)
- @earendil-works/pi-protocol file:../.sling-pack/earendil-works-pi-protocol-0.84.3.tgz (Dependency)
- @earendil-works/pi-server file:../.sling-pack/earendil-works-pi-server-0.84.3.tgz (Dependency)
- @earendil-works/pi-tui file:../.sling-pack/earendil-works-pi-tui-0.84.3.tgz (Dependency)
- @modelcontextprotocol/sdk ^1.29.0 (Dependency)
- semver ^7.6.0 (Dependency)
- undici ^7.19.1 (Dependency)

## Package metadata
- **Package:** @psnext/slingcli
- **Ecosystem:** npm
- **Version:** 3.1.20260904-1
- **License:** UNLICENSED
- **Version published:** 2026-09-04T12:38:30.227Z
- **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.
- **Maintainers:** rravuri
- **Keywords:** cli, ai, llm, slingshot, psnext, publicis-sapient
- **Runtime engines:** node: \>=20.0.0
- **Artifact files:** 15266
- **Artifact unpacked size:** 104,263,916 bytes
- **Artifact signatures:** 1
- **Attestations:** No

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