Loading npm security reports…
Loading npm security reports…
@desplega.ai/agent-swarm@2.7.8: npm security report – allowed | LPM Firewall
npm / @desplega.ai/agent-swarm / 2.7.8
@desplega.ai/agent-swarm@2.7.8 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
30 low-signal patterns reviewed and cleared.
AI security reviewscanned on Nov 2, 2026, 03:05 UTC · by lpm-firewall-ai The credential findings concern an explicitly invoked Codex OAuth login that stores credentials in the configured Swarm API, defaulting to localhost and prompting for a URL interactively. The other flagged outbound request retrieves a public integrations catalog when its HTTP route is requested; no install-time hook or automatic credential exfiltration was found.
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
The reviewed credential flow runs through the explicit codex-login command; the integrations catalog fetch runs when its HTTP route is requested.
Impact
No automatic credential exfiltration or unrelated destructive behavior was identified.
Mechanism
OAuth credentials are stored in the selected Swarm API config store. The integrations request retrieves public catalog data from integrations.sh.
Network endpoints2
integrations.sh /api.jsonMCP_BASE_URL (configurable Swarm API URL; defaults to http://localhost:3013)
public snapshot
Evidence for AI clean decision
The package exposes src/http.ts and dist/cli.js; its manifest declares a prepack build script and no install lifecycle hook. The Codex login command defaults its Swarm API URL to MCP_BASE_URL or localhost and prompts for the URL in interactive use. The explicit Codex login flow reports the target API and stores the OAuth credentials in that API's config store. The integrations catalog fetch is reached through a matching HTTP route and retrieves catalog JSON from integrations.sh. 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,533 files · 66.0 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-1p89xny0.js 11.8 MB file, sampled 256 KB
High entropy strings URL strings 127.0.0.1 alipaytbox.yuque.com api.inference.crusoecloud.com api.subconscious.dev api.tbox.cn atomic.chat docs.crusoecloud.com docs.ollama.com docs.snowflake.com docs.subconscious.dev fastrouter.ai go.fastrouter.ai infer.flow7.org ollama.com
dist/cli-8sdejs1f.js 4.09 MB file, sampled 256 KB
Filesystem Environment variables High entropy strings URL strings json-schema.org
dist/cli-tpksw2nr.js 9.17 MB file, sampled 256 KB
Filesystem Network Environment variables
Findings4 critical · 11 high · 9 medium · 6 low Source & flagged code21 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-kyr67fgx.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-kyr67fgx.js View on unpkg · L122 Code excerpt · 12 lines Cross-file remote execution chain: dist/cli-kyr67fgx.js spawns dist/cli-ae0dnfee.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
Medium Dynamic requireCleared
Package source references dynamic require/import behavior.
dist/cli-kyr67fgx.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-w4xnbm46.js View on unpkg · L1012 High Trigger reachable credential exfiltrationCleared
A manifest entrypoint or package-local install chain reaches credential exfiltration behavior.
dist/cli-w4xnbm46.js View on unpkg · L1012 Shared code excerpt · 2 findings · 12 lines 1012 },
1013 exitCode: {
1014 type: "integer" ,
⋯
1889 event: "lead.captured" ,
1890 description: "A consented lead (Teams waitlist or private-beta sign-up). The email stays in feedback_submissions." ,
1891 since: "2026-09-30" ,
⋯
2551 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-g7s47cc5.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-g7s47cc5.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")}`;
Critical Trigger reachable dangerous capabilityCleared
A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
dist/http-bxat8dg3.js View on unpkg · L46 Code excerpt · 12 lines Trigger-reachable chain: manifest.bin -> dist/cli.js -> dist/http-bxat8dg3.js
46 placeholderForConfigKey,
47 isPrivateAddress,
48 assertUrlSafe,
⋯
1357 import {
1358 import_websocket,
1359 import_websocket_server,
⋯
1844 end: () => {
1845 bestEffortTelemetry ("span.end" , () => span.end ());
1846 }
⋯
1862 }
1863 function readPositiveIntEnv (key, env = process.env) {
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-8sdejs1f.js View on unpkg Scanner record · 4 lines path = dist/cli-8sdejs1f.js
kind = oversized_source_file
sizeBytes = 4288571
magicHex = [redacted]
dist/cli-84rj785g.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-84rj785g.js#virtual:normalized:round1 View on unpkg Scanner record · 1 line stage = ast_semantic_analysis; reason = ast_parse_error; limitedFiles = 32
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-32m9eda8.js View on unpkg Scanner record · 5 lines matchType = previous_version_dangerous_delta
matchedPackage = @desplega.ai/agent-swarm@2.7.7
matchedIdentity = npm:[redacted]:2.7.7
similarity = 0.858
summary = stored previous version shares package body but lacks this dangerous source file
High entropy strings
Cleared
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))
2552 value = `https://${value}` ;
2719 function _isE2bSandbox () {
2720 return typeof process.env.E2B_SANDBOX_ID === "string" && process.env.E2B_SANDBOX_ID.length > 0 ;
1864 const raw = env[key]?.trim ();