Loading npm security reports…
Loading npm security reports…
@desplega.ai/agent-swarm@2.0.0: npm security report – allowed | LPM Firewall
npm / @desplega.ai/agent-swarm / 2.0.0
@desplega.ai/agent-swarm@2.0.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,
Allowed — no malicious behavior detected
29 low-signal patterns reviewed and cleared.
AI security reviewscanned on Oct 16, 2026, 03:19 UTC · by lpm-firewall-ai The critical bundle alert resolves to a Dokploy status request using a configured API key and service URL. The runtime and agent-integration findings map to ordinary product behavior, and default-on telemetry is package-aligned and limited to aggregate counts.
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
An operator starts the CLI or HTTP service; telemetry runs when enabled and its installation and organization identifiers are available.
Impact
No unauthorized credential disclosure, unconsented agent-control change, destructive behavior, or other confirmed attack was found.
Mechanism
The inspected service calls use their configured service APIs, while telemetry sends aggregate organization counts to the publisher endpoint.
Network endpoints2
app.dokploy.com proxy.desplega.sh /v1/events
public snapshot
Evidence for AI clean decision
package.json identifies the HTTP module and CLI entrypoints; inspection found no preinstall, install, or postinstall hook. The flagged Dokploy code reads its API key from the runtime environment and sends it to the configured Dokploy base URL, which defaults to the service’s API host. Telemetry uses the publisher’s endpoint and is gated by its enabled state, installation ID, and organization ID. The daily organization snapshot sends aggregate counts, not names or emails. Flagged runtime locations resolve to ordinary routing, retention, request handling, and realtime topic, room, or presence subscriptions; I found no publisher-selected account mutations. The flagged metrics and external script routes implement application features, and the reviewed agent configuration helpers operate on local agent files or credentials. Evidence against
Telemetry is enabled by default unless the operator opts out; the reviewed snapshot contains organization-level counts. 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,214 files · 62.8 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.co.uk acme.com acme.example adaptivecards.io 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 aka.ms ampcode.com another-host.test api-fallback.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.botframework.azure.cn api.botframework.com api.botframework.us Oversized source lightweight scan
dist/cli-ee9gtz70.js 8.92 MB file, sampled 256 KB
Filesystem Network Environment variables High entropy strings
dist/cli-stfs0k5s.js 8.44 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
Findings3 critical · 10 high · 9 medium · 7 low Source & flagged code19 flagged The lines the automated scan flagged. The review checked them and cleared this version.
High Child processCleared
Package source references child process execution.
dist/index-n0rxa4ca.js View on unpkg · L35 Code excerpt · 3 lines 35 import * as d from "node:buffer" ;
36 import * as p from "node:child_process" ;
37 import * as f from "node:constants" ;
High Same file environment network executionCleared
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" , "WindowsPowerShell" , "v1.0" , "powershell...
93162 }(t3), i3 = (0 , nt.spawn)(n3, s3, { stdio: "ignore" , windowsHide: true });
⋯
93165 }), i3.once ("spawn" , () => ()), i3. ();
High Command output exfiltrationCleared
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 ( ( ));
Medium Dynamic requireCleared
Package source references dynamic require/import behavior.
dist/index-n0rxa4ca.js View on unpkg · L10439 Code excerpt · 3 lines 10439 }();
10440 return r2 === undefined ? { available: false , reason: `the @cursor/sdk-${process.platform}-${process.arch} optional dependency (which vendors the tree-sitter natives) is not instal...
10441 }
Low EvalCleared
Package source references a known benign dynamic code generation pattern.
src/tests/swarm-diff.test.ts View on unpkg · L170 Code excerpt · 3 lines 170 // `CustomEvent`, and `queueMicrotask` — provide each as a free variable.
171 const factory = new Function (
172 "window" ,
Medium Unsafe vm contextCleared
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 ( );
Low Weak cryptoCleared
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
Critical Hardcoded runtime data exfiltrationCleared
Source sends credentials or rich application records to a package-controlled external receiver enabled by default.
dist/http-r7f3eky0.js View on unpkg · L600 Critical Trigger reachable dangerous capabilityCleared
A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
dist/http-r7f3eky0.js View on unpkg · L600 Shared code excerpt · 2 findings · 12 lines 600 import {
601 import_websocket,
602 import_websocket_server
⋯
1442 end: () => {
1443 bestEffortTelemetry ("span.end" , () => span.end ());
1444 }
⋯
1460 }
1461
High Credential redirect persistenceCleared
Manifest-reachable source sends a prompted API credential to a fixed unofficial gateway and persists the redirection.
dist/cli-hvqbtna4.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-hvqbtna4.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 Cross file remote execution contextCleared
Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
dist/claude-sdk-session-9jye6cxr.js View on unpkg · L22 Code excerpt · 11 lines Cross-file remote execution chain: dist/claude-sdk-session-9jye6cxr.js spawns dist/cli-h6vtvt5c.js; helper contains network access plus dynamic code execution.
22 SessionErrorTracker,
23 parseStderrForErrors,
24 redactRateLimitEvent,
⋯
106 import { constants as nu, createWriteStream as Xbe } from "fs" ;
107 import { execFile as Zbe } from "child_process" ;
108 import { promisify as Ybe } from "util" ;
Medium Ships WASM moduleCleared
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 helperCleared
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 fileCleared
Package contains source files above the normal full-analysis size ceiling.
dist/cli-ee9gtz70.js View on unpkg Scanner record · 4 lines path = dist/cli-ee9gtz70.js
kind = oversized_source_file
sizeBytes = 9352884
magicHex = [redacted]
dist/cli-6razj6t4.js#virtual:normalized:round1 View file High Semantic analysis limitedCleared
A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
dist/cli-6razj6t4.js#virtual:normalized:round1 View on unpkg Scanner record · 1 line stage = ast_semantic_analysis; reason = ast_parse_error; limitedFiles = 24
High Known malware source similarityCleared
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 similarityCleared
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 similarityCleared
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 · 7 lines matchType = token_shingles
matchedPackage = @desplega.ai/agent-swarm@1.149.1
matchedPath = src/http/x.ts
matchedIdentity = npm:[redacted]:1.149.1
similarity = 1.000
shingleOverlap = 48
summary = source token shingles overlapped finalized malicious source
Critical Previous version dangerous deltaCleared
This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
dist/cli-q0ke1yww.js View on unpkg Scanner record · 5 lines matchType = previous_version_dangerous_delta
matchedPackage = @desplega.ai/agent-swarm@1.172.0
matchedIdentity = npm:[redacted]:1.172.0
similarity = 0.500
summary = stored previous version shares package body but lacks this dangerous source file
Code↓ Cleared
Package metadata 10 findings
High Shell Cleared
Medium Environment variables Cleared
Medium Structural risk force deep review Cleared
Medium Wildcard dependency Cleared
Low Scripts present Cleared
Low High entropy strings Cleared
r2
unref
93166 }) : Promise.reject (new Error (`Invalid URL: only http:// and https:// links can be opened. Received: ${t3}` ));
93167 }(n2.loginUrl), s2 = true ;
new
Error
`Invalid URL: only http:// and https:// links can be opened. Received: ${t3}`
93167 }(n2.loginUrl), s2 = true ;
93170 s2 || process.stderr.write (`Could not open a browser. Open this URL to sign in to Cursor:
new
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;
return buf.subarray (0 , bytes).toString ("base64" );
227 `data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA${b64("png", 600)}` ,
228 `data:image/jpeg;base64,/9j/4AAQSkZJRgABAQ${b64("jpeg", 900)}` ,
function readPositiveIntEnv (key, env = process.env) {
1462 const raw = env[key]?.trim ();
1884 const dockerHost = env.RUNTIME_DOCKER_HOST || env.DOCKER_HOST || "unix:///var/run/docker.sock" ;
1885 const dockerAvailable = !!env.RUNTIME_DOCKER_HOST || dockerHost.startsWith ("unix:///" ) && (await Bun.$`test -S ${dockerHost.slice(7)}` .quiet ().nothrow ()).exitCode === 0 ;
1886 let dockerOnline = false ;
⋯
132 import { posix as uKe, win32 as dKe } from "path" ;
133 import { isIPv4 as ZBe, isIPv6 as YBe } from "net" ;
134 import { userInfo as $We } from "os" ;
1268 Object.defineProperty (Hz, "__esModule" , { value: true });
1269 var $e = we (), SPe = { data: new $e.Name ("data" ), valCxt: new $e.Name ("valCxt" ), instancePath: new $e.Name ("instancePath" ), parentData: new $e.Na