Perplexity Open-Sources Bumblebee, a Read-Only Supply-Chain Scanner for Developer Machines

Perplexity releases its internal tool that inventories packages, extensions, and AI configs on macOS and Linux endpoints without executing any code.

cpaua3 min458
Perplexity Open-Sources Bumblebee, a Read-Only Supply-Chain Scanner for Developer Machines

Perplexity has open-sourced Bumblebee, a read-only scanner the company built to check its own developer laptops for risky packages, editor extensions, browser add-ons, and AI-tool configurations during supply-chain incidents. The tool runs on macOS and Linux, emits structured NDJSON, and matches findings against user-supplied exposure catalogs.

Read-only metadata collection prevents the scan from becoming the exploit

Bumblebee never invokes package managers, never runs lifecycle scripts, and never reads application source files. It parses only on-disk metadata — lockfiles, installed-package manifests, extension manifests, and MCP JSON configs. This design avoids the class of worms that execute during npm install or pip install; a scanner that calls the package manager to check for exposure has already triggered the attack it was hunting.

The binary is written in Go 1.25 with zero non-stdlib dependencies. It collects inventory from npm, pnpm, Yarn, Bun, PyPI, Go modules, RubyGems, Composer, Homebrew, VS Code-family editors (Cursor, Windsurf, VSCodium), Chromium and Firefox browser profiles, and MCP host configs used by Claude, Cursor, Codex, Gemini CLI, and Continue. Non-JSON configs such as Codex config.toml are not parsed in v0.1.

Three scan profiles for different cadences and scopes

Baseline hits common global roots — language toolchains, editor and browser extensions, MCP configs — and is meant for recurring fleet-wide inventory via MDM, cron, or systemd. Project targets configured workspace directories like ~/code or ~/src. Deep accepts explicit --root paths (including $HOME) for on-demand incident response, usually combined with --exposure-catalog and --findings-only. Baseline and project profiles refuse bare-home roots; only deep walks them.

Installation and immediate self-test

code
go install github.com/perplexityai/bumblebee/cmd/bumblebee@latest

After install, bumblebee selftest runs an embedded end-to-end check against fake fixtures ([email protected]) with no network calls. A non-zero exit means the local build can no longer detect what it should — a fast pre-deployment smoke test for fleet rollouts.

Exposure catalogs turn advisories into machine-checkable rules

Catalogs are minimal JSON files listing exact (ecosystem, name, version) tuples; a versions: ["*"] entry matches every version of a package. Perplexity maintains a threat_intel/ directory of catalogs built from public threat-intel reporting, assembled with Perplexity Computer and updated via pull requests. Multiple catalog files can be loaded by pointing --exposure-catalog at a directory.

Internal workflow: threat signal → catalog PR → endpoint scan

Perplexity uses Bumblebee in a loop: a threat signal arrives from public disclosures or internal research; Perplexity Computer drafts a catalog entry and opens a GitHub PR; after human review the PR merges; Bumblebee runs on endpoints with the updated catalog; findings flow to the security team. Each finding record carries the catalog ID, severity, evidence string, and a content-addressed record_id stable across runs, so receivers can deduplicate and track state over time.

Output designed for automation, not dashboards

Records are NDJSON on stdout; diagnostics go to stderr as NDJSON. Every run ends with a scan_summary record that downstream collectors use to decide whether to promote the run to current state. Package records include ecosystem, normalized name, version, project path, package manager, source file, and a confidence tier (high/medium/low). Finding records add the catalog entry, severity, and evidence such as "exact name+version match (version=1.2.3)". Transport (HTTPS/file) and receiver-side state model are documented in docs/transport.md and docs/state-model.md.

Related reading

Sources

perplexityai/bumblebeegithub.com/perplexityai/bumblebee

Perplexity Is Open-Sourcing Bumblebee

Share

Author

cpaua

VibeCode blog admin. Writing about vibe coding, AI and open source.

Related news

Comments

To leave a comment, log in
Loading...

Weekly digest

The best of vibe coding, AI agents and open source — once a week, no spam.