Loading npm security reports…
Loading npm security reports…
@desplega.ai/agent-swarm@2.7.9: npm security report – allowed | LPM Firewall
npm / @desplega.ai/agent-swarm / 2.7.9
@desplega.ai/agent-swarm@2.7.9 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 Nov 3, 2026, 08:50 UTC · by lpm-firewall-ai The reviewed credential flow is an explicit Codex login feature: it prompts for or uses the configured Swarm API destination and stores OAuth credentials there for deployed workers. The scanner’s credential and execution indicators do not establish automatic exfiltration or unrelated malicious behavior in the inspected paths.
Static reason
High-risk behavior combination matched malicious policy.; previous stored version diff introduced dangerous source
Trigger
A user runs the `agent-swarm codex-login` command.
Impact
The credentials are made available to the user’s deployed Codex workers through the selected Swarm API.
Mechanism
The command completes a ChatGPT OAuth flow and stores the resulting credentials in the Swarm API config store using the API URL selected by the user or configured for the tool.
Network endpoints2
localhost:3013 User-configured Swarm API URL
public snapshot
Evidence for AI clean decision
The package describes itself as an AI agent orchestration tool and exposes a CLI entry point. Codex OAuth setup defaults to a local API and allows the user to set the API URL and key. The Codex login flow is an explicit CLI command and documents its OAuth and credential-storage steps. The resulting credentials are stored through the selected Swarm API URL. Evidence against
No install lifecycle scripts are declared in the reviewed manifest section. The credential flow is user-invoked and sends the Codex credentials to the selected Swarm API for storage. 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,553 files · 62.7 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-2ccpqyyf.js 9.18 MB file, sampled 256 KB
Filesystem Network Environment variables High entropy strings
dist/cli-2r0jcc3k.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-fayav105.js 4.10 MB file, sampled 256 KB
Filesystem Environment variables High entropy strings URL strings
Findings6 critical · 13 high · 9 medium · 6 low Source & flagged code24 flagged The lines the automated scan flagged. The review checked them and cleared this version.
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/codex-login-bcda78ge.js View on unpkg Scanner record · 5 lines matchType = previous_version_dangerous_delta
matchedPackage = @desplega.ai/agent-swarm@2.7.8
matchedIdentity = npm:[redacted]:2.7.8
similarity = 0.758
summary = stored previous version shares package body but lacks this dangerous source file
High Child processCleared
Package source references child process execution.
dist/codex-login-bcda78ge.js View on unpkg · L21 Code excerpt · 3 lines 21 init_api_key ();
22 import { exec } from "node:child_process" ;
23 import { emitKeypressEvents } from "node:readline" ;
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 Dynamic requireCleared
Package source references dynamic require/import behavior.
dist/jiti-loader-ezkd0fpq.js View on unpkg · L13 Code excerpt · 3 lines 13 }
14 var nativeImport = (id) => import (id);
15 var _transform;
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-q5cmtbz5.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-neyag5p6.js View on unpkg · L1010 High Trigger reachable credential exfiltrationCleared
A manifest entrypoint or package-local install chain reaches credential exfiltration behavior.
dist/cli-neyag5p6.js View on unpkg · L1010 Shared code excerpt · 2 findings · 12 lines 1010 },
1011 exitCode: {
1012 type: "integer" ,
⋯
1887 event: "lead.captured" ,
1888 description: "A consented lead (Teams waitlist or private-beta sign-up). The email stays in feedback_submissions." ,
1889 since: "2026-09-30" ,
⋯
2549 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-fsgttth8.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-fsgttth8.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 Browser credential phishingCleared
Source appears to collect browser login credentials for exfiltration.
dist/index-fvzke5kx.js View on unpkg · L119 Code excerpt · 11 lines 120 // node_modules/@microsoft/teams.common/node_modules/axios/node_modules/https-proxy-agent/node_modules/agent-base/dist/src/promisify.js
121 var require_promisify = __commonJS (function (exports) {
⋯
469 if (proxy.auth) {
470 headers["Proxy-Authorization" ] = `Basic ${Buffer.from(proxy.auth).toString("base64")}` ;
471 }
⋯
482 const proxyResponsePromise = parse_proxy_response_1.default (socket);
483 socket.write (`${payload}\r
484
High Cloud metadata accessCleared
Source reaches cloud instance metadata or link-local credential endpoints.
dist/cli-gxy8y1dt.js View on unpkg · L33 Code excerpt · 12 lines 33 import {
34 import_websocket,
35 init_wrapper2
⋯
43
44 // node_modules/gaxios/package.json
45 var require_package = __commonJS (function (exports, module) {
⋯
259 case "json" :
260 return JSON.parse (JSON.stringify (data));
261 case "arraybuffer" :
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
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-rwymrnaz.js View on unpkg · L266 Code excerpt · 12 lines Cross-file remote execution chain: dist/cli-rwymrnaz.js spawns dist/cli-p0m0p34z.js; helper contains network access plus dynamic code execution.
266 function checkPathExt (path, options) {
267 var pathext = options.pathExt !== undefined ? options.pathExt : process.env.PATHEXT;
268 if (!pathext) {
⋯
333 var core;
334 if (process.platform === "win32" || global.TESTING_WINDOWS) {
335 core = require_windows ();
⋯
392 const pathEnv = cmd.match (/\
Critical Trigger reachable dangerous capabilityCleared
A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
dist/http-7374brv5.js View on unpkg · L46 Code excerpt · 12 lines Trigger-reachable chain: manifest.bin -> dist/cli.js -> dist/http-7374brv5.js
46 placeholderForConfigKey,
47 isPrivateAddress,
48 assertUrlSafe,
⋯
1347 import {
1348 import_websocket,
1349 import_websocket_server,
⋯
1859 end: () => {
1860 bestEffortTelemetry ("span.end" , () => span.end ());
1861 }
⋯
1877 }
1878 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-2r0jcc3k.js View on unpkg Scanner record · 4 lines path = dist/cli-2r0jcc3k.js
kind = oversized_source_file
sizeBytes = 12365015
magicHex = [redacted]
dist/cli-715t1gx6.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-715t1gx6.js#virtual:normalized:round1 View on unpkg Scanner record · 1 line stage = ast_semantic_analysis; reason = ast_parse_error; limitedFiles = 34
json-schema.org
dist/cli-rwymrnaz.js 4.15 MB file, sampled 256 KB
Filesystem Network Child process Environment variables Crypto High entropy strings URL strings github.com pi.dev
dist/http-7374brv5.js1 finding
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
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-q5cmtbz5.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-q5cmtbz5.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))
2550 value = `https://${value}` ;
2717 function _isE2bSandbox () {
2718 return typeof process.env.E2B_SANDBOX_ID === "string" && process.env.E2B_SANDBOX_ID.length > 0 ;
`);
2367 function getEnv (key) {
2368 return process.env[key.toLowerCase ()] || process.env[key.toUpperCase ()] || "" ;
⋯
290 } else if (obj instanceof FormData || obj instanceof URLSearchParams || "forEach" in obj && "set" in obj) {
291 obj.forEach ((_, key) => {
kBody: Symbol ("abstracted request body" ),
802 kRunning: Symbol ("running" ),
1356 const code = this .code = key.charCodeAt (index);
//) || isWindows && cmd.match(/\\/) ? [""] : [
393 ...isWindows ? [process.cwd ()] : [],
394 ...(opt.path || process.env.PATH || "" ).split (colon)
618 parsed.args = ["/d" , "/s" , "/c" , `"${shellCommand}"` ];
619 parsed.command = process.env.comspec || "cmd.exe" ;
620 parsed.options.windowsVerbatimArguments = true ;
1879 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...