Loading npm security reports…
Loading npm security reports…
@polderlabs/bizar@4.5.1: Agent extension lifecycle risk – flagged | LPM Firewall
npm / @polderlabs/bizar / 4.5.1 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, 02:09 UTC · by lpm-firewall-ai Direct source inspection shows broad AI-agent extension setup, but it is user-invoked through the package CLI and product-aligned, with no consumer npm lifecycle hook or concrete exfiltration/persistence payload. Under the policy this is warn-level agent extension lifecycle risk rather than malicious publish-block behavior.
Static reason
One or more suspicious static signals were detected.; previous stored version diff introduced dangerous source
Trigger
User invokes the bizar CLI with a non-help command while setup markers are missing, or explicitly runs bizar install/update.
Impact
User opencode behavior can be changed by installed Bizar agents/plugins/tools; residual platform extension lifecycle risk remains because setup is automatic on CLI invocation.
Mechanism
first-run opencode extension provisioning and agent control-surface mutation
Policy narrative
On first normal CLI invocation, bizar checks for opencode setup markers and, if missing, runs provisioning code that installs Bizar's opencode agents/plugin/commands and may configure Headroom and related tools. This is agent-control-surface mutation, but it is tied to an explicit Bizar CLI/platform install path rather than npm install-time execution, and the content is aligned with the package's advertised purpose.
Evidence
package.json cli/bin.mjs cli/bootstrap.mjs cli/install.mjs
cli/provision.mjs
cli/copy.mjs
bizar-dash/src/server/update-store.mjs
bizar-dash/src/server/headroom.mjs
~/.config/opencode/opencode.json
~/.config/opencode/agents/*.md
~/.config/opencode/plugins/bizar/
~/.opencode/skills/
~/.config/bizar/
Network endpoints3
127.0.0.1 astral.sh /uv/install.shgithub.com /DrB0rk/BizarHarness
Decision evidencepublic snapshot Evidence for warning
cli/bin.mjs imports ensureSetup and runs it on every non-help bin invocation when setup markers are missing. cli/bootstrap.mjs marks setup missing if ~/.config/opencode/agents/odin.md or ~/.config/opencode/plugins/bizar is absent, then calls runPostInstall. cli/install.mjs runPostInstall copies bundled agents/commands/plugin into ~/.config/opencode and patches/writes opencode.json without an npm lifecycle hook. cli/install.mjs runPostInstall may install headroom/semble/skills and runs headroom wrap opencode; this mutates a foreign agent control surface on first CLI use. cli/copy.mjs contains explicit opencode config/plugin/agent writers, including ~/.opencode/skills and opencode tool enablement. Evidence against
package.json has only prepublishOnly build script; no install/postinstall/prepare lifecycle execution in consumers. The mutations are activated by the explicit bizar CLI command path, not by npm install-time lifecycle execution. Files copied are package-aligned opencode agents/plugins/commands for the advertised Bizar opencode multi-agent platform. Network/package-manager operations are for named dependencies or updates (npm, pip, uv, skills) and mostly guarded by CLI/install/update flows. No source evidence of credential harvesting, arbitrary remote payload execution, or exfiltration endpoints beyond localhost dashboard/API use. 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 383 files · 5.73 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 · 6 high · 14 medium · 7 low Source & flagged code31 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||...
bizar-dash/tests/providers-store-search.node.test.mjs View file Medium Dynamic require
Package source references dynamic require/import behavior.
bizar-dash/tests/providers-store-search.node.test.mjs View on unpkg · L19 Code excerpt · 3 lines 19 const cacheBust = '?cb=' + Date.now () + '-' + Math.random ().toString (36 ).slice (2 );
20 mod = await import (join (REPO, 'bizar-dash/src/server/providers-store.mjs' ) + cacheBust);
21 });
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
⋯
43 const __filename = fileURLToPath (import .meta.url);
44 const __dirname = dirname (__filename);
45 const HOME = homedir ();
⋯
51 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 Command output exfiltration
Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
cli/bin.mjs View on unpkg · L1300 Code excerpt · 7 lines 1300 // Chromium with remote debugging so the browser-harness Python tool
1301 // (from https://github.com/browser-use/browser-harness) can connect.
1302 const { execFileSync } = await import ('node:child_process' );
1303 const sub = args[1 ] || 'start' ;
⋯
1309 });
1310 if (out) process.stdout.write (out);
1311 } catch (err) {
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
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/headroom.mjs View on unpkg Scanner record · 5 lines matchType = previous_version_dangerous_delta
matchedPackage = @polderlabs/bizar@4.4.13
matchedIdentity = npm:QHBvbGRlcmxhYnMvYml6YXI:4.4.13
similarity = 0.725
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 : [];
52 return process.env.APPDATA
53 ? join (process.env.APPDATA, 'bizar' )
78 * Run an external command with explicit arg array. No shell. Strict 15s budget.
79 * Returns {status, stdout, stderr, error} where `status` is the exit code
80 * (or null on spawn failure) and `error` is a non-null Error object only when
29 const LOG_FILE = join (LOG_DIR, 'service.log' );
30 const ALLOW_PRIVATE_WEBHOOKS = process.env.BIZAR_DASHBOARD_ALLOW_PRIVATE_WEBHOOKS === '1' ;
31 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',