AI Security Review
scanned 2h ago · by lpm-firewall-aiLPM treats this as warn-only first-party agent extension lifecycle risk. The package has an agent-extension lifecycle risk: invoking the bizar CLI can bootstrap Bizar into the user's opencode configuration. This is package-aligned setup but occurs automatically on first CLI run when markers are absent, so it warrants a warning rather than a publish block.
Decision evidence
public snapshot- cli/bin.mjs calls ensureSetup on normal bin invocation when setup markers are missing, unless BIZAR_SKIP_INSTALL is set.
- cli/bootstrap.mjs treats missing ~/.config/opencode agents/plugin markers as reason to run setup.
- cli/provision.mjs copies plugin to ~/.config/opencode/plugins/bizar and patches ~/.config/opencode/opencode.json with a Bizar plugin entry.
- config/opencode.json template enables Bizar tools/agents and local semble MCP command; remote MCP endpoints are present but disabled.
- bizar-dash/src/server/headroom.mjs can auto-install/start/wrap Headroom when dashboard settings enable it.
- package.json has no preinstall/install/postinstall hook; only prepublishOnly build script is present.
- The config/plugin writes are first-party Bizar/opencode setup behavior, not a foreign hidden takeover during npm install.
- update-store.mjs installs only @polderlabs packages or headroom with explicit runtime/dashboard actions and uses --ignore-scripts for package updates.
- No source evidence found of credential harvesting, broad file exfiltration, destructive payloads, or remote code fetched and executed on install/import.
- Network endpoints observed are package-aligned or disabled configuration: GitHub metadata, opencode schema, disabled Supabase/Hindsight MCP URLs, localhost dashboard/proxy.
Source & flagged code
30 flagged · loading sourcePackage contains a critical-looking secret pattern.
bizar-dash/tests/memory-sync.test.mjsView on unpkg · L107AWS access key ID in bizar-dash/tests/memory-sync.test.mjs
bizar-dash/tests/memory-sync.test.mjsView on unpkg · L107Package source references child process execution.
bizar-dash/tests/memory-sync.test.mjsView on unpkg · L12Package source references a known benign dynamic code generation pattern.
templates/plan/htmx.min.jsView on unpkg · L1Package source references dynamic require/import behavior.
bizar-dash/tests/providers-store-search.node.test.mjsView on unpkg · L19Package source references weak cryptographic algorithms.
bizar-dash/src/server/routes/activity.mjsView on unpkg · L25Source writes installer persistence such as shell profile or service configuration.
cli/service-controller.mjsView on unpkg · L23A single source file combines environment access, network access, and code or shell execution; review context before blocking.
bizar-dash/src/server/schedules-runner.mjsView on unpkg · L18Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
cli/copy.mjsView on unpkg · L80Package source invokes a package manager install command at runtime.
bizar-dash/src/server/update-store.mjsView on unpkg · L77Package ships non-JavaScript build or shell helper files.
config/skills/embedded-esp-idf/scripts/size_check.shView on unpkgTarball package.json differs from the npm registry version manifest for scripts or dependency sets.
package.jsonView on unpkgThis package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
bizar-dash/src/server/headroom.mjsView on unpkgAWS access key ID in bizar-dash/tests/memory-secrets.test.mjs
bizar-dash/tests/memory-secrets.test.mjsView on unpkg · L19GitHub personal access token in bizar-dash/tests/memory-secrets.test.mjs
bizar-dash/tests/memory-secrets.test.mjsView on unpkg · L25Stripe live secret key in bizar-dash/tests/memory-secrets.test.mjs
bizar-dash/tests/memory-secrets.test.mjsView on unpkg · L31Slack bot token in bizar-dash/tests/memory-secrets.test.mjs
bizar-dash/tests/memory-secrets.test.mjsView on unpkg · L37RSA private key in bizar-dash/tests/memory-secrets.test.mjs
bizar-dash/tests/memory-secrets.test.mjsView on unpkg · L43AWS access key ID in bizar-dash/tests/memory-secrets.test.mjs
bizar-dash/tests/memory-secrets.test.mjsView on unpkg · L92AWS access key ID in bizar-dash/tests/memory-secrets.test.mjs
bizar-dash/tests/memory-secrets.test.mjsView on unpkg · L99AWS access key ID in bizar-dash/tests/memory-store.test.mjs
bizar-dash/tests/memory-store.test.mjsView on unpkg · L219AWS access key ID in bizar-dash/tests/memory-cli.test.mjs
bizar-dash/tests/memory-cli.test.mjsView on unpkg · L231Hardcoded password in bizar-dash/scripts/smoke-bg-retry.mjs
bizar-dash/scripts/smoke-bg-retry.mjsView on unpkg · L45Hardcoded password in bizar-dash/scripts/smoke-bg-retry.mjs
bizar-dash/scripts/smoke-bg-retry.mjsView on unpkg · L53Hardcoded password in bizar-dash/scripts/smoke-bg-retry.mjs
bizar-dash/scripts/smoke-bg-retry.mjsView on unpkg · L65Hardcoded password in plugins/bizar/tests/http-client.test.ts
plugins/bizar/tests/http-client.test.tsView on unpkg · L51Hardcoded password in plugins/bizar/tests/serve.test.ts
plugins/bizar/tests/serve.test.tsView on unpkg · L70Hardcoded password in plugins/bizar/src/serve-info.ts
plugins/bizar/src/serve-info.tsView on unpkg · L24Hardcoded password in packages/sdk/tests/client.test.ts
packages/sdk/tests/client.test.tsView on unpkg · L23