Loading npm security reports…
Loading npm security reports…
@spinabot/brigade@1.39.1: npm security report – allowed | LPM Firewall
Allowed — no malicious behavior detected
35 low-signal patterns reviewed and cleared.
AI security reviewscanned on Nov 3, 2026, 19:55 UTC · by lpm-firewall-ai The postinstall hook makes a narrow, local cosmetic change to the Pi SDK OAuth callback page. Other flagged behaviors are tied to user-invoked CLI commands, and the reviewed credential-discovery and metadata-fetch paths include protective checks.
Static reason
One or more suspicious static signals were detected.; source matched previously finalized malicious package; routed for review
Trigger
The branding script runs during npm postinstall. Gateway persistence requires `brigade gateway install`; Convex processes require a Convex CLI action such as `dev` or `start`.
Impact
The OAuth callback page’s appearance changes after installation. The reviewed paths do not show automatic credential collection, unrelated data transmission, or unrequested account actions.
Mechanism
The postinstall script resolves the Pi SDK OAuth callback page, inserts bundled logo and favicon data, and writes the branded page. The gateway installer writes and loads a launchd user agent when requested. The flagged Convex commands spawn the package’s own orchestrator scripts.
Evidence
scripts/brand-oauth-page.mjs @earendil-works/pi-ai OAuth callback page at the resolved package path, ending in utils/oauth/oauth-page.js dist/core/daemon/launchd.js
metadata.google.internal (blocked by fetch guard) metadata.aws.amazon.com (blocked by fetch guard) metadata.azure.com (blocked by fetch guard) 169.254.169.254 (blocked by fetch guard)
Decision evidencepublic snapshot Evidence for AI clean decision
The postinstall hook runs a branding script for the Pi SDK OAuth callback page. The hook writes a modified callback page with Brigade branding; it does not show network access or collection of user data. Gateway persistence is behind an explicit `brigade gateway install` command. Provider discovery checks credential transport before attaching an API key, and the fetch guard blocks cloud metadata destinations. Evidence against
The package defines a postinstall hook that modifies an installed dependency’s OAuth callback page. Gateway installation creates a launchd service configured to run at login, but it is user-triggered. The flagged Convex process launches belong to the explicitly invoked Convex CLI actions. The WhatsApp target strings appear in address-normalization documentation; no evidence showed automatic messages to them. 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 No manifest risk signals triggered.
Scanned 815 files · 11.2 MB of source
50 external domains referenced
127.0.0.1 192.168.1.5 accounts.google.com aistudio.google.com api-dashboard.search.brave.com api.anthropic.com api.cerebras.ai api.deepgram.com api.deepseek.com api.dev.runwayml.com api.duckduckgo.com api.elevenlabs.io api.exa.ai api.example.com api.firecrawl.dev api.github.com api.groq.com api.minimax.io api.mistral.ai api.moonshot.ai api.openai.com api.orcarouter.ai api.perplexity.ai api.sarvam.ai api.search.brave.com api.slack.com api.tavily.com api.telegram.org api.together.xyz api.tokensmarket.ai api.x.ai api.z.ai app.tavily.com ark.ap-southeast.bytepluses.com arxiv.org bailian.console.alibabacloud.com brave.com brigade.spinabot.com build.nvidia.com chatgpt.com claude.ai cloud.cerebras.ai console.anthropic.com console.groq.com console.mistral.ai console.x.ai core.telegram.org dashscope-intl.aliyuncs.com discord.com docs.exa.ai Findings22 high · 6 medium · 7 low Source & flagged code27 flagged The lines the automated scan flagged. The review checked them and cleared this version.
High Install time lifecycle scriptsCleared
Package defines install-time lifecycle scripts.
package.json View on unpkg Scanner record · 1 line scripts.postinstall = node scripts/brand-oauth-page.mjs
High Child processCleared
Package source references child process execution.
dist/ui/onboarding.js View on unpkg · L14 Code excerpt · 3 lines 14 */
15 import { spawn } from "node:child_process" ;
16 import { getModels } from "@earendil-works/pi-ai" ;
dist/ui/clipboard.js#virtual:normalized:round1 View file High ShellCleared
Package source references shell execution.
dist/ui/clipboard.js#virtual:normalized:round1 View on unpkg · L18 Code excerpt · 3 lines 18 * Each platform expresses all four differently, so they live behind one
19 * `ClipboardBackend` and the rest of the product never learns that PowerShell,
20 * osascript, or wl-paste exist.
Low EvalCleared
Package source references a known benign dynamic code generation pattern.
dist/agents/org/pride-image.js View on unpkg · L90 Code excerpt · 3 lines 90 // consistent with how Brigade lazy-loads other heavy modules.)
91 const importer = new Function ("s" , "return import(s)" );
92 const mod = (await importer ("playwright-core" ));
Medium Dynamic requireCleared
Package source references dynamic require/import behavior.
brigade.mjs View on unpkg · L54 Code excerpt · 3 lines 54 try {
55 const mod = await import ("node:module" );
56 if (typeof mod.enableCompileCache === "function" && !process.env.NODE_DISABLE_COMPILE_CACHE) {
Low Weak cryptoCleared
Package source references weak cryptographic algorithms.
dist/tideline/exports/vault.js View on unpkg · L1 Code excerpt · 2 lines 1 // src/tideline/exports/vault.ts
2 //
Medium Install persistenceCleared
Source writes installer persistence such as shell profile or service configuration.
dist/core/daemon/systemd.js View on unpkg · L8 Code excerpt · 12 lines 8 */
9 import { spawn } from "node:child_process" ;
10 import { existsSync, mkdirSync, readFileSync, unlinkSync, writeFileSync } from "node:fs" ;
⋯
14 function unitPath () {
15 return path.join (os.homedir (), ".config" , "systemd" , "user" , SERVICE_UNIT_NAME);
16 }
⋯
36 ,
dist/cli/commands/convex-cmd.js#virtual:normalized:round1 View file 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/cli/commands/convex-cmd.js#virtual:normalized:round1 View on unpkg · L42 Code excerpt · 9 lines 42 const env = {
43 ...process.env,
44 BRIGADE_CONVEX_BIN_DIR: binDir,
⋯
50 // already downloaded). Fail fast if the install step errors.
51 const install = spawnSync(process.execPath, [join(pkgRoot, "scripts", "install-convex.mjs")], {
52 env,
⋯
57 // 2) Boot the backend + dashboard in the foreground.
58 process.stdout.write("Starting Convex (data: ${friendlyPath(dataDir)})\n backend → http://${DEFAULT_HOST}:${DEFAULT_PORT}\n dashboard → http://${DEFAULT_HOST}:${DASHBOARD_PORT}...
59 const child = spawn(process.execPath, [join(pkgRoot, "scripts", "convex-dev.mjs")], {
High Command output exfiltrationCleared
Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
dist/cli/commands/convex-cmd.js View on unpkg · L75 High Trigger reachable command output exfiltrationCleared
A manifest entrypoint or package-local install chain reaches command-output exfiltration behavior.
dist/cli/commands/convex-cmd.js View on unpkg · L75 Shared code excerpt · 2 findings · 7 lines 75 // already downloaded). Fail fast if the install step errors.
76 const install = spawnSync (process.execPath, [join (pkgRoot, "scripts" , "install-convex.mjs" )], {
77 env,
⋯
82 // 2) Boot the backend + dashboard in the foreground.
High Cloud metadata accessCleared
Source reaches cloud instance metadata or link-local credential endpoints.
dist/infra/net/fetch-guard.js View on unpkg · L4 Code excerpt · 12 lines 4 * Why this exists: Brigade runs LLM-controllable URLs through `fetch` .
5 * Without a guard, a model can be tricked into hitting `http://169.254.169.254/`
6 * (cloud metadata) or `http://localhost:1234/` (developer service) and
⋯
20 import { isIP, isIPv4, isIPv6 } from "node:net" ;
21 import { promises as dnsPromises } from "node:dns" ;
22 import { DEFAULT_TIMEOUT_SECONDS } from "../../agents/tools/web-shared.js" ;
High Trigger reachable persistenceCleared
A manifest entrypoint or package-local install chain reaches persistence behavior.
dist/core/daemon/launchd.js View on unpkg · L4 Code excerpt · 10 lines Trigger-reachable persistence chain: manifest.main -> dist/entry.js -> dist/cli/run-main.js -> dist/cli/program/build-program.js -> dist/cli/commands/gateway-install.js -> dist/core/daemon/service.js -> dist/core/daemon/launchd.js
4 * Writes `~/Library/LaunchAgents/com.brigade.gateway.plist` (a user agent, no
5 * sudo needed) and loads it via `launchctl bootstrap gui/$UID` . `KeepAlive`
6 * makes the OS restart the daemon if it crashes; `RunAtLoad` brings it up at
⋯
8 */
9 import { spawn } from "node:child_process" ;
10 import { existsSync, mkdirSync, readFileSync, unlinkSync, writeFileSync } from "node:fs" ;
skills/video-frames/scripts/frame.sh View file Medium Ships build helperCleared
Package ships non-JavaScript build or shell helper files.
skills/video-frames/scripts/frame.sh View on unpkg Scanner record · 4 lines path = skills/video-frames/scripts/frame.sh
kind = build_helper
sizeBytes = 1347
magicHex = [redacted]
brigade.mjs#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.
brigade.mjs#virtual:normalized:round1 View on unpkg Scanner record · 1 line stage = ast_semantic_analysis; reason = ast_parse_error; limitedFiles = 43
High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/cli/commands/doctor.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @spinabot/brigade@1.37.1
matchedPath = dist/cli/commands/doctor.js
matchedIdentity = npm:QHNwaW5hYm90L2JyaWdhZGU:1.37.1
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/core/tunnel/providers/bore.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @spinabot/brigade@1.37.0
matchedPath = dist/core/tunnel/providers/bore.js
matchedIdentity = npm:QHNwaW5hYm90L2JyaWdhZGU:1.37.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
dist/core/tunnel/providers/cloudflared.js View file High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/core/tunnel/providers/cloudflared.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @spinabot/brigade@1.37.0
matchedPath = [redacted].js
matchedIdentity = npm:QHNwaW5hYm90L2JyaWdhZGU:1.37.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
dist/agents/extensions/install-scan.js View file High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/agents/extensions/install-scan.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @spinabot/brigade@1.37.0
matchedPath = dist/agents/extensions/install-scan.js
matchedIdentity = npm:QHNwaW5hYm90L2JyaWdhZGU:1.37.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/agents/extensions/install.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @spinabot/brigade@1.37.0
matchedPath = dist/agents/extensions/install.js
matchedIdentity = npm:QHNwaW5hYm90L2JyaWdhZGU:1.37.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/cli/commands/update.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @spinabot/brigade@1.37.0
matchedPath = dist/cli/commands/update.js
matchedIdentity = npm:QHNwaW5hYm90L2JyaWdhZGU:1.37.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/core/daemon/schtasks.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @spinabot/brigade@1.37.0
matchedPath = dist/core/daemon/schtasks.js
matchedIdentity = npm:QHNwaW5hYm90L2JyaWdhZGU:1.37.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/ui/clipboard.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @spinabot/brigade@1.37.0
matchedPath = dist/ui/clipboard.js
matchedIdentity = npm:QHNwaW5hYm90L2JyaWdhZGU:1.37.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/cli/commands/connect.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @spinabot/brigade@1.37.0
matchedPath = dist/cli/commands/connect.js
matchedIdentity = npm:QHNwaW5hYm90L2JyaWdhZGU:1.37.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
Code↓ Cleared
Package metadata 8 findings
Medium Network Cleared
Medium Environment variables Cleared
Medium Structural risk force deep review Cleared
Low Scripts present Cleared
Low High entropy strings Cleared
"RestartSec=2"
37 `StandardOutput=append:${ctx.stdoutPath}` ,
38 `StandardError=append:${ctx.stderrPath}` ,
75 return { ok: false , message: `systemctl enable failed: ${r.stderr.trim()}` , unitPath: file };
83
process.stdout.write (`Starting Convex (data: ${friendlyPath(dataDir)})\n` +
84 ` backend → http://${DEFAULT_HOST}:${DEFAULT_PORT}\n` +
85 ` dashboard → http://${DEFAULT_HOST}:${DASHBOARD_PORT}\n` +
High Runtime package installCleared
Package source invokes a package manager install command at runtime.
dist/cli/commands/convex-cmd.js View on unpkg · L6 Code excerpt · 6 lines 6 * scripts inside the package, so this works both from a repo checkout and from
7 * a global `npm i -g` install (any cwd). The actual work lives in the
8 * `scripts/*.mjs` orchestrators; this command resolves the package root + the
⋯
20 */
21 import { spawn, spawnSync } from "node:child_process" ;
22 import { existsSync, readFileSync, unlinkSync } from "node:fs" ;
High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/cli/commands/convex-cmd.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @spinabot/brigade@1.37.0
matchedPath = dist/cli/commands/convex-cmd.js
matchedIdentity = npm:QHNwaW5hYm90L2JyaWdhZGU:1.37.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
⋯
28 * Cloud-metadata + forbidden-literal hosts that stay blocked EVEN WHEN
29 * `allowPrivateNetwork` is set — these are never a legitimate LAN target and are
30 * the highest-value SSRF destinations.
364 headers: currentHeaders,
365 body: currentBody ?? undefined ,
15 return path.join (os.homedir (), "Library" , "LaunchAgents" , `${SERVICE_LABEL}.plist` );
39 ` <key>WorkingDirectory</key><str
High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/core/daemon/launchd.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @spinabot/brigade@1.37.0
matchedPath = dist/core/daemon/launchd.js
matchedIdentity = npm:QHNwaW5hYm90L2JyaWdhZGU:1.37.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source