Loading npm security reports…
Loading npm security reports…
@desplega.ai/agent-swarm@1.130.0: Agent extension lifecycle risk | LPM Firewall
npm / @desplega.ai/agent-swarm / 1.130.0
@desplega.ai/agent-swarm@1.130.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,
Flagged as agent extension risk
Allowed by default with warning: install-time first-party agent extension setup was detected.
AI security reviewscanned on Aug 8, 2026, 10:56 UTC · by lpm-firewall-ai No concrete malicious install-time behavior or exfiltration was found. The guarded runtime bypass of Claude's project trust prompt warrants a warning under the agent-extension lifecycle policy.
Static reason
High-risk behavior combination matched malicious policy.; previous stored version diff introduced dangerous source
Trigger
User starts an agent-swarm worker that launches interactive Claude in tmux.
Impact
The configured project is marked trusted in ~/.claude.json; telemetry sends anonymized product events.
Mechanism
Runtime Claude trust-dialog pre-seed plus package telemetry.
Evidence
package.json src/providers/claude-adapter.ts src/telemetry.ts src/scripts-runtime/credential-broker/fetch-patch.ts src/otel-impl.ts dist/otel-impl-thnttmbn.js ~/.claude.json
Network endpoints1
proxy.desplega.sh /v1/events
public snapshot
Evidence for warning
src/providers/claude-adapter.ts pre-seeds ~/.claude.json project trust acceptance when launching interactive Claude in tmux. src/telemetry.ts sends opt-out anonymized runtime telemetry to proxy.desplega.sh. Evidence against
package.json has no preinstall, install, or postinstall hook. Claude trust write is runtime-gated to interactive tmux sessions, not npm installation. Credential-broker fetch patch substitutes credentials only for configured allowed hosts and drops unresolved placeholders. dist/otel-impl-thnttmbn.js eval is bundled dependency compatibility code; src/otel-impl.ts contains normal OTLP setup. Behavioral surface
Source Child process · Crypto · Dynamic require · Environment variables · Eval · Filesystem · Network · Shell · Web socket
Supply chain High entropy strings · Telemetry · URL strings
Manifest Wildcard dependency
Scanned 1,345 files · 29.0 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.co a.com a.local accounts.google.com acme.atlassian.net acme.example agent-abc-123.swarm.example.com agent-fs.example.test agent-fs.test agent-svc-test.swarm.example.com 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 aiplatform.googleapis.com 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.anyapi.ai api.atlassian.com api.attio.com api.broken.test api.cerebras.ai api.cloudflare.com api.composio.test api.dark.test api.deepseek.com api.devin.ai api.dormant.test api.e2b.app api.e2b.example api.echo.test api.example-swarm.dev api.example.com api.example.test Oversized source lightweight scan
dist/cli-h3e66g5b.js 5.97 MB file, sampled 256 KB
Filesystem Network Child process Environment variables Shell High entropy strings URL strings api.anyapi.ai api.impossibl.com api.lucidquery.com api.minimaxi.com docs.anyapi.ai docs.databricks.com docs.ebtech.com docs.z.ai impossibl.com lucidquery.com maas-api.ebcloud.com open.bigmodel.cn platform.minimaxi.com
dist/cli-haanc4qd.js 3.00 MB file, sampled 256 KB
Filesystem Child process Environment variables Eval High entropy strings URL strings raw.githubusercontent.com
Findings21 critical · 11 high · 7 medium · 6 low Source & flagged code36 flagged src/tests/task-supersede-resume.test.ts View file Critical Critical secret
Package contains a critical-looking secret pattern.
src/tests/task-supersede-resume.test.ts View on unpkg · L642 Critical Secret pattern
GitHub personal access token in src/tests/task-supersede-resume.test.ts
src/tests/task-supersede-resume.test.ts View on unpkg · L642 Shared code excerpt · 2 findings · 4 lines 642 patternName = github_pat
severity = critical
line = 642
matchedText = const fa...aa";
High Child process
Package source references child process execution.
dist/codex-login-z6yhbkmk.js View on unpkg · L13 Code excerpt · 3 lines 13 // src/commands/codex-login.ts
14 import { exec } from "node:child_process" ;
15 import { emitKeypressEvents } from "node:readline" ;
Critical Credential exfiltration
Source appears to send environment or credential material to an external endpoint.
dist/pi-mono-adapter-bpfrn6d7.js View on unpkg · L583 Critical Command output exfiltration
Source executes local commands and sends command output to an external endpoint.
dist/pi-mono-adapter-bpfrn6d7.js View on unpkg · L583 Critical Browser credential phishing
Source appears to collect browser login credentials for exfiltration.
dist/pi-mono-adapter-bpfrn6d7.js View on unpkg · L583 Shared code excerpt · 3 findings · 12 lines 583 }
584 exec (s) {
585 this .matcherRe.lastIndex = this .lastIndex;
⋯
753 props: ["language" , "code" , ],
Code excerpt · 3 lines 20583 try {
20584 var mod = eval ("quire" .replace (/^/, "re" ))(moduleName);
20585 if (mod && (mod.length || Object.keys (mod).length))
High Obfuscated payload loader
Source contains an obfuscated payload loader that reconstructs and executes hidden code.
dist/otel-impl-thnttmbn.js View on unpkg · L7187 Code excerpt · 3 lines 7187 setGlobalLoggerProvider (provider) {
7188 if (global_utils_1._global[global_utils_1.GLOBAL_LOGS_API_KEY]) {
Medium Dynamic require
Package source references dynamic require/import behavior.
dist/cli-w10fkrf1.js View on unpkg · L60 Code excerpt · 3 lines 60 };
61 var importNodeModule = (specifier) => import (__rewriteRelativeImportExtension (specifier));
62 function getProcessEnv () {
High Remote agent bridge
Source exposes local file and command tools to a remote model endpoint.
dist/cli-qcsjdppx.js View on unpkg · L11790 Code excerpt · 6 lines 11790 }
11791 function combineURLs (baseURL, relativeURL) {
11792 return relativeURL ? baseURL.replace (/\/?\/$/, "" ) + "/" + relativeURL.replace (/^\/+/, "" ) : baseURL;
⋯
20896 try {
20897 data = node_fs_1.default .readFileSync (node_path_1.default .resolve ("" .concat (installationDir, "/app-latest" )));
20898 installation = JSON. (data. ());
High Cloud metadata access
Source reaches cloud instance metadata or link-local credential endpoints.
dist/cli-czkae1fp.js View on unpkg · L589 Code excerpt · 12 lines 589 };
590 var uriEncode = (value) => encodeURIComponent (value).replace (/[!*'()]/g, (c) => `%${c.charCodeAt(0).toString(16).toUpperCase()}`);
591 var endpointFunctions = {
⋯
2231 stream.on ("error" , (err) => {
2232 collector.end ();
2233 reject (err);
⋯
2368 throw new Error (`Cannot transform payload Blob to web stream. Please make sure the Blob.stream() is polyfilled.
High Cross file remote execution context
Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
dist/cli-h3e66g5b.js View on unpkg · L57 Code excerpt · 12 lines Cross-file remote execution chain: dist/cli-h3e66g5b.js spawns dist/cli-s21zzx4b.js; helper contains network access plus dynamic code execution.
57 import path from "path" ;
58 import { spawn } from "child_process" ;
59 import { statSync } from "fs" ;
⋯
131 try {
132 parsed = JSON.parse (item);
133 } catch (error) {
⋯
275 } else {
276
High Base64 obscured URL
Source decodes a Base64-obscured HTTP endpoint at runtime.
dist/index-2qn2qndv.js View on unpkg · L15 Code excerpt · 12 lines 15 var supportsRequestInitExt = () => {
16 return typeof process === "object" && Number.parseInt (process?.versions?.node?.substring (0 , 2 )) >= 18 && process.versions.undici;
17 };
⋯
59 const serializedBody = body === undefined ? undefined : bodySerializer (body, mergeHeaders (baseHeaders, headers, params.header));
60 const finalHeaders = mergeHeaders (serializedBody === undefined || serializedBody instanceof FormData ? {} : {
templates/official/ux-principles/start-up.sh View file Medium Ships build helper
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]
High Semantic analysis limited
A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
dist/cli-b0p7rfnd.js View on unpkg Scanner record · 1 line stage = ast_semantic_analysis; reason = ast_alias_growth_limit_exceeded; limitedFiles = 3
Critical Previous version dangerous delta
This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
dist/cli-k9qkf1hw.js View on unpkg Scanner record · 5 lines matchType = previous_version_dangerous_delta
matchedPackage = @desplega.ai/agent-swarm@1.129.0
matchedIdentity = npm:[redacted]:1.129.0
similarity = 0.883
summary = stored previous version shares package body but lacks this dangerous source file
src/tests/http-api-integration.test.ts View file High Secret pattern
Stripe webhook signing secret in src/tests/http-api-integration.test.ts
src/tests/http-api-integration.test.ts View on unpkg · L1810 Code excerpt · 4 lines 1810 patternName = stripe_webhook_secret
severity = high
line = 1810
matchedText = const WE...cret
Critical Secret pattern
GitHub personal access token in src/tests/secret-scrubber.test.ts
src/tests/secret-scrubber.test.ts View on unpkg · L51 Code excerpt · 4 lines 51 patternName = github_pat
severity = critical
line = 51
matchedText = process....89 ";
Critical Secret pattern
GitHub personal access token in src/tests/secret-scrubber.test.ts
src/tests/secret-scrubber.test.ts View on unpkg · L53 Code excerpt · 4 lines 53 patternName = github_pat
severity = critical
line = 53
matchedText = const ou...d");
dist/cli-q8zwffx0.js 8.51 MB file, sampled 256 KB
Filesystem Network Child process Environment variables High entropy strings
dist/otel-impl-thnttmbn.js 2.31 MB file, sampled 256 KB
Filesystem Child process Environment variables High entropy strings URL strings opentelemetry.io
dist/pi-mono-adapter-bpfrn6d7.js 6.76 MB file, sampled 256 KB
Filesystem Network Child process Environment variables Crypto Shell High entropy strings URL strings github.com
High Trigger reachable credential exfiltration Code↓
Package metadata 9 findings
Medium Network
Medium Environment variables
Medium Structural risk force deep review
Medium Wildcard dependency
"autodetect"
951 deprecated ("10.7.0" , `Please use highlight(code, options) instead.
952 https://github.com/highlightjs/highlight.js/issues/2277`);
953 languageName = codeOrlanguageName;
1535 var v7_global_context_methods = "ansitooem oemtoansi ввестивидсубконто ввестиперечисление ввестипериод ввестиплансчетов выбранныйплансчетов " + "датагод датамесяц датачисло заголов...
1536 var v8_global_context_methods = "acos asin atan base64значение base64строка cos exp log log10 pow sin sqrt tan xmlзначение xmlстрока " + "xmlтип xmlтипзнч активноеокно безопасныйре...
1537 var v8_global_context_property = "wsссылки библиотекакарти
Critical Trigger reachable dangerous capability
A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
dist/pi-mono-adapter-bpfrn6d7.js View on unpkg · L583 Code excerpt · 11 lines Trigger-reachable chain: manifest.bin -> dist/cli.js -> dist/lead-1fva34y9.js -> dist/cli-326083vb.js -> dist/pi-mono-adapter-bpfrn6d7.js
583 }
584 exec (s) {
585 this .matcherRe.lastIndex = this .lastIndex;
⋯
753 props: ["language" , "code" , "autodetect" ],
754 data: function () {
755 return {
⋯
951 deprecated ("10.7.0" , `Please use highlight(code, options) instead.
952 https://github.com/highlightjs/highlight.js/issues/2277`);
953 languageName = codeOrlanguageName;
⋯
1535 var v7_global_context_methods = "ansitooem oemtoansi ввестивидсубконто ввестиперечисление ввестипериод ввестиплансчетов выбранныйплансчетов " + "датагод датамесяц датачисло заголов...
1536 var v8_global_context_methods = "acos asin atan base64значение base64строка cos exp log log10 pow sin sqrt tan
Code excerpt · 2 lines 24748 // node_modules/highlight.js/lib/languages/powershell.js
24749 var require_powershell = __commonJS ((exports, module) => {
High Trigger reachable credential exfiltration
A manifest entrypoint or package-local install chain reaches credential exfiltration behavior.
dist/pi-mono-adapter-bpfrn6d7.js View on unpkg · L583 Code excerpt · 11 lines Trigger-reachable credential exfiltration chain: manifest.bin -> dist/cli.js -> dist/lead-1fva34y9.js -> dist/cli-326083vb.js -> dist/pi-mono-adapter-bpfrn6d7.js
583 }
584 exec (s) {
585 this .matcherRe.lastIndex = this .lastIndex;
⋯
753 props: ["language" , "code" , "autodetect" ],
754 data: function () {
755 return {
⋯
951 deprecated ("10.7.0" , `Please use highlight(code, options) instead.
952 https://github.com/highlightjs/highlight.js/issues/2277`);
953 languageName = codeOrlanguageName;
⋯
1535 var v7_global_context_methods = "ansitooem oemtoansi ввестивидсубконто ввестиперечисление ввестипериод ввестиплансчетов выбранныйплансчетов " + "датагод датамесяц датачисло заголов...
1536 var v8_global_context_methods = "acos asin atan base64значение base64строка cos exp log
7189 return this .getLoggerProvider ();
parse
toString
Low Weak crypto
Package source references weak cryptographic algorithms.
dist/cli-qcsjdppx.js View on unpkg · L52 Code excerpt · 12 lines 52 require_stream,
53 require_websocket,
54 require_websocket_server
⋯
186
187 // node_modules/@slack/web-api/package.json
188 var require_package = __commonJS ((exports, module) => {
⋯
244 eventemitter3: "^5.0.1" ,
245 "form-data" : "^4.0.4" ,
246 "is-electron" : "2.2.2" ,
⋯
10410 } else {
10411 dataBuffer = Buffer.concat ([dataBuffer, Buffer.from (this ._streams[i])]);
10412 }
2369 ` + "If you are using React Native, this API is not yet supported, see: https://react-native.canny.io/feature-requests/p/fetch-streaming-body");
5567 var getHomeDir = () => {
5568 const { HOME, USERPROFILE, HOMEPATH, HOMEDRIVE = `C:${node_path.sep}` } = process.env;
for (const [key, value] of Object.entries (process.env)) {
277 if (value !== undefined ) {
301 child.stdin.write (args.input);
Medium Oversized source file
Package contains source files above the normal full-analysis size ceiling.
dist/cli-h3e66g5b.js View on unpkg Scanner record · 4 lines path = dist/cli-h3e66g5b.js
kind = oversized_source_file
sizeBytes = 6256395
magicHex = [redacted]
61 "Content-Type" : "application/json"
177 let error = await response.text ();
1434 const dv = new DataView (new ArrayBuffer (8 ));
1435 const ok = typeof BigInt === "function" && typeof dv.getBigInt64 === "function" && typeof dv.getBigUint64 === "function" && typeof dv.setBigInt64 === "function" && typeof dv.setBig...
Critical Secret pattern
GitHub personal access token in src/tests/secret-scrubber.test.ts
src/tests/secret-scrubber.test.ts View on unpkg · L102 Code excerpt · 4 lines 102 patternName = github_pat
severity = critical
line = 102
matchedText = "ghp_poo...AB" ;
Critical Secret pattern
GitHub personal access token in src/tests/secret-scrubber.test.ts
src/tests/secret-scrubber.test.ts View on unpkg · L104 Code excerpt · 4 lines 104 patternName = github_pat
severity = critical
line = 104
matchedText = const ou...0 ");
Critical Secret pattern
GitHub personal access token in src/tests/secret-scrubber.test.ts
src/tests/secret-scrubber.test.ts View on unpkg · L105 Code excerpt · 4 lines 105 patternName = github_pat
severity = critical
line = 105
matchedText = expect (o...0 ");
Critical Secret pattern
GitHub personal access token in src/tests/secret-scrubber.test.ts
src/tests/secret-scrubber.test.ts View on unpkg · L110 Code excerpt · 4 lines 110 patternName = github_pat
severity = critical
line = 110
matchedText = process....89 ";
Critical Secret pattern
GitHub personal access token in src/tests/secret-scrubber.test.ts
src/tests/secret-scrubber.test.ts View on unpkg · L114 Code excerpt · 4 lines 114 patternName = github_pat
severity = critical
line = 114
matchedText = "gh=ghp_...90" ;
Critical Secret pattern
GitHub fine-grained PAT in src/tests/secret-scrubber.test.ts
src/tests/secret-scrubber.test.ts View on unpkg · L146 Code excerpt · 4 lines 146 patternName = github_fine_grained
severity = critical
line = 146
matchedText = const ou...f");
Critical Secret pattern
GitHub personal access token in src/tests/secret-scrubber.test.ts
src/tests/secret-scrubber.test.ts View on unpkg · L152 Code excerpt · 4 lines 152 patternName = github_pat
severity = critical
line = 152
matchedText = const ou...d");
Critical Secret pattern
GitHub OAuth access token in src/tests/secret-scrubber.test.ts
src/tests/secret-scrubber.test.ts View on unpkg · L158 Code excerpt · 4 lines 158 patternName = github_oauth
severity = critical
line = 158
matchedText = const ou...d");
Critical Secret pattern
GitHub server-to-server token in src/tests/secret-scrubber.test.ts
src/tests/secret-scrubber.test.ts View on unpkg · L163 Code excerpt · 4 lines 163 patternName = github_server_token
severity = critical
line = 163
matchedText = const ou...d");
Critical Secret pattern
GitHub personal access token in src/tests/secret-scrubber.test.ts
src/tests/secret-scrubber.test.ts View on unpkg · L219 Code excerpt · 4 lines 219 patternName = github_pat
severity = critical
line = 219
matchedText = const ou...D");
Critical Secret pattern
GitHub personal access token in src/tests/secret-scrubber.test.ts
src/tests/secret-scrubber.test.ts View on unpkg · L297 Code excerpt · 4 lines 297 patternName = github_pat
severity = critical
line = 297
matchedText = process....89 ";
Critical Secret pattern
GitHub personal access token in src/tests/secret-scrubber.test.ts
src/tests/secret-scrubber.test.ts View on unpkg · L299 Code excerpt · 4 lines 299 patternName = github_pat
severity = critical
line = 299
matchedText = const on...9 ");