Skip to content

About

LLM plugins and MCP server for the Black Duck Software Composition Analysis (SCA) products

Topics

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

17 Commits

Folders and files

Repository files navigation

Black Duck SCA — LLM Plugins

Website Email

Plugins that connect Claude Code to the Black Duck Software Composition Analysis (SCA) products. Each plugin bundles a Black Duck MCP server with skills that turn its tools into complete security workflows, such as: investigate your software's security posture and vulnerabilities, triage findings, scan code and binaries, and generate vulnerability reports and SBOMs.

Table of Contents

  1. Products
  2. Latest changes
  3. Getting Started
  4. Security
  5. Support

Products

This repository ships two plugins, one per product. Install the one you have an instance for, or both. Each has its own guide with the configuration, the environment variables, the skills and the security notes.

Plugin Guide Product Use it to
BDSCA Black Duck SCA Explore Projects and BOMs, triage Vulnerabilities, check Policy and License compliance, run scans, generate SBOM, VEX/CSAF and Notices reports
BDBA Black Duck Binary Analysis Scan binaries and firmware, review the components found in them, triage Vulnerabilities, override component versions, generate reports

The full list of MCP tools for each product is in the MCP server guides.

Latest changes

See the changelog for the latest changes.

Getting Started

Prerequisites

  • Claude Code
  • A Black Duck instance (SCA, Binary Analysis or both) with a user account and API token
  • uv — runs the bundled MCP server with Python 3.13
  • Java 11+ (optional) — required only for BDSCA source scanning via Detect

Installation

Set the URL of your instance, e.g. BLACKDUCK_BDSCA_URL or BLACKDUCK_BDBA_URL, and store the API token as described in Token storage. Then, in Claude Code:

# add the marketplace (only needed once)
/plugin marketplace add blackducksoftware/llm-plugins
# install the plugin for your product, or both
/plugin install blackduck-bdsca@blackduck-llm-plugins
/plugin install blackduck-bdba@blackduck-llm-plugins
/reload-plugins

Once installed, ask "Am I connected to the Black Duck instance?" to check the setup. The plugin guides list all the environment variables:

Update

/plugin marketplace update blackduck-llm-plugins
/reload-plugins

Security

Token permissions and read-only mode

The MCP servers can read and change everything that the token's user can, including vulnerability remediation status, triages and version overrides. Use the token of a dedicated Black Duck user with only the permissions you need. Set BLACKDUCK_MCP_READ_ONLY=true to turn off the tools that change data or write files. The plugin guides list these tools.

Token storage

Claude Code passes its environment to every MCP server and tool it starts, so a token in an env var can be read by all of them. To keep tokens out of the environment, save each one in a file that only your own user can read, and configure only the URLs:

mkdir -p ~/.blackduck && chmod 700 ~/.blackduck
printf '%s' "<bdsca-api-token>" > ~/.blackduck/bdsca-token
printf '%s' "<bdba-api-token>" > ~/.blackduck/bdba-token
chmod 600 ~/.blackduck/bdsca-token ~/.blackduck/bdba-token

To use another file, set BLACKDUCK_BDSCA_TOKEN_FILE or BLACKDUCK_BDBA_TOKEN_FILE to its path. The health_check tool shows where the token came from.

Data sent to your LLM provider

Tool and Resource results go to the LLM that Claude Code uses. These may hold Vulnerability findings, Project, Version and Component names, Policy settings, and Scan results. The API tokens never go to the LLM.

Black Duck does not control how your LLM provider stores or uses this data, or whether the provider trains models on it. Before you use the plugins with sensitive or regulated findings, read your provider's terms and data processing agreement, and use its zero data retention or enterprise options where you need them.

Support

About

LLM plugins and MCP server for the Black Duck Software Composition Analysis (SCA) products

Topics

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Used by

Contributors