Loading npm security reports…
Loading npm security reports…
shadow-claw@1.27.1: 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:44 UTC · by lpm-firewall-ai The package contains meaningful agent-side command and network capability, so it warrants a warning. The inspected source does not establish malicious intent or an automatic attack path.
Static reason
High-risk behavior combination matched malicious policy.
Trigger
A user or assistant workflow invokes the bash or URL-fetch tool.
Impact
A compromised or unsafe assistant workflow could execute commands or transmit data supplied to these tools.
Mechanism
Runs supplied commands in a VM or emulator and sends supplied HTTP requests.
Evidence
src/worker/tools/bash/bash.ts src/worker/tools/fetch-url/fetch-url.ts
Decision evidencepublic snapshot Evidence for warning
The runtime AI tool accepts a command and executes it in a WebVM, with a shell-emulator fallback. The URL tool sends caller-supplied URLs, headers, and bodies, so it can make authenticated outbound requests when invoked. Evidence against
package.json has no preinstall, install, or postinstall hook. No fixed exfiltration endpoint, credential harvesting routine, self-dependency, or automatic persistence was confirmed. Command execution is an explicit assistant capability and is directed toward a VM or emulator. Server helpers include private-address blocking for proxy requests. 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,493 files · 25.7 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 actions.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 commondatastorage.googleapis.com console.firebase.google.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-KRjx0eba.js 2.38 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 huggingface.co ollama.com
Findings2 critical · 11 high · 11 medium · 7 low Source & flagged code20 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" ,
Medium Dynamic require
Package source references dynamic require/import behavior.
bin/cli.mjs View on unpkg · L171 Code excerpt · 2 lines 172 const { startServer } = await import (serverModulePath);
173
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-DHjdLtqa.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-DHjdLtqa.js View on unpkg · L155 Code excerpt · 2 lines 156 `.substring(0,i)+r}function yo(e){return e!=null&&(typeof e==` string`||e.nodeType&&(e.nodeType===1||e.nodeType===9||e.nodeType===11))}var bo=we(),xo=Xn(),So=Qi(),Co=Object.create,w...
157
High Remote agent bridge
Source exposes local file and command tools to a remote model endpoint.
dist/public/orchestrator-DHjdLtqa.js View on unpkg · L155 Code excerpt · 7 lines 156 `.substring(0,i)+r}function yo(e){return e!=null&&(typeof e==` string`||e.nodeType&&(e.nodeType===1||e.nodeType===9||e.nodeType===11))}var bo=we(),xo=Xn(),So=Qi(),Co=Object.create,w...
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=_t(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.
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"))) {
await cp(
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-KRjx0eba.js View on unpkg · L19 Code excerpt · 9 lines Cross-file remote execution chain: dist/lib/orchestrator-KRjx0eba.js spawns dist/lib/git-C-Q6-IVe.js; helper contains network access plus dynamic code execution.
19 import { t as require_buffer } from "./buffer-BEXn271X.js" ;
20 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 ...
21 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
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.43 MB file, sampled 256 KB
Filesystem Network Child process Web socket 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 xt-ml.github.io
2 findings
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 BM(e,a);if(r===0){let n=e.state.env.get(t.array);if(n!==void 0)return BM(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=_t(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"),
{ recursive: true, force: true },
31 label: "OpenRouter API Keys" ,
32 href: "https://openrouter.ai/keys"
758 const writable = await openWritable ();
759 await writable.write (toWritableChunk (content));