Loading npm security reports…
Loading npm security reports…
@desplega.ai/agent-swarm@2.7.6: npm security report – allowed | LPM Firewall
npm / @desplega.ai/agent-swarm / 2.7.6
@desplega.ai/agent-swarm@2.7.6 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
34 low-signal patterns reviewed and cleared.
AI security reviewscanned on Oct 31, 2026, 02:52 UTC · by lpm-firewall-ai The scanner’s strongest leads are explained by bundled AWS SDK metadata support and Discord.js shard evaluation, while the flagged connection code defines a lead-agent management route. I found no concrete exfiltration, concealed remote execution, or install-time attack behavior in the reviewed source.
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
No malicious automatic or user-triggered behavior was established.
Impact
No malicious impact identified.
Mechanism
The flagged metadata and dynamic-evaluation patterns correspond to AWS credential-provider and Discord.js shard functionality; script connections are managed through an access-controlled API.
Decision evidencepublic snapshot Evidence for AI clean decision
The manifest exposes an HTTP module and CLI entry point; its scripts section contains build and check tasks, with no install hook identified. The flagged script-connection code defines an explicit POST management route for creating or updating connections, with lead-agent access controls. The metadata-address code resolves AWS’s standard instance-metadata endpoint and supports an AWS endpoint override, consistent with its AWS provider support. The bundled eval code is a Discord.js shard operation that requires a configured child process or worker; no automatic remote-response execution chain was established. Evidence against
Static findings include patterns in bundled AWS and Discord.js dependencies that have ordinary SDK purposes. No install-time data collection or unrelated collector was identified in the reviewed source. Behavioral surface
Source Child process · Crypto · Dynamic require · Environment variables · Eval · Filesystem · Network · Shell · Web socket
Supply chain High entropy strings · Minified · Telemetry · URL strings
Manifest Wildcard dependency
Scanned 2,475 files · 62.4 MB of source
50 external domains referenced
0.0.0.0 0177.0.0.1 0x7f.1 1.1.1.1 10.0.0.1 10.0.0.5 10.0.4.2 10.1.2.3 100.127.255.255 100.128.0.0 100.63.255.255 100.64.0.1 127.0.0.1 127.0.0.2 127.8.9.10 169.254.169.254 169.254.170.2 172.15.0.1 172.15.255.255 172.16.0.1 172.31.255.255 172.32.0.1 192.0.0.8 192.168.1.1 192.168.1.10 192.169.0.1 198.18.0.1 224.0.0.1 255.255.255.255 256.1.1.1 8.8.8.8 93.184.216.34 93.184.216.35 a.b a.b.agent-swarm.cloud a.b.agent-swarm.dev a.co a.com a.local a.test abc-def.lt.desplega.ai abc.lt.desplega.ai accounts.google.com acme.atlassian.net acme.co.uk acme.com acme.example acme.slack.com adaptivecards.io ae.api.openai.com Oversized source lightweight scan
dist/cli-hr2e2fft.js 9.17 MB file, sampled 256 KB
Filesystem Network Environment variables High entropy strings
dist/cli-shpbx5ee.js 4.01 MB file, sampled 256 KB
Filesystem Environment variables High entropy strings URL strings json-schema.org
Findings5 critical · 14 high · 9 medium · 6 low Source & flagged code25 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/cli-0at8w34w.js View on unpkg · L550 Code excerpt · 3 lines 550 var require_cross_spawn = __commonJS (function (exports, module) {
551 var cp = __require ("child_process" );
552 var parse = require_parse ();
Code excerpt · 3 lines 474 parsed.args = ["/d" , "/s" , "/c" , `"${shellCommand}"` ];
475 parsed.command = process.env.comspec || "cmd.exe" ;
476 parsed.options.windowsVerbatimArguments = true ;
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/cli-0at8w34w.js View on unpkg · L122 Code excerpt · 12 lines Cross-file remote execution chain: dist/cli-0at8w34w.js spawns dist/cli-436532ck.js; helper contains network access plus dynamic code execution.
122 function checkPathExt (path, options) {
123 var pathext = options.pathExt !== undefined ? options.pathExt : process.env.PATHEXT;
124 if (!pathext) {
⋯
189 var core;
190 if (process.platform === "win32" || global.TESTING_WINDOWS) {
191 core = require_windows ();
⋯
248 const pathEnv = cmd.match (/\//) || isWindows && cmd.match(/\\/) ? [""] : [
249 ...isWindows ? [process.cwd ()] : [],
250
High Semantic analysis limitedCleared
A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
dist/cli-0at8w34w.js View on unpkg Scanner record · 1 line stage = ast_semantic_analysis; reason = ast_path_work_budget_exceeded; limitedFiles = 33
Medium Dynamic requireCleared
Package source references dynamic require/import behavior.
dist/cli-0at8w34w.js View on unpkg · L120 Code excerpt · 3 lines 120 isexe.sync = sync;
121 var fs = __require ("fs" );
122 function checkPathExt (path, options) {
Code excerpt · 3 lines 1710 site.name = fn.name;
1711 var deprecatedfn = new Function ("fn" , "log" , "deprecate" , "message" , "site" , `"use strict"
1712 ` + "return function (" + args + ") {" + ` log.call (deprecate, message, site)
Low Weak cryptoCleared
Package source references weak cryptographic algorithms.
dist/cli-yjdgea32.js View on unpkg · L33 Code excerpt · 12 lines 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 ( );
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-k7fj52d3.js View on unpkg · L99316 Code excerpt · 9 lines 99316 await i (n.loginUrl), s = true ;
99317 else if (i && (o = n.loginUrl, !process.env.NO_OPEN_BROWSER && !Boolean (process.env.SSH_CONNECTION ?? process.env.SSH_CLIENT ?? process.env.SSH_TTY) && ut (o)))
99318 try {
⋯
99322 const r = process.platform;
99323 return r === "darwin" ? { cmd: "open" , args: [t] } : r === "win32" ? { cmd: at.join (process.env.SYSTEMROOT ?? "C:\\Windows" , "System32" , , ,
Critical Hardcoded runtime data exfiltrationCleared
Source sends credentials or rich application records to a package-controlled external receiver enabled by default.
src/http/script-connections.ts View on unpkg · L1 Code excerpt · 11 lines 1 import type { IncomingMessage, ServerResponse } from "node:http" ;
2 import { z } from "zod" ;
⋯
306 .optional (),
307 hasBody: z.boolean ().optional (),
308 successStatus: z.string ().optional (),
⋯
1168 try {
1169 const runtime = JSON. (connection.generatedRuntimeJson) {
Critical Credential exfiltrationCleared
Source appears to send environment or credential material to an external endpoint.
dist/cli-k2gzwsj2.js View on unpkg · L1008 High Trigger reachable credential exfiltrationCleared
A manifest entrypoint or package-local install chain reaches credential exfiltration behavior.
dist/cli-k2gzwsj2.js View on unpkg · L1008 Shared code excerpt · 2 findings · 12 lines 1008 },
1009 exitCode: {
1010 type: "integer" ,
⋯
1885 event: "lead.captured" ,
1886 description: "A consented lead (Teams waitlist or private-beta sign-up). The email stays in feedback_submissions." ,
1887 since: "2026-09-30" ,
⋯
2547 if (!/^[a-z][a-z0- +.-]*:\/\
High Credential redirect persistenceCleared
Manifest-reachable source sends a prompted API credential to a fixed unofficial gateway and persists the redirection.
dist/cli-ehq736cn.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-ehq736cn.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 accessCleared
Source reaches cloud instance metadata or link-local credential endpoints.
dist/cli-v41kn3cd.js View on unpkg · L1324 Code excerpt · 12 lines 1324 if (reason?.$responseBodyText) {
1325 return `${status ? status + ": " : ""}Deserialization error for body: ${reason.$responseBodyText}` ;
1326 }
⋯
2209 var getHomeDir = () => {
2210 const { HOME, USERPROFILE, HOMEPATH, HOMEDRIVE = `C:${sep}` } = process.env;
2211 if (HOME)
⋯
2218 if (!homeDirCache[homeDirCacheKey])
2219 homeDirCache[homeDirCacheKey] = homedir ();
2220 return homeDirCache[homeDirCacheKey];
Critical Remote response code executionCleared
Source passes code obtained from a remote response into a dynamic execution sink.
dist/index-514d9pf6.js View on unpkg · L75 High Obfuscated payload loaderCleared
Source contains an obfuscated payload loader that reconstructs and executes hidden code.
dist/index-514d9pf6.js View on unpkg · L75 Shared code excerpt · 2 findings · 12 lines 75 range: () => range,
76 [redacted]: () => [redacted],
77 version: () => version
⋯
198 var __importDefault;
199 var __classPrivateFieldGet;
200 var __classPrivateFieldSet;
⋯
800 kBodyUsed: Symbol ("used" ),
801
Critical Trigger reachable dangerous capabilityCleared
A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
dist/http-mhz9vw1f.js View on unpkg · L46 Code excerpt · 12 lines Trigger-reachable chain: manifest.bin -> dist/cli.js -> dist/http-mhz9vw1f.js
46 placeholderForConfigKey,
47 isPrivateAddress,
48 assertUrlSafe,
⋯
1335 import {
1336 import_websocket,
1337 import_websocket_server,
⋯
1820 end: () => {
1821 bestEffortTelemetry ("span.end" , () => span.end ());
1822 }
⋯
1838 }
1839 function readPositiveIntEnv (key, env = process.env) {
High Base64 obscured URLCleared
Source decodes a Base64-obscured HTTP endpoint at runtime.
dist/index-m6g8q65g.js View on unpkg · L13 Code excerpt · 12 lines 13 var supportsRequestInitExt = () => {
14 return typeof process === "object" && Number.parseInt (process?.versions?.node?.substring (0 , 2 )) >= 18 && process.versions.undici;
15 };
⋯
57 const serializedBody = body === undefined ? undefined : bodySerializer (body, mergeHeaders (baseHeaders, headers, params.header));
58 const finalHeaders = mergeHeaders (serializedBody === undefined || serializedBody FormData ? {} : {
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-hr2e2fft.js View on unpkg Scanner record · 4 lines path = dist/cli-hr2e2fft.js
kind = oversized_source_file
sizeBytes = 9611304
magicHex = [redacted]
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
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.js View on unpkg Scanner record · 5 lines matchType = previous_version_dangerous_delta
matchedPackage = @desplega.ai/agent-swarm@2.7.5
matchedIdentity = npm:[redacted]:2.7.5
similarity = 0.917
summary = stored previous version shares package body but lacks this dangerous source file
Package metadata 9 findings
Medium Network 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
...(opt.path || process.env.PATH || "" ).split (colon)
474 parsed.args = ["/d" , "/s" , "/c" , `"${shellCommand}"` ];
475 parsed.command = process.env.comspec || "cmd.exe" ;
476 parsed.options.windowsVerbatimArguments = true ;
try {
34 var obj = JSON.parse (payload);
35 if (obj !== null && typeof obj === "object" ) {
817 var once = require_lodash7 ();
818 var { KeyObject, createSecretKey, createPrivateKey } = __require ("crypto" );
819 var SUPPORTED_ALGS = ["RS256" , "RS384" , "RS512" , "ES256" , "ES384" , "ES512" , "HS256" , "HS384" , "HS512" , "none" ];
1082 text += `: ${originalPath}` ;
1083 text += `; visit https://git.new/pathToRegexpError for info` ;
1491 module.exports = depd;
1492 var basePath = process.cwd ();
1493 function containsNamespace (str, namespace) {
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;
"WindowsPowerShell"
"v1.0"
"powershell.ex...
99324 }(t), i = (0 , ot.spawn)(n, s, { stdio: "ignore" , windowsHide: true });
99327 }), i.once ("spawn" , () => r ()), i.unref ();
99328 }) : Promise.reject (new Error (`Invalid URL: only http:// and https:// links can be opened. Received: ${t}` ));
99329 }(n.loginUrl), s = true ;
High Command output exfiltrationCleared
Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
dist/index-k7fj52d3.js View on unpkg · L99322 Code excerpt · 9 lines 99322 const r = process.platform;
99323 return r === "darwin" ? { cmd: "open" , args: [t] } : r === "win32" ? { cmd: at.join (process.env.SYSTEMROOT ?? "C:\\Windows" , "System32" , "WindowsPowerShell" , "v1.0" , "powershell.ex...
99324 }(t), i = (0 , ot.spawn)(n, s, { stdio: "ignore" , windowsHide: true });
⋯
99327 }), i.once ("spawn" , () => r ()), i.unref ();
99328 }) : Promise.reject (new Error (`Invalid URL: only http:// and https:// links can be opened. Received: ${t}` ));
99329 }(n.loginUrl), s = true ;
⋯
99331 var o;
99332 s || process.stderr.write (`Could not open a browser. Open this URL to sign in to Cursor:
99333
High Sandbox evasion gated capabilityCleared
Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
dist/index-k7fj52d3.js View on unpkg · L3 Code excerpt · 12 lines 3 protoInt64,
4 protoBase64,
5 isMessage,
⋯
630 import * as o from "fs" ;
631 import * as a from "http" ;
632 import * as u from "http2" ;
⋯
636 import * as d from "node:buffer" ;
637 import * as p from "node:child_process" ;
638 import * as f from "node:constants" ;
⋯
4667 for (const [e, n] of Object.entries (t))
4668 typeof n == "string" ? r[e] = new f ({ data: { case : "stringValue" , value: n } }) : typeof n == "number" ? r[e] = new f ({ data: { case : "doubleValue" , value: n } }) : typeof n == "b...
4669 return r;
parse
as
1170 operations?: unknown;
1667 const response = await fetch ("https://integrations.sh/api.json" , {
1668 headers: { accept: "application/json" },
9
//.test(value))
2548 value = `https://${value}` ;
2698 function _isE2bSandbox () {
2699 return typeof process.env.E2B_SANDBOX_ID === "string" && process.env.E2B_SANDBOX_ID.length > 0 ;
⋯
2236 const ssoTokenText = await readFile$1 (ssoTokenFilepath, "utf8" );
2237 return JSON.parse (ssoTokenText);
kBody: Symbol ("abstracted request body" ),
802 kRunning: Symbol ("running" ),
1356 const code = this .code = key.charCodeAt (index);
1840 const raw = env[key]?.trim ();
instanceof
59 "Content-Type" : "application/json"
175 let error = await response.text ();
1432 const dv = new DataView (new ArrayBuffer (8 ));
1433 const ok = typeof BigInt === "function" && typeof dv.getBigInt64 === "function" && typeof dv.getBigUint64 === "function" && typeof dv.setBigInt64 === "function" && typeof dv.setBig...