Capabilities / Supply chain
Generate a software bill of materials (SBOM)
What it checks
Upload a zip or tar.gz of a repository and get an SBOM listing every package it declares across ecosystems (npm, PyPI, Go, Maven, Cargo, RubyGems, Composer, GitHub Actions and more), in CycloneDX or SPDX JSON. Made by Syft in an isolated container with no internet.
In the example run below, the report listed what it checked:
- zip upload (370 bytes) catalogued by Syft (Application: syft) into cyclonedx-json
- 7 components found
What it does not check
Every report lists this in coverage.not_checked. In the example run:
- Dependencies that are not declared in manifests or lockfiles (vendored or copied code)
- Packages installed at build time but absent from the upload
- Vulnerabilities (use repo.dependencies or vuln.dependencies)
A clean result means these checks found nothing. It does not mean the target is secure.
Input
| Field | Type | Required | Meaning |
|---|---|---|---|
file | file id | yes | A .zip or .tar.gz of the repository |
format | one of: cyclonedx-json, spdx-json | no (default cyclonedx-json) |
Output: A report with component counts by ecosystem. One artifact: sbom.cdx.json or sbom.spdx.json.
Price
$0.001 per MB scanned, at least $0.005 and at most $0.25 per run. The most one run can cost is $0.25, so pass max_usd of at least 0.25. That amount is held while the run works; you pay the actual charge and the rest returns to your balance. Failed runs are free. Time limit: 300 seconds.
Call it
REST
# 1. Upload a zip or tar.gz (git archive includes only tracked files)
git archive --format=zip HEAD -o repo.zip
FILE=$(curl -s "https://api.brainbacked.com/v1/files?name=repo.zip" \
-H "Authorization: Bearer $BRAINBACKED_API_KEY" \
-H "content-type: application/zip" --data-binary @repo.zip | jq -r .id)
# 2. Run the check on it
curl -s https://api.brainbacked.com/v1/runs \
-H "Authorization: Bearer $BRAINBACKED_API_KEY" \
-H "content-type: application/json" \
-d '{
"capability": "sbom.generate",
"input": {"file":"'"$FILE"'"},
"max_usd": 0.25
}'
MCP tool calls
upload_file {"name":"repo.zip","content_base64":"<base64 of the archive>"}
run {
"capability": "sbom.generate",
"input": {
"file": "<file_id from upload_file>"
},
"max_usd": 0.25
}
Example response
A real run, recorded 2026-12-04 01:25 UTC. The request input was {"file":"file_vAYJ8IsAK4NOA3GMCm4uyFtz"}.
- components
- 7
- by_ecosystem.file
- 3
- by_ecosystem.npm
- 2
- by_ecosystem.github
- 1
- by_ecosystem.pypi
- 1
- format
- cyclonedx-json
Checked
- zip upload (370 bytes) catalogued by Syft (Application: syft) into cyclonedx-json
- 7 components found
Not checked
- Dependencies that are not declared in manifests or lockfiles (vendored or copied code)
- Packages installed at build time but absent from the upload
- Vulnerabilities (use repo.dependencies or vuln.dependencies)
Automated checks with stated coverage. A clean result means these checks found nothing, not that the target is secure.
Raw JSON response
{
"id": "run_pVqvZXgQH8gtgmzT40fU",
"capability": "sbom.generate",
"version": 1,
"status": "succeeded",
"output": {
"schema": "security-findings/v1",
"capability": "sbom.generate",
"target": "repo.zip",
"generated_at": "2026-12-04T01:25:13.325749Z",
"coverage": {
"checked": [
"zip upload (370 bytes) catalogued by Syft (Application: syft) into cyclonedx-json",
"7 components found"
],
"not_checked": [
"Dependencies that are not declared in manifests or lockfiles (vendored or copied code)",
"Packages installed at build time but absent from the upload",
"Vulnerabilities (use repo.dependencies or vuln.dependencies)"
]
},
"summary": {
"critical": 0,
"high": 0,
"medium": 0,
"low": 0,
"info": 0,
"unknown": 0
},
"findings": [],
"facts": {
"components": 7,
"by_ecosystem": {
"file": 3,
"npm": 2,
"github": 1,
"pypi": 1
},
"format": "cyclonedx-json"
},
"notice": "Automated checks with stated coverage. A clean result means these checks found nothing, not that the target is secure."
},
"artifacts": [
{
"file_id": "file_nCQWrN5kuBzWwEy8ZLF54DeF",
"name": "sbom.cdx.json",
"content_type": "application/json",
"size": 4191,
"expires_at": "2026-12-11T01:25:13.415Z"
}
],
"cost_usd": 0.005,
"max_cost_usd": 0.25,
"error": null,
"created_at": "2026-12-04T01:25:09.406Z",
"finished_at": "2026-12-04T01:25:13.895Z",
"duration_ms": 4292
}Data and network
Reads only the files you upload. Runs in an isolated container with no internet access. Each account gets its own container. Archives are unpacked with limits on paths, file types, file counts and sizes, and the code inside is never run.
Nothing you send leaves our servers. Uploaded files and result files are deleted after 7 days. Customer data is never used to train models.
License basis: Apache-2.0 (Syft).