crowbar

io.github.kushvinth由 GitHub 账号 kushvinth 发布v0.1.5更新于 Oct 26, 2026

Retrieve CVEs and index them inside your codebase. One SQLite+FTS5 index, one CLI, one MCP server.

概览

AI 生成的概览

本地 CVE 索引服务器,让助手从 SQLite+FTS5 数据库离线查询漏洞、利用代码与安全公告。

可以做什么
  • 按 CVE、产品或版本查询适用的漏洞,并给出 CVSS、EPSS、KEV、SSVC 判定
  • 按关键词、是否有利用代码、KEV 状态或 EPSS 分数检索索引
  • 查找利用与检测资料:Exploit-DB 条目、Nuclei 模板、Metasploit 模块、PoC 元数据、GTFOBins/LOLBAS
  • 查询软件包公告(OSV/GHSA)与操作系统公告(MSRC、Apple)
  • 浏览 ATT&CK、CWE、CAPEC,以及热门或新增的 CVE
  • 对整个索引执行只读 SQL,并查看索引统计与数据新鲜度
适用场景
适合在被问到某产品、版本或软件包是否存在漏洞、有哪些已知 CVE 或利用代码、近期威胁态势有何变化时使用,并希望答案来自可复现的本地索引而非实时 API。
运行要求
以本地 stdio 进程运行,通常通过 uvx 从 crowbar-cli 这个 PyPI 包启动(需 Python 3.11+);安装辅助脚本需要 Node.js。需先构建本地索引(lite 档约 150 MB,更大档位可达数 GB),索引通过普通 HTTP 从公开数据源刷新。无需 API 密钥或账号。
安装前请注意
索引通过下载公开漏洞与利用数据源构建,并会在使用中每天后台自动刷新。它把利用代码和 PoC 作为数据呈现;应将其返回内容视为恶意代码,仅在自有或获授权的系统上测试。安装命令会修改各助手的配置文件,但会先列出改动并备份。缺少记录并不代表未受影响。

安装

在 SourceWeft 中

  1. 打开 控制台中的 crowbar,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

crowbar

Retrieve CVEs and index them inside your codebase.

Point it at a product and version. It pulls the CVEs that apply and indexes them locally, so any tool in your repo can query the answer.

[npm] [PyPI] [CI] [MCP server] [Python] [skills.sh] [MIT license]

Website · Guides · Showcases

Quick start · How crowbar works · What you can answer · Showcases · FAQ · Documentation

npx crowbar-cli setup

[!IMPORTANT] Get crowbar from kushvinth/crowbar, crowbar.kushvinth.com, or the crowbar-cli package. A similar repository name or copied README does not make a download official.

[crowbar triaging CVE-2021-44228, matching nginx 1.18.0, and finding the Log4Shell exploit]


A codebase with no CVE index inside it makes people guess. crowbar is the index: it retrieves NVD, CISA KEV, EPSS, SSVC, the CVE List, Exploit-DB, Nuclei, Metasploit, OSV, Debian, MSRC and Apple advisories, and writes them into a local SQLite + FTS5 database you query from your terminal, your CI or your agent. It is offline and reproducible - the same query gives the same answer, no API, no rate limits - so a lookup costs milliseconds instead of a guess.

No web UI, no daemon, no third-party Python packages. Point it at a product and version and it tells you what is actually exploitable, ranks it by real-world risk, and links the proof-of-concept.

crowbar indexes public exploit and PoC data as data. It never clones, compiles, or runs it. Treat anything it surfaces as hostile code and detonate only in a disposable VM. Use it only against systems you own or may test. See DISCLAIMER.md.

Quick start

Set up your agent

With Node.js and uv installed, run:

bash
npx crowbar-cli setup

Setup finds Claude Code, Codex, Cursor, Gemini CLI and opencode on your machine, shows exactly which configs it will change, and applies them only after you approve. It registers crowbar's MCP server, installs the skill, backs up every config file it edits, and offers to build the local index. Restart your agent afterward. --agents claude,cursor picks agents explicitly; --yes skips the prompts. npx crowbar-cli setup --remove undoes it the same way: it lists what it will remove, asks first, and leaves your other servers and the index alone.

Or install the Claude Code plugin

One install drops in a skill and an MCP server:

bash
claude plugin marketplace add kushvinth/crowbarclaude plugin install crowbar@crowbar

Your agent now has:

  • the skill - it reaches for crowbar on any "is X vulnerable / what CVEs hit this / known exploits for …" question instead of guessing from memory;
  • the MCP tools - cb_cve, cb_product, cb_search, cb_exploit, … answering offline from the local index.

That's the whole setup. The first time you ask a security question, the crowbar skill sets itself up automatically - installs the tool and builds a small local index in ~/.crowbar (~150 MB; a few minutes, since NVD downloads are slow), then answers. You never run a CLI command, and the index refreshes itself once a day while you use it.

Other agents (Cursor, Codex, Gemini, opencode)

Same MCP server, one line - no heavy install, uvx runs it on demand:

json
{ "command": "uvx", "args": ["--from", "crowbar-cli", "crowbar-mcp"] }
bash
claude mcp add crowbar -- uvx --from crowbar-cli crowbar-mcp   # or, manually, in Claude Code

The repo ships .claude-plugin/, .codex-plugin/, gemini-extension.json and a host-agnostic skills/crowbar/SKILL.md, so most hosts auto-detect it.

Prefer a plain CLI?

Everything the agent can do, you can do in the terminal. Python 3.11+, zero deps.

bash
uvx crowbar-cli                 # run without installinguv tool install crowbar-cli     # or pipx install crowbar-cli / pip install crowbar-clinix run github:kushvinth/crowbargit clone https://github.com/kushvinth/crowbar && cd crowbar && ./bin/crowbar --help

Build an index

bash
crowbar sync --tier lite    # pick lite | medium | heavy | extremecrowbar build --tier lite   # build the local indexcrowbar doctor              # verify it's ready

With uvx, prefix each: uvx crowbar-cli sync --tier lite. To pull a prebuilt mirror instead of the upstream feeds, set CROWBAR_MIRROR - see docs/DATASETS.md. Refresh later with crowbar update (~10 s) - NVD modified + KEV + EPSS + Exploit-DB, in place.

Size tiers - each a superset of the one above, so you pick your disk budget:

tiersizeincludes
lite~150 MBKEV, EPSS, recent CVEs, CWE names
medium~500 MB+ full NVD history, CAPEC, SSVC, ATT&CK
heavy~2 GB+ Exploit-DB, Nuclei, Metasploit, OSV, PoC
extremefull+ MSRC, Apple, Debian - every source

Fresh, and fast

  • It keeps itself current. Each CLI call and MCP session checks the index age. Once it is a day old, crowbar refreshes it in the background: NVD changes, KEV, EPSS for every CVE, new PoCs and CVE chatter. An index past NVD's 8-day change window gets a re-sync and rebuild, so no gap is left behind. A refresh that fails (you were offline, or an upstream was down) never stamps the index fresh. crowbar doctor, cb_stats and the MCP answers themselves report how old the data is and why the last refresh failed.
  • It knows what's moving. crowbar trending ranks CVEs by how many places name them: Hacker News, oss-security, Full Disclosure, ZDI, Mastodon, and ENISA's exploited list (the EU counterpart to CISA KEV). crowbar new shows KEV/EUVD additions, new CVEs and new PoCs since a date. crowbar cve lists where each CVE was discussed.
  • Speed you can measure. crowbar bench times the queries agents run most on your index. They are local SQLite lookups on indexed columns, with no network, API key or rate limit.

How crowbar works

[agent asks crowbar over MCP, crowbar answers from the local index, the agent gets a grounded answer]

Your agent asks crowbar about a target over MCP. crowbar answers from the local index - never the network - with the KEV/SSVC/EPSS/CVSS verdict, the affected version ranges, and links to working PoCs. The agent uses that grounded result to explain the risk, decide what to patch, or write and test an exploit under authorization. CLI commands use the same read layer.

What you can answer

AskWhat crowbar returnsCommand
What does this CVE mean, and is it serious?CVSS, EPSS, KEV, SSVC, CWE, CPE ranges, refs, PoCscrowbar cve CVE-2021-44228
We run product X version Y - what's exploitable?Only CVEs whose CPE range covers Y, with the matched rangecrowbar product nginx --version 1.18.0
Is it exploited in the wild?CISA KEV + SSVC active/poc/nonecrowbar kev, crowbar cve <id>
What is everyone talking about this week?CVEs ranked by how many places post about themcrowbar trending
What changed since Monday?KEV/EUVD exploited additions, new CVEs, new PoCscrowbar new --since 2026-10-19
Where's a working exploit or detection?Exploit-DB, Nuclei templates, Metasploit modulescrowbar exploit log4j · crowbar nuclei <q> · crowbar msf <q>
A public PoC repo for this CVE?GitHub PoC metadata (stars, language) - never clonedcrowbar poc --cve <id>
Is this npm / PyPI / Go package affected?OSV/GHSA advisories with introduced/fixed rangescrowbar advisory --package lodash --ecosystem npm
Windows / iOS / macOS advisory?MSRC + Apple advisories, normalized impact (RCE/EoP/…)crowbar os --platform windows --impact RCE
The exploit code, not just a title?Full-text search inside 46k Exploit-DB sourcescrowbar code "jndi lookup ldap"
A living-off-the-land binary?GTFOBins / LOLBAS / PayloadsAllTheThingscrowbar bin certutil
A technique, weakness class, or model?ATT&CK / CWE / CAPEC / LLM catalogcrowbar attack T1059 · crowbar cwe 79
Anything, my wayread-only SQL over the whole indexcrowbar sql "select id,epss from cve where kev=1"

Rank threat by KEV / SSVC active > EPSS > CVSS - never CVSS alone. Most read commands accept --json. See the full command reference and AGENTS.md for the traversal manual.

Showcases

Triage Log4Shell in one command. crowbar cve CVE-2021-44228 returns CRIT 10.0 · KEV · EPSS 1.00 · ssvc=active, 44 affected CPE ranges, Exploit-DB 50592 (RCE), 44 Nuclei templates and 4 Metasploit modules - the whole verdict, offline, in ~80 ms.

"What do we run that's exploitable?" crowbar product nginx --version 1.18.0 tests every NVD CPE range against 1.18.0 and returns only real hits, like CVE-2021-23017 HIGH 7.7 · matched f5:nginx >=0.6.18 <1.20.1 - not every CVE that merely mentions "nginx".

Hunt the actively-exploited. crowbar search "remote code execution" --kev --epss 0.5 --sort epss surfaces CVE-2021-26855 (Exchange), CVE-2020-0796 (SMBGhost) and friends, each with exp×N nuc×N poc×N counts, ranked by real exploitation probability.

Used crowbar on something interesting? Open an issue or PR with the target, your question, and what you found.

FAQ

Which agents can use crowbar?

Any MCP host: Claude Code, Codex, Cursor, Gemini CLI, opencode, and Claude Desktop. The launch command is uvx --from crowbar-cli crowbar-mcp; this repo ships ready manifests for the common ones. You can also use every capability from the terminal.

Does it phone home or need an API key?

No. Every dataset is fetched over plain HTTP at build time with no token; after that crowbar is fully offline. The MCP server makes zero network calls, and the index opens read-only.

How big is it, really?

Your choice. A lite index is ~150 MB and answers in milliseconds; extreme is the full corpus (~1.5 GB index over ~3.3 GB of raw data). crowbar doctor tells you what you built and crowbar stats is always authoritative.

Does crowbar run exploits?

Never. It indexes exploit and PoC data as data. crowbar exploit <id> downloads source for you to inspect; running it is your decision, in a disposable VM, under authorization.

How is this different from vulnx / cve-mcp / CIRCL?

Those query live APIs (network, rate limits, answers that drift). crowbar is a local index: offline, reproducible, and it full-text-searches Exploit-DB source code, which the API wrappers don't.

Documentation

Star history

[Star History Chart]

Disclaimer

crowbar is for lawful security research, defense, and analysis of systems you own or are authorized to test. See DISCLAIMER.md. KEV/SSVC describe exploitation observed elsewhere, EPSS is a model estimate, and a missing row is not proof of "not affected" - verify before you act.

Contributing

We'd love your help with crowbar! Open an issue to report a bug, a wrong CVE record or a missing dataset, or send a pull request to improve the code or docs.

See CONTRIBUTING.md for the dev loop, the add-a-dataset checklist and the test suites. crowbar is standard-library only; keep it that way.

License

MIT

crowbar-authored code is licensed under MIT. The upstream data it indexes keeps its own licenses and terms; see Third-party notices and docs/DATASETS.md for the source inventory.

Indexed exploit and PoC data is reference material, not permission. crowbar never runs it, and nothing it returns authorizes testing a system. Use it only against systems you own or are allowed to test; see DISCLAIMER.md.

来源:README.md,提交 1069cbc

工具

0
SourceWeft 曾在隔离沙箱中以无凭据方式启动该软件包一次,以列出其工具,但未能完成:服务器未能启动。

版本历史

4
  1. v0.1.5最新Oct 26, 2026
  2. v0.1.4Oct 25, 2026
  3. v0.1.3Oct 22, 2026
  4. v0.1.1Oct 21, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分