Loading npm security reports…
Loading npm security reports…
@polderlabs/bizar@4.9.0: Agent extension lifecycle risk – flagged | LPM Firewall
npm / @polderlabs/bizar / 4.9.0 Norse-pantheon multi-agent system for opencode — 13 agents across 4 cost tiers with cost-aware routing, plans, and a configurable agent harness. v4 ships as a single npm package bundling the dashboard server, opencode plugin, and typed SDK.
Flagged as agent extension risk
Allowed by default with warning: install-time first-party agent extension setup was detected.
AI security reviewscanned on Jul 5, 2026, 11:57 UTC · by lpm-firewall-ai Static inspection confirms broad first-party opencode setup on CLI use, but not unconsented npm lifecycle mutation or concrete malicious behavior. Warn for agent extension lifecycle risk rather than block.
Static reason
One or more suspicious static signals were detected.; previous stored version diff introduced dangerous source
Trigger
User runs the bizar CLI without help/version/check on a fresh or incomplete setup.
Impact
Modifies opencode agents/config/plugins and may install global helper tools; no confirmed malicious exfiltration or destructive behavior.
Mechanism
first-party opencode agent/plugin bootstrap plus optional helper-tool installation
Evidence
package.json cli/bin.mjs cli/bootstrap.mjs cli/install.mjs cli/provision.mjs cli/utils.mjs config/opencode.json plugins/bizar/src/opencode-runner.ts plugins/bizar/src/tools/bg-spawn.ts bizar-dash/src/server/update-store.mjs bizar-dash/src/server/memory-store.mjs
~/.config/opencode/opencode.json
~/.config/opencode/agents/*.md
~/.config/opencode/plugins/bizar/
~/.config/opencode/commands-bizar/
Network endpoints3
mcp.supabase.com /mcpmemory-api.polderlabs.io /mcpastral.sh /uv/install.sh
Decision evidencepublic snapshot Evidence for warning
cli/bin.mjs runs ensureSetup() on normal bin invocation before dispatch unless help/version/check or BIZAR_SKIP_INSTALL are used. cli/bootstrap.mjs checks ~/.config/opencode agents/plugin markers and calls runPostInstall() when missing. cli/install.mjs runPostInstall writes opencode config, agents, commands, plugin copy, and invokes npm/pip/uv/curl installers for Headroom, Semble, and skills. config/opencode.json grants broad agent/tool permissions and registers ./plugins/bizar/index.ts in opencode. plugins/bizar/src/opencode-runner.ts and tools/bg-spawn.ts provide user/agent-triggered opencode run subprocess spawning. Evidence against
package.json has only prepublishOnly lifecycle; no npm preinstall/install/postinstall hook executes during package install. The opencode/plugin/config mutations are first-party Bizar setup for its declared opencode agent harness, not hidden credential theft or arbitrary foreign control hijack. bizar-dash/src/server/update-store.mjs uses npm install -g only for explicit dashboard update actions and passes --ignore-scripts. memory-store.mjs implements local markdown memory with path checks and secret scanning; no source-grounded exfiltration path found. Network URLs observed are documented config/update/install endpoints, not hardcoded exfiltration collectors. Behavioral surface
Source Child process · Crypto · Dynamic require · Environment variables · Eval · Filesystem · Network · Shell · Web socket
Supply chain High entropy strings · Minified · URL strings
Manifest Wildcard dependency
Scanned 463 files · 6.08 MB of source
36 external domains referenced
127.0.0.1 ai.google.dev api.anthropic.com api.cohere.ai api.cohere.com api.deepseek.com api.groq.com api.minimax.chat api.minimax.io api.mistral.ai api.openai.com astral.sh console.groq.com docs.anthropic.com docs.astral.sh docs.cohere.com docs.mistral.ai example.com generativelanguage.googleapis.com github.com gitlab.com json-schema.org lmstudio.ai minimax.io obsidian.md ollama.com opencode.ai openrouter.ai platform.deepseek.com platform.minimax.io platform.openai.com raw.githubusercontent.com reactjs.org www.apple.com www.minimax.io www.w3.org Findings13 critical · 5 high · 14 medium · 7 low Source & flagged code30 flagged bizar-dash/tests/memory-sync.test.mjs View file Critical Critical secret
Package contains a critical-looking secret pattern.
bizar-dash/tests/memory-sync.test.mjs View on unpkg · L107 Critical Secret pattern
AWS access key ID in bizar-dash/tests/memory-sync.test.mjs
bizar-dash/tests/memory-sync.test.mjs View on unpkg · L107 Shared code excerpt · 2 findings · 4 lines 107 patternName = aws_access_key
severity = critical
line = 107
matchedText = body: 'A...ey' ,
High Child process
Package source references child process execution.
bizar-dash/tests/memory-sync.test.mjs View on unpkg · L12 Code excerpt · 3 lines 12 import { mkdirSync, rmSync, writeFileSync, existsSync, readFileSync } from 'node:fs' ;
13 import { execSync } from 'node:child_process' ;
14
High Shell
Package source references shell execution.
bizar-dash/src/server/browser.mjs View on unpkg · L18 Code excerpt · 3 lines 18 } else if (platform === 'win32' ) {
19 // Windows `start` is a shell builtin; spawn it via cmd.exe.
20 cmd = 'cmd' ;
Low Eval
Package source references a known benign dynamic code generation pattern.
templates/plan/htmx.min.js View on unpkg · L1 Code excerpt · 1 line 1 var htmx=function (){"use strict" ;const Q={onLoad:null ,process:null ,on:null ,off:null ,trigger:null ,ajax:null ,find:null ,findAll:null ,closest:null ,values:function (e,t){const n=cn (e,t||...
Medium Dynamic require
Package source references dynamic require/import behavior.
bizar-dash/tests/otel.test.mjs View on unpkg · L28 Code excerpt · 3 lines 28 const url = `${OTEL_URL}?v=${Date.now()}-${Math.random()}` ;
29 return import (url);
30 }
bizar-dash/src/server/routes/activity.mjs View file Low Weak crypto
Package source references weak cryptographic algorithms.
bizar-dash/src/server/routes/activity.mjs View on unpkg · L25 Code excerpt · 8 lines 26 const HIDDEN_PATH = join (homedir (), '.cache' , 'bizar' , 'activity-hidden.json' );
27
⋯
30 try {
31 return JSON.parse (readFileSync (HIDDEN_PATH, 'utf8' ));
32 } catch {
⋯
80 // POST /activity/hide — add keys to hidden list
81 router.post ( , ( (req, res) => {
Medium Install persistence
Source writes installer persistence such as shell profile or service configuration.
cli/service-controller.mjs View on unpkg · L23 Code excerpt · 12 lines 23 * secrets come from a 0600 env file (`~/.config/bizar/service.env` ).
24 * * All process spawning uses `spawnSync(command, args, {shell: false})`
25 * with explicit arg arrays. There is no string concatenation into a
⋯
44 const __filename = fileURLToPath (import .meta.url);
45 const __dirname = dirname (__filename);
46 const HOME = homedir ();
⋯
52 if (PLATFORM === 'win32' ) ;
bizar-dash/src/server/schedules-runner.mjs View file High Same file environment network execution
A single source file combines environment access, network access, and code or shell execution; review context before blocking.
bizar-dash/src/server/schedules-runner.mjs View on unpkg · L18 Code excerpt · 9 lines 18 */
19 import { spawn } from 'node:child_process' ;
20 import { writeFileSync, appendFileSync, mkdirSync } from 'node:fs' ;
⋯
22 import { homedir } from 'node:os' ;
23 import { isIP } from 'node:net' ;
24 import { projectsStore } from './projects-store.mjs' ;
⋯
High Sandbox evasion gated capability
Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
cli/copy.mjs View on unpkg · L80 Code excerpt · 11 lines 81 const skillsDir = join (homedir (), '.opencode' , 'skills' );
82 const dstDir = join (skillsDir, name);
⋯
124 let templateObj;
125 try { templateObj = JSON.parse (templateRaw); } catch {
126 spinner.fail (chalk.red ('Invalid opencode.json template' ));
⋯
344 export async function () {
bizar-dash/src/server/update-store.mjs View file High Runtime package install
Package source invokes a package manager install command at runtime.
bizar-dash/src/server/update-store.mjs View on unpkg · L77 Code excerpt · 4 lines 77 try {
78 const output = execSync (
79 `npm install -g ${p.name}@latest --ignore-scripts` ,
80 {
config/skills/embedded-esp-idf/scripts/size_check.sh View file Medium Ships build helper
Package ships non-JavaScript build or shell helper files.
config/skills/embedded-esp-idf/scripts/size_check.sh View on unpkg Scanner record · 4 lines path = config/skills/embedded-esp-idf/scripts/size_check.sh
kind = build_helper
sizeBytes = 2452
magicHex = [redacted]
Critical Manifest confusion
Tarball package.json differs from the npm registry version manifest for scripts or dependency sets.
package.json View on unpkg Scanner record · 1 line scripts changed=test:sdk,test:sdk:watch
bizar-dash/src/server/memory-store.mjs View file Critical Previous version dangerous delta
This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
bizar-dash/src/server/memory-store.mjs View on unpkg Scanner record · 5 lines matchType = previous_version_dangerous_delta
matchedPackage = @polderlabs/bizar@4.7.1
matchedIdentity = npm:QHBvbGRlcmxhYnMvYml6YXI:4.7.1
similarity = 0.892
summary = stored previous version shares package body but lacks this dangerous source file
bizar-dash/tests/memory-secrets.test.mjs View file Critical Secret pattern
AWS access key ID in bizar-dash/tests/memory-secrets.test.mjs
bizar-dash/tests/memory-secrets.test.mjs View on unpkg · L19 Code excerpt · 4 lines 19 patternName = aws_access_key
severity = critical
line = 19
matchedText = const re...E');
Critical Secret pattern
GitHub personal access token in bizar-dash/tests/memory-secrets.test.mjs
bizar-dash/tests/memory-secrets.test.mjs View on unpkg · L25 Code excerpt · 4 lines 25 patternName = github_pat
severity = critical
line = 25
matchedText = const re...D
bizar-dash/tests/memory-store.test.mjs View file Critical Secret pattern
AWS access key ID in bizar-dash/tests/memory-store.test.mjs
bizar-dash/tests/memory-store.test.mjs View on unpkg · L219 Code excerpt · 4 lines 219 patternName = aws_access_key
severity = critical
line = 219
matchedText = body: 'A...ey' ,
bizar-dash/tests/memory-cli.test.mjs View file Critical Secret pattern
AWS access key ID in bizar-dash/tests/memory-cli.test.mjs
bizar-dash/tests/memory-cli.test.mjs View on unpkg · L231 Code excerpt · 4 lines 231 patternName = aws_access_key
severity = critical
line = 231
matchedText = '--body' ...ey',
bizar-dash/scripts/smoke-bg-retry.mjs View file Medium Secret pattern
Hardcoded password in bizar-dash/scripts/smoke-bg-retry.mjs
bizar-dash/scripts/smoke-bg-retry.mjs View on unpkg · L45 Code excerpt · 4 lines 45 patternName = generic_password
severity = medium
line = 45
matchedText = const in ...' };
Medium Secret pattern
Hardcoded password in bizar-dash/scripts/smoke-bg-retry.mjs
bizar-dash/scripts/smoke-bg-retry.mjs View on unpkg · L53 Code excerpt · 4 lines 53 patternName = generic_password
severity = medium
line = 53
matchedText = const ...
plugins/bizar/tests/http-client.test.ts View file Medium Secret pattern
Hardcoded password in plugins/bizar/tests/http-client.test.ts
plugins/bizar/tests/http-client.test.ts View on unpkg · L51 Code excerpt · 4 lines 51 patternName = generic_password
severity = medium
line = 51
matchedText = construc...") {
Medium Secret pattern
Hardcoded password in plugins/bizar/tests/serve.test.ts
plugins/bizar/tests/serve.test.ts View on unpkg · L70 Code excerpt · 4 lines 70 patternName = generic_password
severity = medium
line = 70
matchedText = this .pas...rd";
Medium Secret pattern
Hardcoded password in plugins/bizar/src/serve-info.ts
plugins/bizar/src/serve-info.ts View on unpkg · L24 Code excerpt · 4 lines 24 patternName = generic_password
severity = medium
line = 24
matchedText = * ...4 >",
Medium Secret pattern
Hardcoded password in packages/sdk/tests/client.test.ts
packages/sdk/tests/client.test.ts View on unpkg · L23 Code excerpt · 4 lines 23 patternName = generic_password
severity = medium
line = 23
matchedText = password...23 ",
↓
Package metadata 9 findings
Medium Network
Medium Environment variables
Medium Structural risk force deep review
Medium Wildcard dependency
Low Non install lifecycle scripts
'/activity/hide'
wrap
async
82 const keys = Array.isArray (req.body?.keys) ? req.body.keys : [];
return
null
53 return process.env.XDG_CONFIG_HOME
54 ? join (process.env.XDG_CONFIG_HOME, 'systemd' , 'user' )
68 * Run an external command with explicit arg array. No shell. Strict 15s budget.
69 * Returns {status, stdout, stderr, error} where `status` is the exit code
70 * (or null on spawn failure) and `error` is a non-null Error object only when
30 const LOG_FILE = join (LOG_DIR, 'service.log' );
31 const ALLOW_PRIVATE_WEBHOOKS = process.env.BIZAR_DASHBOARD_ALLOW_PRIVATE_WEBHOOKS === '1' ;
32 const SHELL_META = /[;&|`$<>\n\r]/;
installHeadroom
345 const { execSync } = await import ('node:child_process' );
361 if (process.platform === 'win32' ) {
362 spinner.fail (chalk.red ('Automatic Headroom install not supported on Windows. Install manually: pip install "headroom-ai[all]"' ));
');
Critical Secret pattern
Stripe live secret key in bizar-dash/tests/memory-secrets.test.mjs
bizar-dash/tests/memory-secrets.test.mjs View on unpkg · L31 Code excerpt · 4 lines 31 patternName = stripe_live_secret
severity = critical
line = 31
matchedText = const re...p');
Critical Secret pattern
Slack bot token in bizar-dash/tests/memory-secrets.test.mjs
bizar-dash/tests/memory-secrets.test.mjs View on unpkg · L37 Code excerpt · 4 lines 37 patternName = slack_bot_token
severity = critical
line = 37
matchedText = const re...x');
Critical Secret pattern
RSA private key in bizar-dash/tests/memory-secrets.test.mjs
bizar-dash/tests/memory-secrets.test.mjs View on unpkg · L43 Code excerpt · 4 lines 43 patternName = private_key_rsa
severity = critical
line = 43
matchedText = const re...-');
Critical Secret pattern
AWS access key ID in bizar-dash/tests/memory-secrets.test.mjs
bizar-dash/tests/memory-secrets.test.mjs View on unpkg · L92 Code excerpt · 4 lines 92 patternName = aws_access_key
severity = critical
line = 92
matchedText = const te...ee';
Critical Secret pattern
AWS access key ID in bizar-dash/tests/memory-secrets.test.mjs
bizar-dash/tests/memory-secrets.test.mjs View on unpkg · L99 Code excerpt · 4 lines 99 patternName = aws_access_key
severity = critical
line = 99
matchedText = const re...E');
in
' };
Medium Secret pattern
Hardcoded password in bizar-dash/scripts/smoke-bg-retry.mjs
bizar-dash/scripts/smoke-bg-retry.mjs View on unpkg · L65 Code excerpt · 4 lines 65 patternName = generic_password
severity = medium
line = 65
matchedText = password...st',