/dependency-track-upload
Publishes CycloneDX BOMs to Dependency-Track or a TEA (Transparency Exchange API) server from cdxgen, and runs cdxgen in HTTP server mode to generate BOMs on demand for local paths, Git URLs, or package URLs. Use when asked to upload or submit an SBOM to Dependency-Track,
Claude Code
$ npx -y skills add cdxgen/cdxgen --skill dependency-track-upload --agent claude-code
Codex
$ npx skills add cdxgen/cdxgen --skill dependency-track-upload -a codex -y
Cursor
$ npx skills add cdxgen/cdxgen --skill dependency-track-upload -a cursor -y
Gemini CLI
$ npx skills add cdxgen/cdxgen --skill dependency-track-upload -a gemini-cli -y
GitHub Copilot
$ npx skills add cdxgen/cdxgen --skill dependency-track-upload -a github-copilot -y
OpenCode
$ npx skills add cdxgen/cdxgen --skill dependency-track-upload -a opencode -y
Windsurf
$ npx skills add cdxgen/cdxgen --skill dependency-track-upload -a windsurf -y
SKILL.md
dependency-track-upload.SKILL.mdname: dependency-track-upload
description: Publishes CycloneDX BOMs to Dependency-Track or a TEA (Transparency Exchange API) server from cdxgen, and runs cdxgen in HTTP server mode to generate BOMs on demand for local paths, Git URLs, or package URLs. Use when asked to upload or submit an SBOM to Dependency-Track, register a project or parent-child project hierarchy, publish to a TEA collection, or run cdxgen as an SBOM service or API.
disable-model-invocation: true
Publish BOMs and run cdxgen as a service
Two related capabilities: pushing a BOM to a platform, and exposing cdxgen over HTTP.
Read [reference/safety.md](../../reference/safety.md) first. Both halves of this skill touch the network and credentials, so the constraints below are not optional.
Plugin settings
Claude Code replaces the `${user_config.*}` values in this table with the options the user set for the plugin. Other clients show the text as written. A value counts as set only when it is not empty and does not start with `${`; otherwise ignore it and follow the "When not set" column. The settings hold no keys or tokens, and the rule against asking for, printing or writing one still applies.
| Setting | Value | When not set | | --------------------------- | ------------------------------------- | ----------------------------- | | Dependency-Track server URL | `${user_config.dependency_track_url}` | Ask the user for the URL | | TEA endpoint | `${user_config.tea_endpoint}` | Ask the user for the endpoint |
A configured URL is a suggestion for `--server-url` or `--tea-publish`. Show it to the user and get a yes before any upload, as described below.
Confirm before uploading
Uploading a BOM **publishes it to an external system**. Before any submission:
1. Confirm the destination URL with the user. 2. Confirm the project name, version, and parent, since a wrong value creates or overwrites the wrong project. 3. Confirm the BOM contents are safe to send — a BOM may carry AI/MCP configuration, host inventory, or trust material. Review emitted properties first.
Never invent a server URL, project ID, or API key. If a value is missing, ask.
Credentials
**Never ask the user to paste an API key into the conversation, and never write one into a command line or a file.** Pass credentials through the environment that cdxgen already reads, and let the user set it in their own shell:
cdxgen -o /absolute/path/to/bom.json \
--server-url https://deptrack.example.com \
--project-name my-app --project-version 1.2.3 \
/absolute/path/to/project
with `CDXGEN_*`/`TEA_TOKEN`-style variables set by the user beforehand. The TEA bearer token in particular is designed for this: it is sent only as an `Authorization` header, never logged, and can come from `TEA_TOKEN`.
If a key does appear in your context anyway, do not echo it back.
Dependency-Track submission
cdxgen -o /absolute/path/to/bom.json \
--server-url https://deptrack.example.com \
--project-name my-app \
--project-version 1.2.3 \
/absolute/path/to/project
| Flag | Purpose | | -------------------------- | -------------------------------------------------------------------- | | `--server-url` | Dependency-Track URL | | `--api-key` | API key (prefer the environment; see above) | | `--project-name` | Project name; defaults to the directory name | | `--project-version` | Project version | | `--project-id` | Project ID — supply this **or** name and version together | | `--project-tag` | Project tag; repeatable | | `--project-group` | Project group | | `--parent-project-id` | Parent project ID | | `--parent-project-name` | Parent project name | | `--parent-project-version` | Parent project version | | `--auto-create` | Let Dependency-Track create the project if absent | | `--is-latest` | Mark this version as latest | | `--skip-dt-tls-check` | Skip TLS verification |
Identify the project **either** by `--project-id` **or** by `--project-name` plus `--project-version` together. Half of the latter pair is not enough.
`--skip-dt-tls-check` disables certificate verification. Only suggest it for a known-internal host with a self-signed certificate, and say what it turns off.
Monorepo hierarchies
Use the parent flags to nest per-module projects under one parent, so Dependency-Track shows the aggregate:
cdxgen -o /absolute/path/to/module-bom.json \
--server-url https://deptrack.example.com \
--parent-project-name my-platform --parent-project-version 2026.1 \
--project-name my-platform-api --project-version 1.2.3 \
/absolute/path/to/module
Host allowlisting
Keep `CDXGEN_ALLOWED_HOSTS` narrow. Server-side Dependency-Track submission interprets a wildcard entry such as `*.example.com` as **real subdomains only**, never as a suffix match — so `*.example.com` will not match `evil-example.com`, and it also will not match `example.com` itself. Prefer exact hosts.
TEA publishing
Publish the BOM as a TEA Artifact in a Collection (draft publisher API):
cdxgen -o /absolute/path/to/bom.json \
--tea-publish https://tea.example.com \
--tea-collection-name "my-app sbom" \
--tea-author-name "Prabhu Sub
Read more
name: dependency-track-upload description: Publishes CycloneDX BOMs to Dependency-Track or a TEA (Transparency Exchange API) server from cdxgen, and runs cdxgen in HTTP server mode to generate BOMs on demand for local paths, Git URLs, or package URLs. Use when asked to upload or submit an SBOM to Dependency-Track, register a project or parent-child project hierarchy, publish to a TEA collection, or run cdxgen as an SBOM service or API. disable-model-invocation: true
Publish BOMs and run cdxgen as a service
Two related capabilities: pushing a BOM to a platform, and exposing cdxgen over HTTP.
Read [reference/safety.md](../../reference/safety.md) first. Both halves of this skill touch the network and credentials, so the constraints below are not optional.
Plugin settings
Claude Code replaces the `${user_config.*}` values in this table with the options the user set for the plugin. Other clients show the text as written. A value counts as set only when it is not empty and does not start with `${`; otherwise ignore it and follow the "When not set" column. The settings hold no keys or tokens, and the rule against asking for, printing or writing one still applies.
| Setting | Value | When not set | | --------------------------- | ------------------------------------- | ----------------------------- | | Dependency-Track server URL | `${user_config.dependency_track_url}` | Ask the user for the URL | | TEA endpoint | `${user_config.tea_endpoint}` | Ask the user for the endpoint |
A configured URL is a suggestion for `--server-url` or `--tea-publish`. Show it to the user and get a yes before any upload, as described below.
Confirm before uploading
Uploading a BOM **publishes it to an external system**. Before any submission:
1. Confirm the destination URL with the user. 2. Confirm the project name, version, and parent, since a wrong value creates or overwrites the wrong project. 3. Confirm the BOM contents are safe to send — a BOM may carry AI/MCP configuration, host inventory, or trust material. Review emitted properties first.
Never invent a server URL, project ID, or API key. If a value is missing, ask.
Credentials
**Never ask the user to paste an API key into the conversation, and never write one into a command line or a file.** Pass credentials through the environment that cdxgen already reads, and let the user set it in their own shell:
cdxgen -o /absolute/path/to/bom.json \ --server-url https://deptrack.example.com \ --project-name my-app --project-version 1.2.3 \ /absolute/path/to/project
with `CDXGEN_*`/`TEA_TOKEN`-style variables set by the user beforehand. The TEA bearer token in particular is designed for this: it is sent only as an `Authorization` header, never logged, and can come from `TEA_TOKEN`.
If a key does appear in your context anyway, do not echo it back.
Dependency-Track submission
cdxgen -o /absolute/path/to/bom.json \ --server-url https://deptrack.example.com \ --project-name my-app \ --project-version 1.2.3 \ /absolute/path/to/project
| Flag | Purpose | | -------------------------- | -------------------------------------------------------------------- | | `--server-url` | Dependency-Track URL | | `--api-key` | API key (prefer the environment; see above) | | `--project-name` | Project name; defaults to the directory name | | `--project-version` | Project version | | `--project-id` | Project ID — supply this **or** name and version together | | `--project-tag` | Project tag; repeatable | | `--project-group` | Project group | | `--parent-project-id` | Parent project ID | | `--parent-project-name` | Parent project name | | `--parent-project-version` | Parent project version | | `--auto-create` | Let Dependency-Track create the project if absent | | `--is-latest` | Mark this version as latest | | `--skip-dt-tls-check` | Skip TLS verification |
Identify the project **either** by `--project-id` **or** by `--project-name` plus `--project-version` together. Half of the latter pair is not enough.
`--skip-dt-tls-check` disables certificate verification. Only suggest it for a known-internal host with a self-signed certificate, and say what it turns off.
Monorepo hierarchies
Use the parent flags to nest per-module projects under one parent, so Dependency-Track shows the aggregate:
cdxgen -o /absolute/path/to/module-bom.json \ --server-url https://deptrack.example.com \ --parent-project-name my-platform --parent-project-version 2026.1 \ --project-name my-platform-api --project-version 1.2.3 \ /absolute/path/to/module
Host allowlisting
Keep `CDXGEN_ALLOWED_HOSTS` narrow. Server-side Dependency-Track submission interprets a wildcard entry such as `*.example.com` as **real subdomains only**, never as a suffix match — so `*.example.com` will not match `evil-example.com`, and it also will not match `example.com` itself. Prefer exact hosts.
TEA publishing
Publish the BOM as a TEA Artifact in a Collection (draft publisher API):
cdxgen -o /absolute/path/to/bom.json \ --tea-publish https://tea.example.com \ --tea-collection-name "my-app sbom" \ --tea-author-name "Prabhu Sub
cdxgen is a CLI tool, library, REPL, and server to create, validate, sign, and verify software BOMs. It generates CycloneDX JSON BOMs and supports SPDX 3.0.1 JSON-LD export.
Other skills on cdxgen.
More skills from other plugins.
api-security
Use for authorized security assessment of REST, GraphQL, WebSocket, or SOAP APIs, including discovery, authentication,…
abusing-dpapi-for-cred…
Extract and decrypt Windows DPAPI-protected secrets (Credential Manager, browser logins/cookies, Wi-Fi credentials, KeePass keys)…
clean-user-facing-text
Clean and finalize authorized natural-language text intended for readers by auditing suspicious invisible Unicode and rewriting…
Questions about dependency-track-upload.
- Which coding agents can use dependency-track-upload?
- dependency-track-upload installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.

