Loading npm security reports…
Loading npm security reports…
@psnext/slingcli@3.3.20260914-1: Agent extension lifecycle risk | LPM Firewall
Flagged as agent extension risk
Allowed by default with warning: install-time first-party agent extension setup was detected.
AI security reviewscanned on Sep 14, 2026, 06:59 UTC · by lpm-firewall-ai This is not a malicious npm install hook, but the CLI silently changes a global agent control surface and installs multiple extensions on ordinary use. The bundled telemetry adds a concrete data-disclosure risk.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review; previous stored version diff introduced dangerous source
Trigger
A user runs sling without a built-in package-management subcommand.
Impact
Unreviewed extensions gain access to the agent environment; session location, Git remote, and file-change metadata may be disclosed.
Mechanism
Automatic global agent setup, extension installation, and session analytics.
Evidence
bin/sling.js sling-default-packages.json slingshot/index.js ~/.sling/agent/skills ~/.sling/agent/settings.json ~/.sling/agent/slingshot-models.cache.json
Network endpoints2
registry.npmjs.org raw.githubusercontent.com
Decision evidencepublic snapshot Evidence for warning
A bare Sling launch copies bundled skills into the global Sling agent skills directory, overwriting existing skill directories. A bare launch automatically installs eight extension packages globally and removes packages listed as unsupported. Normal interactive runs rewrite global Sling agent settings and inject a credit status item. The bundled extension posts session analytics including the working folder, Git remote, and file-change counts to its configured activity service. Evidence against
The manifest has no preinstall, install, or postinstall lifecycle script. The behavior activates through the user-invoked CLI rather than automatically during npm installation. No runtime dependency on this package's own name was found. Behavioral surface
Source Child process · Dynamic require · Environment variables · Filesystem · Network · Shell
Supply chain High entropy strings · Minified · Possible obfuscation · URL strings
Manifest No license
Scanned 3 files · 1.69 MB of source
50 external domains referenced
127.0.0.1 ai-gateway.vercel.sh api.ant-ling.com api.anthropic.com api.cerebras.ai api.cloudflare.com api.deepseek.com api.fireworks.ai api.github.com api.groq.com api.individual.githubcopilot.com api.kimi.com api.minimax.io api.minimaxi.com api.mistral.ai api.moonshot.ai api.moonshot.cn api.openai.com api.together.ai api.x.ai api.xiaomimimo.com api.z.ai bedrock-runtime.eu-central-1.amazonaws.com bedrock-runtime.us-east-1.amazonaws.com chatgpt.com claude.ai cli.github.com cloud.google.com dev-slingshot.sapientaiproducts.com docs.aws.amazon.com gateway.ai.cloudflare.com generativelanguage.googleapis.com git-scm.com github.com inference.baseten.co integrate.api.nvidia.com mariozechner.at mistral.ai open.bigmodel.cn opencode.ai openrouter.ai pi.dev radius.pi.dev raw.githubusercontent.com registry.npmjs.org router.huggingface.co sapientaiproducts.com slingshot.sapientaiproducts.com token-plan-ams.xiaomimimo.com token-plan-cn.xiaomimimo.com Findings3 critical · 12 high · 8 medium · 5 low Source & flagged code21 flagged Critical Command output exfiltration
Source executes local commands and sends command output to an external endpoint.
slingshot/index.js View on unpkg · L21 Code excerpt · 8 lines 21 `);for(;l!==-1;){let c=r.slice(0,l);r=r.slice(l+2);let u=c.split(`
22 `).filter(p=>p.startsWith("data:")).map(p=>p.slice(5).trim());if(u.length>0){let p=u.join(`
23 `).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(`
24
25 `)}}}finally{e?.removeEventListener("abort",o);try{await n.cancel()}catch{}try{n.releaseLock()}catch{}}}function bb(t){let e=Ju.get(t);return e||(e={requests:0,connectionsCreated:0...
26
⋯
35 `)}if(r)break}if(i.trim()){let r=uM(i);r&&(yield r)}}finally{n.releaseLock()}}function uM(t){let e=t.split(`
36 `).find(n=>n.startsWith("data:"))?.slice(5).trim();return e&&e!=="[DONE]"?JSON.parse(e):void 0}function Kj(t,e,n){let i=n?"aborted":"error",r={role:"assista
High Child process
Package source references child process execution.
slingshot/index.js View on unpkg · L35 Code excerpt · 3 lines 35 `)}if(r)break}if(i.trim()){let r=uM(i);r&&(yield r)}}finally{n.releaseLock()}}function uM(t){let e=t.split(`
36 `).find(n=>n.startsWith("data:"))?.slice(5).trim();return e&&e!=="[DONE]"?JSON.parse(e):void 0}function Kj(t,e,n){let i=n?"aborted":"error",r={role:"assistant",content:[],api:t.api...
37 `).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(...
High Same file environment network execution
A single source file combines environment access, network access, and code or shell execution; review context before blocking.
slingshot/index.js View on unpkg · L24 Code excerpt · 5 lines 25 `)}}}finally{e?.removeEventListener("abort",o);try{await n.cancel()}catch{}try{n.releaseLock()}catch{}}}function bb(t){let e=Ju.get(t);return e||(e={requests:0,connectionsCreated:0...
26
⋯
35 `)}if(r)break}if(i.trim()){let r=uM(i);r&&(yield r)}}finally{n.releaseLock()}}function uM(t){let e=t.split(`
36 `).find(n=>n.startsWith("data:"))?.slice(5).trim();return e&&e!=="[DONE]"?JSON.parse(e):void 0}function Kj(t,e,n){let i=n?"aborted":"error",r={role:"assistant",content:[],api:t.api...
37 `).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(...
High Sandbox evasion gated capability
Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
slingshot/index.js View on unpkg · L1 Code excerpt · 5 lines 1 var z4=Object.create;var Ix=Object.defineProperty;var V4=Object.getOwnPropertyDescriptor;var Q4=Object.getOwnPropertyNames;var J4=Object.getPrototypeOf,Y4=Object.prototype.hasOwnPr...
2 `:return"\\n";case"\r":return"\\r";case" ":return"\\t";default:return` \\u${t.codePointAt (0 )?.toString (16 ).padStart (4 ,"0" )??"0000" }`}}function CR(t){let e="",n=!1;for(let i=0;i<t.le...
3 `));let n=t.map(r=>r.type==="text"?{type:"text",text:Ce(r.text)}:{type:"image",source:{type:"base64",media_type:r.mimeType,data:r.data}});return n.some(r=>r.type==="text")||n.unshi...
⋯
35 `)}if(r)break}if(i.trim()){let r=uM(i);r&&(yield r)}}finally{n.releaseLock()}}function uM(t){let e=t.split(`
36
Medium Dynamic require
Package source references dynamic require/import behavior.
slingshot/index.js View on unpkg · L1 Code excerpt · 2 lines 1 var z4=Object.create;var Ix=Object.defineProperty;var V4=Object.getOwnPropertyDescriptor;var Q4=Object.getOwnPropertyNames;var J4=Object.getPrototypeOf,Y4=Object.prototype.hasOwnPr...
2 `:return"\\n";case"\r":return"\\r";case" ":return"\\t";default:return` \\u${t.codePointAt (0 )?.toString (16 ).padStart (4 ,"0" )??"0000" }`}}function CR(t){let e="",n=!1;for(let i=0;i<t.le...
node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/chunk-BRL3MDQL.js View file Critical Previous version dangerous delta
This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/chunk-BRL3MDQL.js View on unpkg Scanner record · 5 lines matchType = previous_version_dangerous_delta
matchedPackage = @psnext/slingcli@3.3.20260911-1
matchedIdentity = npm:QHBzbmV4dC9zbGluZ2NsaQ:3.3.20260911-1
similarity = 0.917
summary = stored previous version shares package body but lacks this dangerous source file
High Shell
Package source references shell execution.
node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/chunk-BRL3MDQL.js View on unpkg · L1 Code excerpt · 3 lines node_modules/zod/src/v4/classic/tests/cyclic-data.test.ts View file Medium Unsafe vm context
Package source executes code through a VM context API.
node_modules/zod/src/v4/classic/tests/cyclic-data.test.ts View on unpkg · L1 Code excerpt · 2 lines 1 import v8 from "node:v8" ;
2 import vm from "node:vm" ;
node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/bedrock-converse-stream.js View file High Cloud metadata access
Source reaches cloud instance metadata or link-local credential endpoints.
node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/bedrock-converse-stream.js View on unpkg · L1 Low Weak crypto
Package source references weak cryptographic algorithms.
node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/bedrock-converse-stream.js View on unpkg · L1 Shared code excerpt · 2 findings · 7 lines 1 import { createRequire as __piCreateRequire } from "node:module" ; const require = __piCreateRequire (import .meta.url);
2 var __create=Object.create;var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor; __getOwnPropNames=Object.getOwnPropertyNames; __getProtoO...
node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/kimi-coding.js View file Critical Hardcoded runtime data exfiltration
Source sends credentials or rich application records to a package-controlled external receiver enabled by default.
node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/kimi-coding.js View on unpkg · L1 Code excerpt · 2 lines Source sends the broad process environment to a literal external destination.
1 import { createRequire as __piCreateRequire } from "node:module" ; const require = __piCreateRequire (import .meta.url);
2 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){ ( require< ) require. (...
High Credential redirect persistence
Manifest-reachable source sends a prompted API credential to a fixed unofficial gateway and persists the redirection.
bin/sling.js View on unpkg Scanner record · 6 lines 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.jsimport { 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));
node_modules/@earendil-works/pi-tui/native/darwin/prebuilds/darwin-x64/darwin-modifiers.node View file Medium Ships native binary
Package ships native binary artifacts.
node_modules/@earendil-works/pi-tui/native/darwin/prebuilds/darwin-x64/darwin-modifiers.node View on unpkg Scanner record · 4 lines path = node_modules/@earendil-works/pi-[redacted]-x64/darwin-modifiers.node
kind = native_binary
sizeBytes = 12776
magicHex = [redacted]
node_modules/@silvia-odwyer/photon-node/photon_rs_bg.wasm View file Medium Ships WASM module
Package ships WebAssembly modules.
node_modules/@silvia-odwyer/photon-node/photon_rs_bg.wasm View on unpkg Scanner record · 4 lines path = node_modules/@silvia-odwyer/photon-node/photon_rs_bg.wasm
kind = wasm_module
sizeBytes = 1881634
magicHex = [redacted]
skills/screenshot/scripts/take_screenshot.py View file Medium Ships build helper
Package ships non-JavaScript build or shell helper files.
skills/screenshot/scripts/take_screenshot.py View on unpkg Scanner record · 4 lines path = skills/screenshot/scripts/take_screenshot.py
kind = build_helper
sizeBytes = 19659
magicHex = [redacted]
node_modules/@anthropic-ai/sdk/client.js#virtual:normalized:round1 View file High Semantic analysis limited
A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
node_modules/@anthropic-ai/sdk/client.js#virtual:normalized:round1 View on unpkg Scanner record · 1 line stage = ast_semantic_analysis; reason = ast_parse_error; limitedFiles = 97
node_modules/@earendil-works/pi-coding-agent/dist/core/resolve-config-value.js View file High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
node_modules/@earendil-works/pi-coding-agent/dist/core/resolve-config-value.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @phi-code-admin/phi-code@0.99.0
matchedPath = dist/core/resolve-config-value.js
matchedIdentity = npm:[redacted]:0.99.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
node_modules/@earendil-works/pi-coding-agent/dist/modes/rpc/rpc-client.js View file High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
node_modules/@earendil-works/pi-coding-agent/dist/modes/rpc/rpc-client.js View on unpkg Scanner record · 7 lines matchType = token_shingles
matchedPackage = @phi-code-admin/phi-code@0.99.0
matchedPath = dist/modes/rpc/rpc-client.js
matchedIdentity = npm:[redacted]:0.99.0
similarity = 1.000
shingleOverlap = 48
summary = source token shingles overlapped finalized malicious source
node_modules/@earendil-works/pi-coding-agent/dist/utils/clipboard.js View file High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
node_modules/@earendil-works/pi-coding-agent/dist/utils/clipboard.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @phi-code-admin/phi-code@0.99.0
matchedPath = dist/utils/clipboard.js
matchedIdentity = npm:[redacted]:0.99.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
Code↓
Package metadata 7 findings
Medium Network
Medium Environment variables
Medium Structural risk force deep review
`).find(n=>n.startsWith("data:"))?.slice(5).trim();return e&&e!=="[DONE]"?JSON.parse(e):void 0}function Kj(t,e,n)
1
import { createRequire as __piCreateRequire } from "node:module" ; const require = __piCreateRequire (import .meta.url);
2 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,...
3 `)}};Directives.defaultYaml={explicit:!1,version:"1.2"};Directives.defaultTags={"!!":"tag:yaml.org,2002:"};exports.Directives=Directives}});var require_anchors=__commonJS({"node_mo...
High Cross file remote execution context
Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/chunk-BRL3MDQL.js View on unpkg · L1 Code excerpt · 5 lines Cross-file remote execution chain: node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/chunk-BRL3MDQL.js spawns node_modules/@earendil-works/pi-coding-[redacted]-messages-JWX2WP65.js; helper contains network access plus dynamic code execution.
1 import { createRequire as __piCreateRequire } from "node:module" ; const require = __piCreateRequire (import .meta.url);
2 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,...
3 `)}};Directives.defaultYaml={explicit:!1,version:"1.2"};Directives.defaultTags={"!!":"tag:yaml.org,2002:"};exports.Directives=Directives}});var require_anchors=__commonJS({"node_mo...
⋯
51 `;return` ${str2}
52 ${indent}${end}
High Trigger reachable command output exfiltration
A manifest entrypoint or package-local install chain reaches command-output exfiltration behavior.
node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/chunk-BRL3MDQL.js View on unpkg · L267 Code excerpt · 5 lines 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-BRL3MDQL.js
267 )
268 `)}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...
269 ${value}`,this.eventDataSize=eventDataSize;return}if(isFieldName(line,fieldLength,RETRY)){isASCIINumberBytes(line,valueStart)&&(event.retry=line.toString("utf8",valueStart));return...
⋯
271 `);err2.stack=stack?` ${stack}
272 ${captureLines}`:capture.stack}module.exports.fetch=function(init,options=void 0){return fetchImpl(init,options).catch(err2=>{
var
var
3 versions published after the first week of January 2027
9 More information can be found at: https://a.co/c895JFp`))}}}});var longPollMiddleware,longPollMiddlewareOptions,getLongPollPlugin,init_longPollMiddleware=__esm({"node_modules/@aws-...
10 `+hint}catch{!context.logger||context.logger?.constructor?.name==="NoOpLogger"?console.warn(hint):context.logger?.warn?.(hint)}typeof error2.$responseBodyText<"u"&&error2.$response...
11 `).slice(0,5).filter(s2=>!s2.includes("
if
typeof
"u"
return
apply