Bomly 标志

Bomly

组织
bomly-dev

Free, open-source CLI for dependency intelligence, SBOMs, vulnerability auditing, and CI policy gates.

发布者bomly-dev
代码仓库bomly-cli
语言Go
复刻数
0
星标数
12
可用工具
0
传输类型stdio
分类
许可协议Apache-2.0
链接
  • 将工具接入 AI 工作流

    Bomly 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 12 个 Star 和 0 个 Fork。

Bomly is a free, open-source CLI for dependency intelligence. It scans source trees, SBOMs, Git refs, and container images; explains why dependencies are present; enriches packages with vulnerability and license data when you ask for it; evaluates policy; and writes automation-friendly output for CI.

Free and open source, no account, no login. One binary. No service to host. No telemetry. No outbound matcher calls unless you opt in with --enrich. Network and Privacy documents every network trigger so you can audit that claim instead of taking it on faith.

Install Bomly

bash
# macOS / Linuxbrew
brew install bomly-dev/tap/bomly

# Linux / macOS install script
curl -fsSL https://bomly.dev/install.sh | sh

# Windows
winget install Bomly.BomlyCLI

Prebuilt archives and Linux packages are published from GitHub Releases. Releases include bomly (full binary with builtin Syft and Grype) and bomly-lite (smaller binary that shells out to external syft and grype).

Verify the install:

bash
bomly version

For Linux packages, Scoop, Go install, checksums, pinned versions, upgrades, and uninstall instructions, see Installation.

Start With a Scan

bash
# Scan the current project
bomly scan

# Scan a specific directory
bomly scan --path ./services/api

# Scan a container image
bomly scan --image ghcr.io/example/app:latest

# Scan a remote Git ref
bomly scan --url https://github.com/owner/repo --ref v1.2.3

# Read an existing SPDX or CycloneDX SBOM
bomly scan --sbom --path ./sbom.cdx.json

Bomly reads manifests, lockfiles, package-manager output, container layers, or existing SBOMs and turns them into one dependency graph. Native detectors cover Go, npm, pnpm, Yarn, Maven, Gradle, Python, Composer, Bundler, GitHub Actions, SBOM ingest, and more. Syft fills the long tail, including container images. See the Support Matrix and Scan Targets.

What Bomly Can Answer

QuestionCommand
What do we depend on?bomly scan
What changed in this PR or branch?bomly diff --base main --head HEAD
Why is this package here?bomly explain lodash
Which findings matter to policy?bomly scan --enrich --audit --fail-on high
Can CI fail on high-severity findings?bomly scan --enrich --audit --fail-on high --format sarif
Can I triage reachable findings first?bomly scan --enrich --audit --analyze --fail-on high --fail-on reachable

For more recipes, see Getting Started and Use Cases. To review the public inputs, commands, expected results, and limitations behind important behavior claims, see Reproducible Evidence.

Explore Interactively

Open the terminal UI when you want to inspect a graph by hand:

bash
bomly scan --interactive

Use it to fuzzy-find packages, inspect versions and scopes, pivot through findings, and see how a dependency entered the graph without writing a report to disk. See Interactive TUI.

Enrich and Audit

By default, Bomly does not call vulnerability, license, lifecycle, or scorecard services. Add --enrich when you want external package intelligence:

bash
# Fetch vulnerability and license data
bomly scan --enrich

# Evaluate policy against enriched package data
bomly scan --enrich --audit --fail-on high

# Add experimental reachability analysis
bomly scan --enrich --audit --analyze --fail-on high --fail-on reachable

Built-in enrichment uses public services such as OSV, CISA KEV, deps.dev, and OpenSSF Scorecard. --audit evaluates the vulnerability and license data already present on packages; use --enrich --audit when you want to fetch and evaluate in one run.

Reachability is experimental. It is useful for triage, but "unreachable" is not a guarantee of safety. Read Reachability before using --fail-on reachable as a CI gate.

Explain and Diff

Use explain when a transitive package shows up and you need the path:

bash
bomly explain requests
bomly explain lodash --path ./web

Use diff when you need to review dependency changes across Git refs or SBOMs:

bash
# Compare Git refs
bomly diff --base main --head HEAD

# Compare two SBOM files
bomly diff --sbom --base ./old.spdx.json --head ./new.spdx.json

See Getting Started for the first-run walkthrough and Use Cases for PR review, upgrade review, and incident triage recipes.

Generate Output for CI

Bomly can write human-readable text, JSON, SARIF, SPDX 2.3, and CycloneDX 1.7:

bash
# Structured JSON for automation
bomly scan --json

# SARIF for security tabs and code-scanning integrations
bomly scan --enrich --audit --fail-on high --format sarif

# Write SBOM artifacts (add --format text to also print the report)
bomly scan -o spdx=sbom.spdx.json -o cyclonedx=sbom.cdx.json

# Emit one SBOM to stdout
bomly scan --format cyclonedx

Exit codes are stable for scripts: 0 for clean results, 2 for policy violations, and separate values for usage, runtime, and no-supported-project failures. See Output Formats, SBOM Formats, and Exit Codes.

To gate pull requests, use the Bomly Guard action or call the CLI directly from your workflow:

yaml
# .github/workflows/bomly.yml
- uses: actions/checkout@v5
  with:
    fetch-depth: 0
- uses: bomly-dev/bomly-guard@v1
  with:
    fail-on: high

See Bomly Guard and CI Integration.

Use Bomly With AI Agents

Bomly can run as a local MCP server so AI agents can call the same dependency graph tools you use on the command line:

bash
bomly mcp serve

If you have not installed the CLI, the bomly-mcp npm wrapper starts the same server:

bash
npx -y bomly-mcp

Add Bomly to an MCP-aware agent such as Claude Code, Cursor, VS Code, or a custom tool, and the agent receives structured JSON it can summarize or reason over. See MCP Server for setup recipes and the tool reference.

Configure and Extend

Bomly reads configuration from your user config, an explicitly selected config file, BOMLY_* environment variables, and CLI flags, with later sources taking precedence:

  1. ~/.bomly/config.yaml
  2. --config <path> or BOMLY_CONFIG
  3. BOMLY_* environment variables
  4. CLI flags

Repository config files are never loaded automatically. A project may keep its shared configuration at .bomly/config.yaml, but you must trust it explicitly with --config .bomly/config.yaml or BOMLY_CONFIG. See the generated Config Reference.

Managed plugins let you add detectors, matchers, and auditors without forking Bomly:

bash
bomly plugins install github:bomly-dev/bomly-plugin-bun-lock-detector@v0.1.0
bomly plugins enable bomly.examples.detector.bun-lock
bomly plugins verify bomly.examples.detector.bun-lock

See Plugins for install, trust, and authoring guidance.

Documentation

  • Getting Started - install Bomly and run your first scan
  • Tutorial - from first scan to a CI gate on a real project
  • FAQ - quick answers on privacy, accounts, and tool differences
  • Installation - install methods, checksums, upgrades, uninstall
  • Use Cases - practical recipes for PR gates, SBOMs, triage, and offline scans
  • Scan Targets - directories, Git repos, containers, and SBOMs
  • Output Formats - text, JSON, SARIF, SPDX, CycloneDX
  • SBOM Formats - SPDX 2.3 and CycloneDX 1.7, ingest, and conversion recipes
  • CI Integration - GitHub Actions, GitLab, Jenkins, Azure, CircleCI
  • Bomly Guard - turnkey GitHub Action for PR dependency review
  • MCP Server - connect Bomly to Claude Code, Cursor, VS Code, or another MCP client
  • Reachability - experimental reachable-vulnerability triage
  • Plugins - managed external detectors, matchers, and auditors
  • Release Notes - what changed in each version
  • All Documentation - full docs index

Contributor setup lives in CONTRIBUTING.md. Architecture details live in docs/ARCHITECTURE.md.

Questions

For questions, ideas, and general support, please use Bomly Discussions.

Use this repository's issues only for confirmed bugs, regressions, or actionable implementation work.

Support

Bomly is an open-source project. If you find it useful, you can support the project by starring the repository, sharing feedback, opening issues, contributing improvements, or sponsoring ongoing maintenance.

See Support Bomly.

License

Bomly CLI is licensed under the Apache License 2.0.

将 Bomly MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 Bomly 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过您设备上的 TypingMind MCP 连接器在本地运行。

本地连接器设置指南

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请保持终端窗口及其中的进程运行。
3

将 Bomly 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 Bomly MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "bomly-cli": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 Bomly MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 Bomly MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 Bomly 帮我完成这项任务吗?
Bomly
当然。我已阅读。
以下是我使用 Bomly 得到的结果。

常见问题

Bomly MCP 服务器有什么用途?

Bomly 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 Bomly MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您可以让 Claude、ChatGPT、Gemini 等不同 AI 模型,或您在 TypingMind 中配置的其他模型使用 Bomly,而无需为每个模型单独配置 MCP 服务器。

为什么在 TypingMind 中使用 Bomly MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是优秀的大语言模型聊天前端之一。连接 Bomly 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 Bomly MCP 连接到 TypingMind?

Bomly 通过 TypingMind 本地 MCP 连接器运行。当 MCP 服务器需要访问您计算机上的本地文件、桌面应用、命令行工具或私有资源时,这种方式最合适。

Bomly MCP 在 TypingMind 中提供哪些工具?

Bomly 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 Bomly MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行掌控模型提供商、API 密钥、提示词和 MCP 配置。如果 Bomly 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇