Loading npm security reports…
Loading npm security reports…
@desplega.ai/agent-swarm@1.169.0: Credential exfiltration | LPM Firewall
npm / Credential exfiltration / @desplega.ai/agent-swarm / 1.169.0
@desplega.ai/agent-swarm@1.169.0 agent-swarm.dev — an open-source operating system for AI work: a lead agent breaks goals into tasks, routes them to specialized workers such as Claude Code or Codex, runs each worker in an isolated container, and preserves shared memory, tools, schedules,
Flagged — allowed with a warning
Allowed by default policy, but 35 findings warrant review before installing.
AI security reviewscanned on Oct 11, 2026, 02:51 UTC · by lpm-firewall-ai Source inspection confirms conditional forwarding of a Dokploy key to an unrestricted environment-configured HTTPS destination. The default host and task-triggered use are service-aligned, so this is a warning rather than evidence of a concrete attack.
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 new task invokes the deployment-awareness extension’s pre-task hook.
Impact
If configured with an unrelated host, the key may be exposed to that host; the source does not establish covert transmission or malicious intent.
Mechanism
The extension reads the API key and base URL from the process environment, then sends the key in an x-api-key request header. The base URL is checked for HTTPS but not restricted to Dokploy.
public snapshot
Evidence for warning
The bundled deployment-awareness extension reads a Dokploy API key from the API process environment. It accepts any HTTPS base URL from the environment, without restricting the destination to Dokploy. On a new task, the extension can send the key in a request header to that URL. Evidence against
The request is part of a task-triggered deployment status check and uses Dokploy’s deployment endpoint. The package manifest shows no lifecycle hooks in the inspected scripts section. Behavioral surface
Source Child process · Crypto · Dynamic require · Environment variables · Eval · Filesystem · Network · Shell · Web socket
Supply chain High entropy strings · Minified · Possible obfuscation · Telemetry · URL strings
Manifest Wildcard dependency
Scanned 2,001 files · 54.6 MB of source
50 external domains referenced
10.0.0.1 127.0.0.1 169.254.169.254 169.254.170.2 172.16.0.1 172.31.255.255 172.32.0.1 192.168.1.1 a.b.agent-swarm.cloud a.b.agent-swarm.dev a.co a.com a.local a.test accounts.google.com acme.atlassian.net acme.example ae.api.openai.com agent-fs.example.com agent-fs.example.test agent-fs.test agent-swarm-mcp.desplega.sh agent-swarm.cloud agent-swarm.cloud.attacker.com agent-swarm.dev agent-swarm.dev.attacker.com ai-gateway.vercel.sh ai-sdk.dev ai.google.dev aiplatform.googleapis.com ampcode.com another-host.test api.acme.test api.agent-swarm.cloud api.agent-swarm.dev api.agentmail.ai api.agentmail.to api.ant-ling.com api.anthropic.com api.atlassian.com api.attio.com api.au.svix.com api.broken.test api.ca.svix.com api.cerebras.ai api.cloudflare.com api.composio.test api.cursor.com api.dark.test api.deepseek.com Oversized source lightweight scan
dist/cli-014vns2y.js 8.45 MB file, sampled 256 KB
High entropy strings URL strings 127.0.0.1 api.greenpt.ai api.qnaigc.com api.subconscious.dev api.tokengo.com bothub.ru developer.qiniu.com docs.greenpt.ai docs.subconscious.dev github.com lmstudio.ai modelishub.com openai.bothub.ru www.tokengo.com
dist/cli-a8vps458.js 8.87 MB file, sampled 256 KB
Filesystem Network Environment variables High entropy strings
Findings3 critical · 16 high · 9 medium · 7 low Source & flagged code26 flagged High Child process
Package source references child process execution.
dist/cli-5t5my0h8.js View on unpkg · L593 Code excerpt · 3 lines 593 var import_cross_spawn = __toESM (require_cross_spawn (), 1 );
594 import { spawn as nodeSpawn, spawnSync as nodeSpawnSync } from "node:child_process" ;
595 var EXIT_STDIO_GRACE_MS = 100 ;
Code excerpt · 3 lines 17595 fish: "fish" ,
17596 ps1: "powershell" ,
17597 sql: "sql" ,
Medium Dynamic require
Package source references dynamic require/import behavior.
dist/cli-5t5my0h8.js View on unpkg · L1095 Code excerpt · 3 lines 1095 function getQuickJSWasmPath () {
1096 quickJSWasmPath ??= createRequire (import .meta.url).resolve ("quickjs-wasi/quickjs.wasm" );
1097 return quickJSWasmPath;
High Remote agent bridge
Source exposes local file and command tools to a remote model endpoint.
dist/cli-e5qk3m2a.js View on unpkg · L11832 Code excerpt · 6 lines 11832 }
11833 function combineURLs (baseURL, relativeURL) {
11834 return relativeURL ? baseURL.replace (/\/?\/$/, "" ) + "/" + relativeURL.replace (/^\/+/, "" ) : baseURL;
⋯
20630 try {
20631 data = node_fs_1.default .readFileSync (node_path_1.default .resolve ("" .concat (installationDir, "/app-latest" )));
20632 installation = JSON. (data. ());
Medium Unsafe vm context
Package source executes code through a VM context API.
src/tests/page-proxy.test.ts View on unpkg · L14 Code excerpt · 12 lines 14 import { unlink } from "node:fs/promises" ;
15 import net from "node:net" ;
16 import { runInNewContext } from "node:vm" ;
⋯
39 },
40 body: JSON.stringify ({
41 name,
⋯
49 if (res.status !== 201 && res.status !== 200 ) {
50 throw new ( );
Low Weak crypto
Package source references weak cryptographic algorithms.
src/tests/fixtures/secret-corpus.ts View on unpkg · L77 Code excerpt · 12 lines 77 "discord webhook" ,
78 join ("https://discord.com/api/" , "webhooks/" , rand (DIGITS, 18 ), "/" , rand (URLSAFE, 68 )),
79 ),
⋯
148 context: (s) => `mailgun: ${s}` ,
149 gitleaksRule: "mailgun-private-api-token" ,
150 }),
⋯
186 }
187 return buf. ( , bytes). ( );
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/index-n0rxa4ca.js View on unpkg · L93154 Code excerpt · 9 lines 93154 await i2 (n2.loginUrl), s2 = true ;
93155 else if (i2 && (o2 = n2.loginUrl, !process.env.NO_OPEN_BROWSER && !Boolean (process.env.SSH_CONNECTION ?? process.env.SSH_CLIENT ?? process.env.SSH_TTY) && it (o2)))
93156 try {
⋯
93160 const r3 = process.platform;
93161 return r3 === "darwin" ? { cmd: "open" , args: [t4] } : r3 === "win32" ? { cmd: st.join (process.env.SYSTEMROOT ?? "C:\\Windows" , "System32" , , ,
Critical Hardcoded runtime data exfiltration
Source sends credentials or rich application records to a package-controlled external receiver enabled by default.
dist/http-a397xcn4.js View on unpkg · L533 Critical Trigger reachable dangerous capability
A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
dist/http-a397xcn4.js View on unpkg · L533 Shared code excerpt · 2 findings · 12 lines 533 import {
534 import_websocket,
535 import_websocket_server
⋯
1331 end: () => {
1332 bestEffortTelemetry ("span.end" , () => span.end ());
1333 }
⋯
1349 }
1350 function (key, env = process.env) {
High Credential redirect persistence
Manifest-reachable source sends a prompted API credential to a fixed unofficial gateway and persists the redirection.
dist/cli-cmxkbzzs.js View on unpkg Scanner record · 8 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/cli-cmxkbzzs.jsconst match = (headers?.authorization ?? "").match(/Signature=(\w+)$/);
const match = request.headers?.authorization?.match(/Signature=([\w]+)$/);
var { writeFile } = promises;
return writeFile(tokenFilepath, tokenString);
"Proxy-Authorization": `Negotiate ${token}`
headers["Proxy-Authorization"] = `Basic ${Buffer.from(auth).toString("base64")}`;
headers["Proxy-Authorization"] = `Basic ${Buffer.from(auth).toString("base64")}`;
headers["Proxy-Authorization"] = `Basic ${Buffer.from(auth).toString("base64")}`;
High Cloud metadata access
Source reaches cloud instance metadata or link-local credential endpoints.
dist/cli-95zs84qw.js View on unpkg · L22 Code excerpt · 12 lines 22 import {
23 import_websocket
24 } from "./cli-76yrvwsa.js" ;
⋯
117
118 // node_modules/gaxios/package.json
119 var require_package = __commonJS (function (exports, module) {
⋯
333 case "json" :
334 return JSON.parse (JSON.stringify (data));
335 case "arraybuffer" :
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/claude-sdk-session-c9j6k9kx.js View on unpkg · L22 Code excerpt · 11 lines Cross-file remote execution chain: dist/claude-sdk-session-c9j6k9kx.js spawns dist/cli-km4x66j0.js; helper contains network access plus dynamic code execution.
22 SessionErrorTracker,
23 parseStderrForErrors,
24 redactRateLimitEvent,
⋯
107 import { constants as Kc, createWriteStream as iSe } from "fs" ;
108 import { execFile as rSe } from "child_process" ;
109 import { promisify as oSe } from "util" ;
⋯
Medium Ships WASM module
Package ships WebAssembly modules.
dist/quickjs-r1pq2107.wasm View on unpkg Scanner record · 4 lines path = dist/quickjs-r1pq2107.wasm
kind = wasm_module
sizeBytes = 637405
magicHex = [redacted]
templates/official/ux-principles/start-up.sh View file Medium Ships build helper
Package ships non-JavaScript build or shell helper files.
templates/official/ux-principles/start-up.sh View on unpkg Scanner record · 4 lines path = templates/official/ux-principles/start-up.sh
kind = build_helper
sizeBytes = 582
magicHex = [redacted]
Medium Oversized source file
Package contains source files above the normal full-analysis size ceiling.
dist/cli-a8vps458.js View on unpkg Scanner record · 4 lines path = dist/cli-a8vps458.js
kind = oversized_source_file
sizeBytes = 9302967
magicHex = [redacted]
dist/cli-5bfdm1ah.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.
dist/cli-5bfdm1ah.js#virtual:normalized:round1 View on unpkg Scanner record · 1 line stage = ast_semantic_analysis; reason = ast_parse_error; limitedFiles = 31
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/cli-5bfdm1ah.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @desplega.ai/agent-swarm@1.149.1
matchedPath = dist/cli-5bfdm1ah.js
matchedIdentity = npm:[redacted]:1.149.1
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/cli-q51yprfq.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @desplega.ai/agent-swarm@1.149.1
matchedPath = dist/cli-q51yprfq.js
matchedIdentity = npm:[redacted]:1.149.1
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/cli-jvmtxqtc.js View on unpkg Scanner record · 7 lines matchType = token_shingles
matchedPackage = @desplega.ai/agent-swarm@1.149.1
matchedPath = dist/cli-5my3bjsd.js
matchedIdentity = npm:[redacted]:1.149.1
similarity = 1.000
shingleOverlap = 48
summary = source token shingles overlapped finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
src/script-workflows/executor.ts View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @desplega.ai/agent-swarm@1.149.1
matchedPath = src/script-workflows/executor.ts
matchedIdentity = npm:[redacted]:1.149.1
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/claude-k04qfvsv.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @desplega.ai/agent-swarm@1.149.1
matchedPath = dist/claude-k04qfvsv.js
matchedIdentity = npm:[redacted]:1.149.1
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
src/http/metrics.ts View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @desplega.ai/agent-swarm@1.149.1
matchedPath = src/http/metrics.ts
matchedIdentity = npm:[redacted]:1.149.1
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
src/http/x.ts View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @desplega.ai/agent-swarm@1.149.1
matchedPath = src/http/x.ts
matchedIdentity = npm:[redacted]:1.149.1
similarity = 1.000
summary = normalized source hash matched finalized malicious source
Critical Previous version dangerous delta
This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
dist/cli-qg2zhjfc.js View on unpkg Scanner record · 5 lines matchType = previous_version_dangerous_delta
matchedPackage = @desplega.ai/agent-swarm@1.164.1
matchedIdentity = npm:[redacted]:1.164.1
similarity = 0.517
summary = stored previous version shares package body but lacks this dangerous source file
High Command output exfiltration Code↓
Package metadata 9 findings
Medium Network
Medium Environment variables
Medium Structural risk force deep review
Medium Wildcard dependency
parse
toString
Low Eval
Package source references a known benign dynamic code generation pattern.
dist/cli-e5qk3m2a.js View on unpkg · L23966 Code excerpt · 3 lines 23966 site.name = fn.name;
23967 var deprecatedfn = new Function ("fn" , "log" , "deprecate" , "message" , "site" , `"use strict"
23968 ` + "return function (" + args + ") {" + ` log.call (deprecate, message, site)
Error
`Failed to register agent: ${res.status} ${await res.text()}`
65 // signPageSession() in-process validate at the proxy.
66 process.env.PAGE_SESSION_SECRET = PAGE_SECRET;
subarray
0
toString
"base64"
227 `data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA${b64("png", 600)}` ,
228 `data:image/jpeg;base64,/9j/4AAQSkZJRgABAQ${b64("jpeg", 900)}` ,
"WindowsPowerShell"
"v1.0"
"powershell...
93162 }(t3), i3 = (0 , nt.spawn)(n3, s3, { stdio: "ignore" , windowsHide: true });
93165 }), i3.once ("spawn" , () => r2 ()), i3.unref ();
93166 }) : Promise.reject (new Error (`Invalid URL: only http:// and https:// links can be opened. Received: ${t3}` ));
93167 }(n2.loginUrl), s2 = true ;
High Command output exfiltration
Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
dist/index-n0rxa4ca.js View on unpkg · L93160 Code excerpt · 9 lines 93160 const r3 = process.platform;
93161 return r3 === "darwin" ? { cmd: "open" , args: [t4] } : r3 === "win32" ? { cmd: st.join (process.env.SYSTEMROOT ?? "C:\\Windows" , "System32" , "WindowsPowerShell" , "v1.0" , "powershell...
93162 }(t3), i3 = (0 , nt.spawn)(n3, s3, { stdio: "ignore" , windowsHide: true });
⋯
93165 }), i3.once ("spawn" , () => r2 ()), i3.unref ();
93166 }) : Promise.reject (new Error (`Invalid URL: only http:// and https:// links can be opened. Received: ${t3}` ));
93167 }(n2.loginUrl), s2 = true ;
⋯
93169 var o2;
93170 s2 || process.stderr.write (`Could not open a browser. Open this URL to sign in to Cursor:
93171
readPositiveIntEnv
1351 const raw = env[key]?.trim ();
2102 const bytes = crypto.getRandomValues (new Uint8Array (24 ));
2103 ticket = Buffer.from (bytes).toString ("base64url" );
2104 } while (tickets.has (ticket));
364 } else if (obj instanceof FormData || obj instanceof URLSearchParams || "forEach" in obj && "set" in obj) {
365 obj.forEach ((_, key) => {
133 import { posix as t$e, win32 as n$e } from "path" ;
134 import { isIPv4 as $ze, isIPv6 as Hze } from "net" ;
135 import { userInfo as wBe } from "os" ;
1269 Object.defineProperty (_F, "__esModule" , { value: true });
1270 var Ue = Te (), gwe = { data: new Ue.Name ("data" ), valCxt: new Ue.Name ("valCxt" ), instancePath: new Ue.Name ("instancePath" ), parentData: new Ue.Na