Loading npm security reports…
Loading npm security reports…
@polderlabs/bizar@5.0.1: Agent extension lifecycle risk – flagged | LPM Firewall
npm / @polderlabs/bizar / 5.0.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, 17:18 UTC · by lpm-firewall-ai Source inspection confirms broad first-party AI-agent extension setup on CLI use, but no unconsented npm lifecycle mutation or concrete malicious chain. The scanner's secret finding is a test fixture, and network/process primitives are tied to dashboard, update, memory, and agent-runner features.
Static reason
One or more suspicious static signals were detected.; previous stored version diff introduced dangerous source
Trigger
User runs the bizar CLI, especially first run, install, update, or dashboard update flows.
Impact
Adds Bizar plugin, tools, agent configs, and optional update/install commands to the user's opencode environment.
Mechanism
First-party opencode plugin/agent setup and package-managed updater
Evidence
package.json cli/bin.mjs cli/bootstrap.mjs cli/install.mjs cli/provision.mjs cli/copy.mjs config/opencode.json plugins/bizar/index.ts plugins/bizar/src/tools/bg-spawn.ts plugins/bizar/src/opencode-runner.ts bizar-dash/src/server/update-store.mjs
bizar-dash/tests/memory-sync.test.mjs
~/.config/opencode/plugins/bizar
~/.config/opencode/opencode.json
~/.config/opencode/agents
~/.config/opencode/commands-bizar
~/.local/share/bizar/memory
~/.cache/bizar/logs
Network endpoints6
mcp.supabase.com /mcpmemory-api.polderlabs.io /mcpregistry.npmjs.org via npm view /installapi.minimax.chat /v1127.0.0.1:* localhost:4318 /v1/traces
Decision evidencepublic snapshot Evidence for warning
cli/bin.mjs calls ensureSetup on normal CLI invocation unless help/version/check or BIZAR_SKIP_INSTALL. cli/bootstrap.mjs triggers runPostInstall when ~/.config/opencode agents/plugin markers are missing. cli/provision.mjs copies bundled plugins/bizar to ~/.config/opencode/plugins/bizar and patches ~/.config/opencode/opencode.json. config/opencode.json enables a Bizar opencode plugin, tools, agents, and remote MCP entries, though remote entries are disabled. Evidence against
package.json has no preinstall/install/postinstall hook; only prepublishOnly build. Setup is first-party, package-aligned, and activated by explicit bizar CLI use rather than npm install. Runtime network use is mostly localhost, npm update checks, provider APIs, or disabled/template endpoints. bizar-dash/tests/memory-sync.test.mjs contains an AWS-looking test fixture used to assert secret blocking. memory-git.mjs uses execFileSync argv arrays for git operations, limiting shell injection risk. No confirmed credential harvesting, exfiltration, destructive action, or remote payload execution found. Behavioral surface
Source Child process · Crypto · Dynamic require · Environment variables · Eval · Filesystem · Network · Shell · Web socket
Supply chain High entropy strings · Minified · Obfuscated · URL strings
Manifest Wildcard dependency
Scanned 545 files · 6.71 MB of source
40 external domains referenced
127.0.0.1 ai.google.dev api.anthropic.com api.cloudflare.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 api.vercel.com astral.sh console.groq.com dash.cloudflare.com docs.anthropic.com docs.astral.sh docs.cohere.com docs.mistral.ai example.com fly.io 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 · 8 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' ,
bizar-dash/tests/plugins-sandbox.test.mjs View file High Child process
Package source references child process execution.
bizar-dash/tests/plugins-sandbox.test.mjs View on unpkg · L5 Code excerpt · 3 lines 5 * - Allowed globals are present
6 * - Forbidden globals (process, require, child_process, raw fs,
7 * Buffer) are NOT present in the plugin's vm scope
Medium Dynamic require
Package source references dynamic require/import behavior.
bizar-dash/tests/plugins-sandbox.test.mjs View on unpkg · L24 Code excerpt · 3 lines 24 const REPO = resolve (dirname (fileURLToPath (import .meta.url)), '..' );
25 const SANDBOX = await import (resolve (REPO, 'src/server/plugins/sandbox.mjs' ));
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/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@5.0.0
matchedIdentity = npm:QHBvbGRlcmxhYnMvYml6YXI:5.0.0
similarity = 0.875
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 10 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',