Precheck release security API
Combine exact-version OSV matches, CISA KEV exposure, licence policy, and malicious-package advisories into one release report. The report never approves a release.
The Precheck release security operation is part of the Software Supply Chain Security API on BRAINIAC.software. Combine exact-version OSV matches, CISA KEV exposure, licence policy, and malicious-package advisories into one release report. The report never approves a release. It is exposed as POST /api/v1/software-security/release-precheck and priced at $0.15 USDC on Base. Payment uses the x402 exact scheme: an unpaid call returns HTTP 402 with payment requirements; after paying the exact USDC amount, retry the same request with a payment-signature header and Idempotency-Key. No account and no API key are required. Data sources for this product: OSV public API (api.osv.dev). CISA Known Exploited Vulnerabilities catalog JSON feed. Public npm, PyPI, crates.io, and RubyGems package records for licence identifiers. Limitations: CycloneDX and SPDX JSON are accepted, with a limited XML read of the same fields. Only an exact ecosystem, package name, and version is matched. Similar names are ignored. Affected, unaffected, and unknown version ranges are reported separately. At most 25 components and 40 advisory documents are read per call. Absence of an advisory does not mean a dependency is safe or free of malware. Licence compatibility is judged only against the caller allow and deny lists. EPSS, NVD, deps.dev, and Scorecard are not used by this product. Outputs are compliance prechecks, drafts, or data lookups for human review. They are not official determinations, legal advice, identity confirmation, or certified filings. Related operations in this group include Match SBOM vulnerabilities, Report dependency risk, Check KEV exposure, Check licence compatibility. Open the group documentation for the full request schema, field notes, and response examples before integrating.
/api/v1/software-security/release-precheckExample request
curl -i -X POST "https://www.brainiac.software/api/v1/software-security/release-precheck" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"sbom": "{\"bomFormat\":\"CycloneDX\",\"specVersion\":\"1.5\",\"components\":[{\"name\":\"lodash\",\"version\":\"4.17.21\",\"purl\":\"pkg:npm/lodash@4.17.21\",\"licenses\":[{\"license\":{\"id\":\"MIT\"}}]}]}",
"policy": {
"allow": [
"MIT"
],
"deny": [
"GPL-3.0-only"
]
}
}
JSONAn unpaid probe returns HTTP 402 with x402 payment requirements. After paying the exact USDC amount on Base, retry the identical request with a payment-signature header.
FAQ
- Do I need an API key? No. Pay the listed USDC amount with x402.
- What network? Base (eip155:8453), USDC.
- Is this an official determination? No. Results are for human review against the cited sources.
Related operations
- Match SBOM vulnerabilities — $0.08 USDC
- Report dependency risk — $0.08 USDC
- Check KEV exposure — $0.06 USDC
- Check licence compatibility — $0.05 USDC