Loading npm security reports…
Loading npm security reports…
@desplega.ai/agent-swarm@2.13.5: npm security report – allowed | LPM Firewall
npm / @desplega.ai/agent-swarm / 2.13.5
@desplega.ai/agent-swarm@2.13.5 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
36 low-signal patterns reviewed and cleared.
AI security reviewscanned on Nov 18, 2026, 03:14 UTC · by lpm-firewall-ai The OpenAI bearer credential is attached to provider requests at the configured baseURL, which defaults to OpenAI; the github.com string is a comment. The package’s connection path uses supplied connection configuration, and the reviewed indicators do not establish unauthorized collection or reachable unrelated execution.
Static reason
High-risk behavior combination matched malicious policy.; previous stored version diff introduced dangerous source
Trigger
The HTTP module is the package module entry point; the CLI runs when invoked. No install lifecycle script is declared.
Impact
No unauthorized credential disclosure, unrelated collection, or other blocking behavior was established.
Mechanism
The OpenAI SDK helper attaches the key to requests built from its configured baseURL, defaulting to api.openai.com. The script-connection path takes authentication and host settings from the submitted configuration.
Network endpoints2
api.openai.com /v1configured OpenAI baseURL
public snapshot
Evidence for AI clean decision
The manifest points to the HTTP module and CLI as entry points. The OpenAI helper loads OPENAI_API_KEY for its Authorization header and builds requests from baseURL; its default is api.openai.com. The script-connections path accepts authentication and host settings from the submitted connection configuration. The console-scrub module imported by the HTTP entry point installs a console scrubber. Evidence against
The github.com match in the OpenAI dependency is an upstream issue URL in a comment, not a request destination. No install, preinstall, or postinstall lifecycle script is declared in the manifest. The OpenAI credential helper is part of the OpenAI provider and sends requests to its configured baseURL, defaulting to OpenAI. 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,782 files · 68.5 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.0.8 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.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.ghe.com acme.slack.com adaptivecards.io Oversized source lightweight scan
dist/cli-8b4rpnwj.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-ced4azn1.js 9.29 MB file, sampled 256 KB
Filesystem Network Environment variables High entropy strings
dist/cli-ebpq3c5z.js 4.25 MB file, sampled 256 KB
Filesystem Network Child process Environment variables
Findings5 critical · 13 high · 11 medium · 7 low Source & flagged code26 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-9n6g14vs.js View on unpkg · L5002 Code excerpt · 3 lines 5002 try {
5003 const raw = await spawn (`${opts.systemPrompt}
5004
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-1jx0srjt.js View on unpkg · L33 Code excerpt · 12 lines 33 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" , ];
Medium Dynamic requireCleared
Package source references dynamic require/import behavior.
dist/cli-k3facve0.js View on unpkg · L24 Code excerpt · 3 lines 24 const runtimeSpecifier = import .meta.url.endsWith (".js" ) ? specifier.replace (/\.ts$/, ".js" ) : specifier;
25 return import (__rewriteRelativeImportExtension (new URL (runtimeSpecifier, import .meta.url).href));
26 }, bedrockModuleLoader, bedrockConverseStreamApi = () => lazyApi (async () => bedrockModuleLoader ? await bedrockModuleLoader () : await importNodeOnlyApi ("./bedrock-converse-stream....
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 ( );
Critical Trigger reachable dangerous capabilityCleared
A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
dist/http-6aw5wanc.js View on unpkg · L7 Code excerpt · 12 lines Trigger-reachable chain: manifest.bin -> dist/cli.js -> dist/http-6aw5wanc.js
7 placeholderForConfigKey,
8 isPrivateAddress,
9 assertUrlSafe,
⋯
1522 import {
1523 import_websocket,
1524 import_websocket_server,
⋯
2144 end: () => {
2145 bestEffortTelemetry ("span.end" , () => span.end ());
2146 }
⋯
2162 }
2163 function readPositiveIntEnv (key, env = process.env) {
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 · 12 lines 1 import type { IncomingMessage, ServerResponse } from "node:http" ;
2 import { z } from "zod" ;
⋯
307 .optional (),
308 hasBody: z.boolean ().optional (),
309 successStatus: z.string ().optional (),
⋯
1170 try {
1171 const runtime = JSON. (connection.generatedRuntimeJson) {
Critical Remote response code executionCleared
Source passes code obtained from a remote response into a dynamic execution sink.
dist/index-126v2d0t.js View on unpkg · L75 High Command output exfiltrationCleared
Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
dist/index-126v2d0t.js View on unpkg · L75 High Obfuscated payload loaderCleared
Source contains an obfuscated payload loader that reconstructs and executes hidden code.
dist/index-126v2d0t.js View on unpkg · L75 Shared code excerpt · 3 findings · 12 lines 75 range: () => range,
76 [redacted]: () => [redacted],
77 version: () => version
⋯
198 var __importDefault;
199 var __classPrivateFieldGet;
Critical Browser credential phishingCleared
Source appears to collect browser login credentials for exfiltration.
dist/index-maddg9ys.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-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];
High Remote agent bridgeCleared
Source exposes local file and command tools to a remote model endpoint.
dist/claude-sdk-session-pr0znb81.js View on unpkg · L74 Code excerpt · 9 lines 74 import { delimiter as jae, dirname as Kae, extname as Gae, isAbsolute as Wae, join as Vae, resolve as qae } from "path" ;
75 import { execFile as gPe } from "child_process" ;
76 import { promisify as hPe } from "util" ;
⋯
6746 }
6747 }, readFileSync (e, t) {
6748 r = [];
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]
src/tests/fixtures/sheets/tracker-export.xlsx View file High Ships high entropy blobCleared
Package ships high-entropy non-source blobs.
src/tests/fixtures/sheets/tracker-export.xlsx View on unpkg Scanner record · 4 lines path = [redacted]-export.xlsx
kind = high_entropy_blob
sizeBytes = 18752
magicHex = [redacted]
High Payload in excluded dirCleared
Package hides binary, compressed, or executable-looking payloads in test/fixture/hidden paths.
src/tests/fixtures/sheets/tracker-export.xlsx View on unpkg Scanner record · 4 lines path = [redacted]-export.xlsx
kind = payload_in_excluded_dir
sizeBytes = 18752
magicHex = [redacted]
Medium Oversized source fileCleared
Package contains source files above the normal full-analysis size ceiling.
dist/cli-ced4azn1.js View on unpkg Scanner record · 4 lines path = dist/cli-ced4azn1.js
kind = oversized_source_file
sizeBytes = 9743530
magicHex = [redacted]
Medium Remote tarball dependencyCleared
Package manifest contains a dependency pinned to a remote tarball URL.
package.json View on unpkg Scanner record · 1 line Remote tarball dependency specs: xlsx@https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz
dist/cli-tt7dkwjj.js#virtual:string-array: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-tt7dkwjj.js#virtual:string-array:round1 View on unpkg Scanner record · 1 line stage = ast_semantic_analysis; reason = ast_parse_error; limitedFiles = 6
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-z3x7h79n.js View on unpkg Scanner record · 5 lines matchType = previous_version_dangerous_delta
matchedPackage = @desplega.ai/agent-swarm@2.13.4
matchedIdentity = npm:[redacted]:2.13.4
similarity = 0.883
summary = stored previous version shares package body but lacks this dangerous source file
Crypto
High entropy strings
URL strings
github.com
pi.dev
dist/cli-wzecestt.js 4.34 MB file, sampled 256 KB
Filesystem Environment variables High entropy strings URL strings json-schema.org
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
"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;
2164 const raw = env[key]?.trim ();
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/http-6aw5wanc.js View on unpkg · L35654 Code excerpt · 3 lines 35654 // src/realtime/browser.generated.txt
35655 var browser_generated_default = "var J=()=>new Map,Er=(e)=>{let t=J();return e.forEach((r,n)=>{t.set(n,r)}),t},me=(e,t,r)=>{let n=e.get(t);if(n===void 0)e.set(t,n=r());return n},mi...
35656
parse
as
1172 operations?: unknown;
1499 // Guarded: a public name that resolves to a private address is refused too.
1500 await createSsrfGuardedFetch (publicEndpointSsrfOptions ())(revocationUrl, {
200 var __classPrivateFieldSet;
800 kBodyUsed: Symbol ("used" ),
801 kBody: Symbol ("abstracted request body" ),
802 kRunning: Symbol ("running" ),
1356 const code = this .code = key.charCodeAt (index);
`);
2367 function getEnv (key) {
2368 return process.env[key.toLowerCase ()] || process.env[key.toUpperCase ()] || "" ;
⋯
2236 const ssoTokenText = await readFile$1 (ssoTokenFilepath, "utf8" );
2237 return JSON.parse (ssoTokenText);
let
30456 var A7e = new Set ([...[], "ENABLE_BETA_TRACING_DETAILED" , "OTEL_LOG_RAW_API_BODIES" ]);
30457 var R7e = /auth|key|token|cookie|secret|credential|session|signature|passw|jwt|assertion|cert|oidc|org|tenant|account|project|workspace|user|email|identity|principal|consumer|clien...
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-pr0znb81.js View on unpkg · L8 Code excerpt · 11 lines Cross-file remote execution chain: dist/claude-sdk-session-pr0znb81.js spawns dist/cli-6p8p2e6r.js; helper contains network access plus dynamic code execution.
8 trackErrorFromJson,
9 parseStderrForErrors
10 } from "./cli-sejvnjvw.js" ;
⋯
74 import { delimiter as jae, dirname as Kae, extname as Gae, isAbsolute as Wae, join as Vae, resolve as qae } from "path" ;
75 import { execFile as gPe } from "child_process" ;
76 import { promisify as hPe } from "util" ;
⋯
116 import { posix as j5e, win32 as K5e } from "path" ;
117 import { isIPv4 as k5e, isIPv6 as P5e } from "net" ;
118 import { closeSync as $Qe, lstatSync as jX, openSync as zQe, readdirSync as BQe, readSync as jQe, realpath as KQe, realpathSync as GQe, statSync as WQe } from "node:fs" ;
⋯
297 function Ab (e, t) {
L29
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...
Medium Ships compressed blobCleared
Package ships compressed or archive-like blobs.
src/tests/fixtures/sheets/tracker-export.xlsx View on unpkg Scanner record · 4 lines path = [redacted]-export.xlsx
kind = compressed_blob
sizeBytes = 18752
magicHex = [redacted]
Low Nested archive needs inspectionCleared
Package ships a nested archive or MCP bundle that was inventoried but not recursively analyzed.
src/tests/fixtures/sheets/tracker-export.xlsx View on unpkg Scanner record · 4 lines path = [redacted]-export.xlsx
kind = nested_archive_needs_inspection
sizeBytes = 18752
magicHex = [redacted]