Loading npm security reports…
Loading npm security reports…
shadow-claw@1.26.0: AI-agent capability abuse – flagged | LPM Firewall
Flagged as AI-agent capability risk
Allowed by default with warning: agent-facing configuration or capability changes need review before use.
AI security reviewscanned on Sep 6, 2026, 04:39 UTC · by lpm-firewall-ai The package contains a real, user-reachable AI-agent command, file, and optional-network capability that warrants a warning. Static inspection found no install lifecycle hook or concrete automatic exfiltration chain.
Static reason
High-risk behavior combination matched malicious policy.; previous stored version diff introduced dangerous source
Trigger
A user prompt or task that invokes the agent's bash or file tools; full network access additionally requires its configuration setting.
Impact
An unsafe or prompt-injected agent could modify workspace files, run shell commands, and potentially send workspace-derived data to an operator-selected endpoint.
Mechanism
Agent-dispatched shell execution with workspace file operations and optional unrestricted network access.
Evidence
dist/lib/orchestrator-DCfomsn9.js .shadowclaw_stdin
public snapshot
Evidence for warning
The agent tool dispatcher exposes bash plus read, write, delete, move, and copy file operations. Its bash tool executes a supplied command in a VM and falls back to a shell emulator when the VM is unavailable. The shell fallback can be configured to permit full internet access, creating a combined command, file, and network capability. Evidence against
The manifest has no preinstall, install, postinstall, or prepare lifecycle hook. Full internet access defaults to disabled. The inspected command and file capabilities are implemented as product agent tools, not install-time behavior. Behavioral surface
Source Child process · Crypto · Dynamic require · Environment variables · Eval · Filesystem · Native bindings · Network · Shell · Web socket
Supply chain High entropy strings · Minified · Possible obfuscation · Protestware · Telemetry · URL strings
Manifest Copyleft license · Git dependency
Scanned 1,487 files · 25.6 MB of source
50 external domains referenced
10.0.0.1 10.0.0.2 10.9.8.226 127.0.0.1 169.254.169.254 172.16.0.5 172.20.0.1 172.20.0.5 192.168.1.1 192.168.1.100 192.168.1.5 192.168.1.50 a2ui.org accounts.google.com ai.google.dev aiplatform.googleapis.com allowed.example.com another.com any.example.com api.example.com api.external.com api.figma.com api.github.com api.hf.co api.linear.app api.login.yahoo.com api.myservice.com api.nodemailer.com api.notion.com api.openai.com api.telegram.org api.test api.test.example app.internal app.vssps.visualstudio.com attacker.com attacker.github.io auth.atlassian.com auth.example.com auth.openai.com bad.example.com bit.ly bridge.example bridge.example.com cdn-lfs.huggingface.co cdn.jsdelivr.net cdnjs.cloudflare.com console.firebase.google.com content-firebaseappcheck.googleapis.com custom-control.example.com Oversized source lightweight scan
dist/electron/main.cjs 2.64 MB file, sampled 256 KB
Filesystem Network Child process Crypto Possible obfuscation High entropy strings Minified URL strings accounts.google.com api.nodemailer.com api.telegram.org ethereal.email mail.google.com nodemailer.com www.w3.org
dist/lib/orchestrator-DCfomsn9.js 2.40 MB file, sampled 256 KB
Network Child process Dynamic require High entropy strings URL strings 127.0.0.1 developer.chrome.com docs.aws.amazon.com github.com html.duckduckgo.com huggingface.co
Findings3 critical · 11 high · 11 medium · 7 low Source & flagged code21 flagged Code excerpt · 3 lines 37812 patternName = generic_password
severity = medium
line = 37812
High Child process
Package source references child process execution.
bin/cli.test.mjs View on unpkg · L1 Code excerpt · 2 lines 1 import { execFile } from "node:child_process" ;
2 import {
Code excerpt · 3 lines 34053 //#endregion
34054 //#region node_modules/highlight.js/lib/languages/powershell.js
34055 var require_powershell = /* @__PURE__ */ __commonJSMin (((exports, module) => {
High Eval
Package source references dynamic code evaluation.
bin/rolldown.config.test.mjs View on unpkg · L183 Code excerpt · 3 lines 183 grayMatterPlugin.transform (
184 "return eval(str) || {};" ,
185 "/src/engines.js" ,
Critical Previous version dangerous delta
This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
bin/cli.mjs View on unpkg Scanner record · 5 lines matchType = previous_version_dangerous_delta
matchedPackage = shadow-claw@1.23.2
matchedIdentity = npm:c2hhZG93LWNsYXc:1.23.2
similarity = 0.367
summary = stored previous version shares package body but lacks this dangerous source file
Medium Dynamic require
Package source references dynamic require/import behavior.
bin/cli.mjs View on unpkg · L170 Code excerpt · 2 lines 171 const { startServer } = await import (serverModulePath);
172
src/service-worker/patch-service-worker-trusted-types.test.js View file Medium Unsafe vm context
Package source executes code through a VM context API.
src/service-worker/patch-service-worker-trusted-types.test.js View on unpkg · L1 Code excerpt · 2 lines 1 import { describe, expect, it, jest } from "@jest/globals" ;
2 import vm from "node:vm" ;
Critical Command output exfiltration
Source executes local commands and sends command output to an external endpoint.
dist/electron/main.cjs View on unpkg · L74 Code excerpt · 7 lines 74 ${t}
75 ${r (s)}`}getCanonicalPath({path:e}){if(this.uriEscapePath){let t=[];for(let n of e.split(` /`))n?.length!==0&&n!==` .`&&(n===` ..`?t.pop():t.push(n));let n=` ${e?.startsWith (`/` )?`/` :`...
76 `);return this.signString(h,{signingDate:n,signingRegion:c,signingService:o,eventStreamCredentials:s})}async signMessage(e,{signingDate:t=new Date,signingRegion:n,signingService:r,...
77 See https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html
⋯
88 `)?{tag:t,value:` `}:{tag:t,value:e}}let c=Object.create(null);for(let e of i)e.trim()===`
dist/public/orchestrator-D-xlXG92.js View file High Same file environment network execution
A single source file combines environment access, network access, and code or shell execution; review context before blocking.
dist/public/orchestrator-D-xlXG92.js View on unpkg · L155 Code excerpt · 2 lines 156 `.substring(0,i)+r}function So(e){return e!=null&&(typeof e==` string`||e.nodeType&&(e.nodeType===1||e.nodeType===9||e.nodeType===11))}var Co=xe(),wo=$n(),To=ta(),Eo=Object.create,D...
157
High Remote agent bridge
Source exposes local file and command tools to a remote model endpoint.
dist/public/orchestrator-D-xlXG92.js View on unpkg · L155 Code excerpt · 7 lines 156 `.substring(0,i)+r}function So(e){return e!=null&&(typeof e==` string`||e.nodeType&&(e.nodeType===1||e.nodeType===9||e.nodeType===11))}var Co=xe(),wo=$n(),To=ta(),Eo=Object.create,D...
157
⋯
High Credential redirect persistence
Manifest-reachable source sends a prompted API credential to a fixed unofficial gateway and persists the redirection.
dist/server.js View on unpkg Scanner record · 4 lines Manifest-reachable source captures an API credential, sends it to a fixed unofficial gateway, and persists that redirection in agent or shell configuration.
dist/server.jsimport e,{createRequire as t}from"node:module";import n from"process";import{env as r,exit as i}from"node:process";import a from"node:http";import o from"node:https";import s,{base...
`).run(e.clientId,e.deviceLabel,a,e.version,i,r,t),{clientId:e.clientId,deviceLabel:e.deviceLabel,capabilities:e.capabilities,version:e.version,peerId:i||void 0,connectedAt:r,lastS...
`+u),be&&(u=vt(u)),S&&ke?O(u):u},t.setConfig=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};rt(e),Ce=!0,we=ce,Te=ue},t.clearConfig=function(){et=null,Ce...
`)||n,code:r,status:t},e.data.error)}return Object.assign({message:n,code:r
High Cloud metadata access
Source reaches cloud instance metadata or link-local credential endpoints.
dist/server.js View on unpkg · L1 Code excerpt · 9 lines 1 import e,{createRequire t} ; n ; {env r,exit i} ; a ; o ; s,{base...
High Trigger reachable external AI agent control surface mutation
Manifest-trigger-reachable source writes behavior-bearing configuration into a user or project AI-agent control surface.
bin/build/build.mjs View on unpkg Scanner record · 19 lines Manifest-trigger-reachable source links an external AI-agent control path to a behavior-bearing write operation.
);
await run("npm run -s build:clean", { cwd: toolchainroot });
await run("npm run -s rolldown", { cwd: toolchainroot });
}
await cp(toolchaindist, distpublicdir, { recursive: true });
const contentassets = join(contentroot, "assets");
if (await pathexists(contentassets)) {
if (copyallassets) {
await cp(contentassets, distpublicdir, { recursive: true, force: true });
} else {
if (await pathexists(join(contentassets, "icons"))) {
High Cross file remote execution context
Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
dist/lib/orchestrator-DCfomsn9.js View on unpkg · L17 Code excerpt · 9 lines Cross-file remote execution chain: dist/lib/orchestrator-DCfomsn9.js spawns dist/lib/git-C-Q6-IVe.js; helper contains network access plus dynamic code execution.
17 import { t as require_buffer } from "./buffer-BEXn271X.js" ;
18 import { T as require_inherits_browser, _ as require_type$1, b as require_shams$1, c as require_which_typed_array, d as require_define_data_property, f as require_call_bound, g as ...
19 import { a as upsertEmailConnection, i as listEmailConnections, n as deleteEmailConnection, o as getEmailPluginManifest, r as getEmailConnection, s as listEmailPluginManifests, t a...
Medium Oversized source file
Package contains source files above the normal full-analysis size ceiling.
dist/public/webllm-BDMz9yZR.js View on unpkg Scanner record · 4 lines path = dist/public/webllm-BDMz9yZR.js
kind = oversized_source_file
sizeBytes = 6027766
magicHex = [redacted]
Medium Secret pattern
Hardcoded password in dist/lib/bundler-8JNIKwOs.js
dist/lib/bundler-8JNIKwOs.js View on unpkg · L1823 Code excerpt · 3 lines 1823 patternName = generic_password
severity = medium
line = 1823
Medium Secret pattern
Hardcoded password in src/subsystems/git/git.ts
src/subsystems/git/git.ts View on unpkg · L764 Code excerpt · 3 lines 764 patternName = generic_password
severity = medium
line = 764
ollama.com
openrouter.ai
dist/lib/webllm-BwoH9pq3.js 6.15 MB file, sampled 256 KB
Network Child process High entropy strings URL strings huggingface.co raw.githubusercontent.com webgpureport.org
dist/public/agent.worker.js 2.08 MB file, sampled 256 KB
Filesystem Network Child process Dynamic require Possible obfuscation High entropy strings Minified URL strings accounts.google.com api.figma.com api.linear.app api.login.yahoo.com api.notion.com app.vssps.visualstudio.com auth.atlassian.com example.com feross.org github.com gitlab.com huggingface.co linear.app login.microsoftonline.com oauth2.googleapis.com openrouter.ai router.huggingface.co slack.com www.figma.com www.w3.org xt-ml.github.io
dist/public/pdf.worker.js 2.06 MB file, sampled 256 KB
Network Child process Dynamic require URL strings example.com
dist/public/webllm-BDMz9yZR.js 5.75 MB file, sampled 256 KB
Filesystem Network Child process High entropy strings Minified URL strings huggingface.co raw.githubusercontent.com webgpureport.org
dist/public/webllm-CHN5H-Sy.js 5.75 MB file, sampled 256 KB
Filesystem Network Child process High entropy strings Minified URL strings huggingface.co raw.githubusercontent.com webgpureport.org
dist/server.js 2.42 MB file, sampled 256 KB
Filesystem Network Child process High entropy strings Minified URL strings accounts.google.com api.figma.com api.linear.app api.login.yahoo.com api.notion.com app.vssps.visualstudio.com auth.atlassian.com cdn.jsdelivr.net cdnjs.cloudflare.com example.com fonts.googleapis.com fonts.gstatic.com github.com gitlab.com linear.app login.microsoftonline.com oauth2.googleapis.com opencollective.com peerjs.com slack.com www.figma.com www.w3.org www.youtube.com
Shell
Code↓
Package metadata 11 findings
Medium Network
Medium Environment variables
Medium Structural risk force deep review
`&&e.includes(`
89 `)||(c[` #text`]=` #text`in c?c[` #text`]+e:e);for(let e of a)e.tag in c?Array.isArray(c[e.tag])?c[e.tag].push(e.value):c[e.tag]=[c[e.tag],e.value]:c[e.tag]=e.value;for(let[e,t]of Obj...
Critical Trigger reachable dangerous capability
A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
dist/electron/main.cjs View on unpkg · L74 Code excerpt · 6 lines Trigger-reachable chain: manifest.main -> dist/electron/main.cjs
74 ${t}
75 ${r (s)}`}getCanonicalPath({path:e}){if(this.uriEscapePath){let t=[];for(let n of e.split(` /`))n?.length!==0&&n!==` .`&&(n===` ..`?t.pop():t.push(n));let n=` ${e?.startsWith (`/` )?`/` :`...
76 `);return this.signString(h,{signingDate:n,signingRegion:c,signingService:o,eventStreamCredentials:s})}async signMessage(e,{signingDate:t=new Date,signingRegion:n,signingService:r,...
77 See https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html
⋯
88 `)?{tag:t,value:` `}:{tag:t,value:e}}let c=Object.create(null);for(let e of i)e.trim()===` `&&e.includes(`
89 `)||(c[` #text`]=` #text`in c?c[` #text`]+e:e);for(let e of a)e.tag in c?Array.isArray(c[e.tag])?c[e.tag].push(e.value):c[e
High Semantic analysis limited
A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
dist/electron/main.cjs View on unpkg Scanner record · 1 line stage = ast_semantic_analysis; reason = ast_path_work_budget_exceeded; limitedFiles = 12
Low Weak crypto
Package source references weak cryptographic algorithms.
dist/electron/main.cjs View on unpkg · L1 Code excerpt · 9 lines 1 var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t,n)=>()=>...
2 `).join(` \r
⋯
21 public_key TEXT NOT NULL,
22 private_key TEXT NOT NULL,
23 subject TEXT NOT NULL
⋯
75 ${r (s)}`}getCanonicalPath({path:e}){if(this.uriEscapePath){let t=[];for(let n of e.split(` /`))n?.length!==0&&n!==` .`&&(n===` ..`?t.pop():t.push(n));let n=` ${e?.startsWith (`/` )?`/` :`...
76 `);return this.signString(h,{signingDate:n,signingRegion:c,signingService:o,eventStreamCredentials:s})}async signMessage(e,{signingDate:t=new Date,signingRegion:n,signingService:r,...
77 See https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html
⋯
88 `)?
947
`,0;let a=Math.max(...n.map(([e])=>typeof e==` number`?e:0))+1+r;if(a<0)return e.state.expansionStderr=(e.state.expansionStderr||` `)+` bash: line ${i}: ${t.array}: bad array subscrip...
948 `,0;r=a}let i=` ${t.array}_${r}`,a=e.state.env.get(i);if(a!==void 0)return UM(e,a);if(r===0){let n=e.state.env.get(t.array);if(n!==void 0)return UM(e,n)}if(e.state.options.nounset&&...
949 `),e.writeFileSync(` /proc/self/exe`,` /bin/bash`),e.writeFileSync(` /proc/self/cmdline`,` bash\0 `),e.writeFileSync(` /proc/self/comm`,` bash
2006 `):` `,` </skill_content>`].filter(Boolean).join(`
as
from
"node:module"
import
from
"process"
import
as
as
from
"node:process"
import
from
"node:http"
import
from
"node:https"
import
2 CREATE TABLE IF NOT EXISTS vapid_keys (
4 public_key TEXT NOT NULL,
5 private_key TEXT NOT NULL,
91 `+u),be&&(u=vt(u)),S&&ke?O(u):u},t.setConfig=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};rt(e),Ce=!0,we=ce,Te=ue},t.clearConfig=function(){et=null,Ce...
92 `)||n,code:r,status:t},e.data.error)}return Object.assign({message:n,code:r,status:t},e.data.error)}}return{message:n,code:e.status,status:e.statusText}}};function i(e,t){switch(e)...
127 `+f+` }`:` {`+p.join(` ,`)+` }`,t=f,u}}typeof r.stringify!=` function `&&(r.
High Trigger reachable command output exfiltration
A manifest entrypoint or package-local install chain reaches command-output exfiltration behavior.
dist/server.js View on unpkg · L116 Code excerpt · 6 lines Trigger-reachable command-output exfiltration chain: scripts.start -> dist/server.js
116 /*! node-domexception. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */
117 if (!globalThis.DOMException)try {let {MessageChannel:e}=V (`worker_threads` ),t=new e ().port1,n=new ArrayBuffer;t.postMessage (n,[n,n])}catch (e){e.constructor.name===`DOMException` &&(gl...
118 --`+e;let t=new Uint8Array(e.length);for(let n=0;n<e.length;n++)t[n]=e.charCodeAt(n),this.boundaryChars[t[n]]=!0;this.boundary=t,this.lookbehind=new Uint8Array(this.boundary.length...
119 \r
⋯
127 `+f+` }`:` {`+p.join(` ,`)+` }`,t=f,u}}typeof r.stringify!=` function `&&(r.stringify=function(e,n,r){var a;if(t=` `,i=` `,typeof r==` number`)for(a=0;a<r;a+=1)i+=` `;else typeof r==` string...
128 `,r:` \r`,t:` `},c,l=function(
join(contentassets, "icons"),
join(distpublicdir, "assets/icons"),
52 label: "OpenRouter API Keys" ,
53 href: "https://openrouter.ai/keys"
1286 const writable = await openWritable ();
1287 await writable.write (toWritableChunk (content));