Loading npm security reports…
Loading npm security reports…
@desplega.ai/agent-swarm@1.135.0: Agent extension lifecycle risk | LPM Firewall
npm / @desplega.ai/agent-swarm / 1.135.0
@desplega.ai/agent-swarm@1.135.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 Sep 20, 2026, 00:46 UTC · by lpm-firewall-ai No concrete malicious npm lifecycle, secret theft, or unrelated exfiltration was found. The guarded cross-platform remote-skill installation and sync chain is a meaningful dangerous capability that warrants a warning.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review
Trigger
A caller with the required API key and RBAC permission installs or refreshes a remote skill, then an agent filesystem sync runs.
Impact
A trusted API caller or compromised control plane can cause mutable GitHub-hosted instructions to become active skills for supported agent tools.
Mechanism
Fetches remote SKILL.md content and writes it into agent skill directories.
Evidence
src/http/skills.ts src/utils/skill-fs-writer.ts .claude/skills .pi/agent/skills .codex/skills .opencode/skills .agents/skills
Network endpoints1
raw.githubusercontent.com /${parsed.body.sourceRepo}/${branch}/${filePath}
Decision evidencepublic snapshot Evidence for warning
An authenticated, RBAC-gated API accepts a caller-selected GitHub repository for a remote skill. The remote-skill handler fetches and stores SKILL.md content from raw.githubusercontent.com. A sync endpoint refreshes remote skill content, then a filesystem-sync endpoint applies skills for an agent. The filesystem writer targets Claude, Pi, Codex, OpenCode, and Agents skill directories and writes the skill content. The package manifest exposes a CLI but has no npm preinstall, install, or postinstall hook. Evidence against
The remote install and sync routes require an API key and named RBAC permissions. No source evidence found of automatic npm lifecycle execution, credential exfiltration, or a package-controlled recipient. 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,391 files · 33.4 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-fs.example.test agent-fs.test 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.au.svix.com api.broken.test api.ca.svix.com 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.eu.svix.com api.example-swarm.dev api.example.com Oversized source lightweight scan
dist/cli-bynsg176.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-yd6vqt1x.js 8.51 MB file, sampled 256 KB
Filesystem Network Environment variables Crypto High entropy strings
dist/pi-mono-adapter-6vmrr3g8.js 6.85 MB file, sampled 256 KB
Findings2 critical · 18 high · 7 medium · 6 low Source & flagged code23 flagged Low Eval
Package source references a known benign dynamic code generation pattern.
dist/cli-j2p3bfs3.js View on unpkg · L1477 Code excerpt · 3 lines 1477 try {
1478 fn = new Function (...PARAM_SHADOW_KEYS, "payload" , `${BODY_SHADOW_PREAMBLE} return (${filter})(payload);` );
1479 } catch (err) {
Medium Dynamic require
Package source references dynamic require/import behavior.
dist/cli-akdvwc9v.js View on unpkg · L77 Code excerpt · 3 lines 77 };
78 var importNodeModule = (specifier) => import (__rewriteRelativeImportExtension (specifier));
79 function getProcessEnv () {
Critical Hardcoded runtime data exfiltration
Source sends credentials or rich application records to a package-controlled external receiver enabled by default.
dist/http-d4qhhnyy.js View on unpkg · L880 Critical Trigger reachable dangerous capability
A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
dist/http-d4qhhnyy.js View on unpkg · L880 Shared code excerpt · 2 findings · 12 lines 880 createServer as createHttpServer
881 } from "node:http" ;
882 init_db ();
⋯
1004 async function seedLegacyCapabilitiesConfig () {
1005 const envValue = process.env.CAPABILITIES;
1006 if (!envValue)
High Cloud metadata access
Source reaches cloud instance metadata or link-local credential endpoints.
dist/index-yqweff5n.js View on unpkg · L40 Code excerpt · 12 lines 40 });
41 req.end ();
42 });
⋯
59 const requestOptions = await getCmdsUri ({ logger: init.logger });
60 const credsResponse = JSON.parse (await requestFromEcsImds (timeout, requestOptions));
61 if (!isImdsCredentials (credsResponse)) {
⋯
68 }, requestFromEcsImds = async (timeout, options) => {
69 if (process.env[ENV_CMDS_AUTH_TOKEN]) {
70 options.headers = {
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-bynsg176.js View on unpkg · L60 Code excerpt · 12 lines Cross-file remote execution chain: dist/cli-bynsg176.js spawns dist/cli-y37pxs1m.js; helper contains network access plus dynamic code execution.
60 import path from "path" ;
61 import { spawn } from "child_process" ;
62 import { statSync } from "fs" ;
⋯
134 try {
135 parsed = JSON.parse (item);
136 } catch (error) {
⋯
278 } else {
279
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]
Medium Oversized source file
Package contains source files above the normal full-analysis size ceiling.
dist/pi-mono-adapter-6vmrr3g8.js View on unpkg Scanner record · 4 lines path = dist/pi-mono-adapter-6vmrr3g8.js
kind = oversized_source_file
sizeBytes = 7183364
magicHex = [redacted]
dist/cli-3m4mkyqy.js#virtual:normalized:round1 View file High Semantic analysis limited
A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
dist/cli-3m4mkyqy.js#virtual:normalized:round1 View on unpkg Scanner record · 1 line stage = ast_semantic_analysis; reason = ast_parse_error; limitedFiles = 18
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/cli-f3s9dry0.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @desplega.ai/agent-swarm@1.149.1
matchedPath = dist/cli-5bfdm1ah.js
matchedIdentity = npm:[redacted]:1.149.1
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/cli-qf9kpsve.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @desplega.ai/agent-swarm@1.149.1
matchedPath = dist/cli-q51yprfq.js
matchedIdentity = npm:[redacted]:1.149.1
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/cli-tkf8n6cw.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @desplega.ai/agent-swarm@1.149.1
matchedPath = dist/cli-pdz9qde4.js
matchedIdentity = npm:[redacted]:1.149.1
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/codex-login-x7603481.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @desplega.ai/agent-swarm@1.149.1
matchedPath = dist/codex-login-vx7ghkzj.js
matchedIdentity = npm:[redacted]:1.149.1
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/cli-snz3p4yf.js View on unpkg Scanner record · 7 lines matchType = token_shingles
matchedPackage = @desplega.ai/agent-swarm@1.149.1
matchedPath = dist/cli-5my3bjsd.js
matchedIdentity = npm:[redacted]:1.149.1
similarity = 1.000
shingleOverlap = 48
summary = source token shingles overlapped finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/index-7m8yxkw5.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @desplega.ai/agent-swarm@1.149.1
matchedPath = dist/index-xk036zsk.js
matchedIdentity = npm:[redacted]:1.149.1
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/index-gqnmr60d.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @desplega.ai/agent-swarm@1.149.1
matchedPath = dist/index-tzg5srfp.js
matchedIdentity = npm:[redacted]:1.149.1
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/index-shne41sd.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @desplega.ai/agent-swarm@1.149.1
matchedPath = dist/index-1kq5hw2p.js
matchedIdentity = npm:[redacted]:1.149.1
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/index-t36q2v4t.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @desplega.ai/agent-swarm@1.149.1
matchedPath = dist/index-66xz5e9j.js
matchedIdentity = npm:[redacted]:1.149.1
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/cli-8p37s71j.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @desplega.ai/agent-swarm@1.149.1
matchedPath = dist/cli-xvkmedgn.js
matchedIdentity = npm:[redacted]:1.149.1
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/cli-9b13ggd1.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @desplega.ai/agent-swarm@1.149.1
matchedPath = dist/cli-9b13ggd1.js
matchedIdentity = npm:[redacted]:1.149.1
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/cli-9y5b02vr.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @desplega.ai/agent-swarm@1.149.1
matchedPath = dist/cli-pp9ax9pa.js
matchedIdentity = npm:[redacted]:1.149.1
similarity = 1.000
summary = normalized source hash matched finalized malicious source
Filesystem Network Child process Environment variables Crypto High entropy strings URL strings github.com
⋯
1213 // src/script-workflows/executor.ts
1214 var MAX_STDERR_BYTES = 1048576 ;
1215 function getScriptWorkflowHarnessPath () {
1232 const argsFile = `${tmpdir}/args.json` ;
1233 await Bun.write (sourceFile, run.source);
1234 await Bun.write (argsFile, JSON.stringify (run.args ?? null ));
High Credential redirect persistence
Manifest-reachable source sends a prompted API credential to a fixed unofficial gateway and persists the redirection.
dist/http-d4qhhnyy.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/http-d4qhhnyy.jsAssetKeyAuthorizationError,
deriveApiBaseUrl,
[redacted],
buildAuthorizationUrl,
deleteAuthorizationById,
deleteAuthorizationsForApp,
exchangeAuthorizationCode,
[redacted],
120 }, STATIC_STABILITY_REFRESH_INTERVAL_SECONDS, STATIC_STABILITY_REFRESH_INTERVAL_JITTER_WINDOW_SECONDS, STATIC_STABILITY_DOC_URL = "https://docs.aws.amazon.com/sdkref/latest/guide/f...
121 const refreshInterval = STATIC_STABILITY_REFRESH_INTERVAL_SECONDS + Math.floor (Math.random () * STATIC_STABILITY_REFRESH_INTERVAL_JITTER_WINDOW_SECONDS);
for (const [key, value] of Object.entries (process.env)) {
280 if (value !== undefined ) {
304 child.stdin.write (args.input);