bumblebee
它能做什么
Bumblebee 会扫描你的电脑(macOS 或 Linux),查找可能已被入侵或存在风险的软件包、扩展程序或系统配置,帮助你发现软件供应链中的威胁。
适用场景
- ✓当你收到关于可疑软件包或扩展程序的警报时。
- ✓当你怀疑电脑上的开发工具可能已被入侵时。
- ✓当你想检查重要系统配置的安全性时。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/bumblebee/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“帮我扫描电脑,看看有没有被入侵的软件包或扩展程序。”
每周 5 个新技能,1 分钟读完。
工作原理
Bumblebee 会先检查你是否已安装并更新了 Go 编程语言,然后安装或确认 Bumblebee 工具已准备就绪。最后,它会对你指定的文件类型和配置运行扫描,并保存结果。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Bumblebee Security Scan
Bumblebee (https://github.com/perplexityai/bumblebee) is a read-only inventory collector that surfaces package, extension, and developer-tool metadata on developer endpoints. It answers a focused supply-chain question: when an advisory names a package or version, do any matches exist on this machine right now?
This skill drives a single Bumblebee scan from start to finish:
- Verify Go is on the PATH (provide install guidance if not).
- Verify or install the
bumblebeebinary. - Run the requested scan profile (
baseline,project, ordeep). - Save raw NDJSON output plus a Markdown report into the user's workspace.
- Summarize findings — especially exposure-catalog matches — in the chat reply.
Communicate with the user in the language they used (German for Stefan). Code, commit messages, and on-disk file contents stay in English to match existing project conventions.
When to Use This Skill
Use this skill when an advisory, incident report, or exposure catalog names compromised packages, developer tools, browser/editor extensions, or MCP host configuration that may exist on a local macOS or Linux developer endpoint.
Use it for read-only inventory and exposure checks. Do not use it to patch, uninstall, quarantine, or otherwise mutate the scanned machine.
Step 1 — Clarify the scan request
Before running anything, confirm two things with the user via AskUserQuestion, unless the message already pins them down:
- Profile:
baseline(global package roots),project(specific dev folders like~/code), ordeep(explicit--rootpaths, including$HOMEfor incident response). - Roots: For
projectanddeepprofiles, ask which directories to scan.deepis the only profile that accepts a bare-home root.
If the user has an advisory or exposure-catalog file ready, also ask whether they want to pass it via --exposure-catalog. The skill does not ship its own catalogs — point them at threat_intel/ in the Bumblebee repo if they ask where to find ready-made ones.
Skip the questions for one-liner asks like "lauf mal ne Baseline-Scan" — just run a baseline.
Step 2 — Check Go
Run command -v go && go version in bash. Three outcomes:
- Go ≥ 1.25 present → continue.
- Go present but < 1.25 → tell the user the version, explain Bumblebee needs Go 1.25+, and stop until they upgrade.
- Go missing → do not install Go automatically. Show platform-appropriate instructions and stop:
- macOS:
brew install go(or download from https://go.dev/dl/). - Debian/Ubuntu: prefer the official tarball from https://go.dev/dl/ because distro repos lag;
sudo apt install golang-goonly as fallback. - Fedora/RHEL:
sudo dnf install golangor the official tarball.
- macOS:
After installation, the user must ensure $GOBIN (or $HOME/go/bin) is on $PATH so bumblebee is found later.
Step 3 — Check or install Bumblebee
Run command -v bumblebee && bumblebee version. If missing:
go install github.com/perplexityai/bumblebee/cmd/bumblebee@latest
Then re-check bumblebee version. If the binary still cannot be located, the user's GOBIN/PATH is likely misconfigured — surface the resolved go env GOPATH and go env GOBIN so they can fix it. Do not fall back to running the binary by absolute path silently; explain what is happening.
Once installed, also run bumblebee selftest as a sanity check. A non-zero exit means the local install is broken and the scan should not proceed.
Step 4 — Run the scan
All scans write NDJSON to a file. Use the workspace folder for output so the user can open the results afterwards.
Output filenames (use the user's workspace path; the example below assumes $OUT is set):
bumblebee-<profile>-<UTC-timestamp>.ndjson— raw records.bumblebee-<profile>-<UTC-timestamp>.report.md— Markdown report (generated in Step 5).
Pick a sensible --max-duration so a runaway scan does not hang the session. Reasonable defaults:
baseline: 5mproject: 10mdeep: 15m (warn the user that scanning$HOMEcan still take longer; offer to raise the limit)
Always stream stderr to a sibling .log file — Bumblebee emits diagnostic NDJSON there that helps explain partial scans.
Baseline
bumblebee scan --profile baseline \
--max-duration 5m \
> "$OUT/bumblebee-baseline-$TS.ndjson" \
2> "$OUT/bumblebee-baseline-$TS.log"
…
常见问题
Bumblebee 会修改我的系统吗?
不会。Bumblebee 是只读工具,只负责检查和报告,不会对你的电脑做任何更改。
Bumblebee 可以进行哪些类型的扫描?
它可以进行基础扫描(baseline)、针对特定项目的扫描(project),或用于更详细调查的深度扫描。
扫描结果保存在哪里?
结果会保存在你工作区的文件中,包括一份便于阅读的 Markdown 报告和原始扫描数据。
详情
作者的原始描述
Run Bumblebee supply-chain inventory and exposure scans on macOS/Linux to detect compromised packages, extensions, and MCP host configs.
热度
- GitHub 星标
- 48k
- 排名
- #4084
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。