{"uid":"cap_NK8nWj_6Sdzfl6wh2raDI","slug":"brainiac-software-release-pre-check-api-e78aac18","name":"BRAINIAC Software Release Pre-Check API","description":"Pay-per-call APIs for AI agents: OFAC sanctions screening, compliance checks, token security, and Base chain data via x402. No account. Fixed USDC price. MCP-ready.","url":"https://www.brainiac.software/api/v1/software-security/release-precheck?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"sbom":{"type":"string","maxLength":400000,"minLength":2},"policy":{"type":"object","properties":{"deny":{"type":"array","items":{"type":"string","maxLength":80,"minLength":1},"maxItems":30},"allow":{"type":"array","items":{"type":"string","maxLength":80,"minLength":1},"maxItems":30}},"additionalProperties":false},"components":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":200,"minLength":1},"purl":{"type":"string","maxLength":500,"minLength":4},"license":{"type":"string","maxLength":200,"minLength":1},"version":{"type":"string","maxLength":100,"minLength":1},"ecosystem":{"type":"string","maxLength":40,"minLength":1}},"additionalProperties":false},"maxItems":25,"minItems":1}}},"responseSchema":{"type":"json","example":{"sources":[{"url":"https://api.osv.dev/v1/querybatch","detail":"Public source response.","source":"OSV","status":"ok","retrievedAt":"2026-11-02T18:00:00.000Z"}],"guidance":"Do not release, deploy, or mark a dependency safe because an advisory was absent or a version range was unknown.","warnings":["2 advisory documents were not read."],"truncated":false,"assessment":"issues_observed","components":[{"name":"org.apache.logging.log4j:log4j-core","purl":"pkg:maven/org.apache.logging.log4j/log4j-core@2.14.1","policy":"allowed","kevCves":["CVE-2021-44228"],"problem":null,"version":"2.14.1","ecosystem":"Maven","affectedIds":["GHSA-jfh8-c2jp-5v3q"],"registryStatus":"retrieved","declaredLicense":"Apache-2.0","maliciousStatus":"no_advisory_found","registryLicense":"Apache-2.0","unknownAdvisoryCount":2}],"limitations":["no_issues_observed means the completed checks did not observe an affected advisory, KEV exposure, licence conflict, or malicious-package match. It is not a release approval."],"retrievedAt":"2026-11-02T18:00:00.000Z","approvesRelease":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.15","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.15/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Pm-vnHbHZi-Rd5U181ztF","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.15","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs a security and license pre-release check on software components by scanning for known vulnerabilities, KEV exposures, license conflicts, and malicious packages using SBOM or component list input.","exampleAgentPrompt":"Before we cut the release, run a security pre-check on these components: log4j-core 2.14.1 (Maven) and lodash 4.17.20 (npm) — flag any CVEs, KEV exposures, license issues, or malicious package findings, and tell me whether it's safe to release.","exampleUseCases":[{"title":"Pre-release dependency audit for Java app","prompt":"We're about to release our Java service — can you check these Maven components for known vulnerabilities, KEV exposure, and license issues before we push to production? Here's the list: log4j-core 2.14.1, jackson-databind 2.13.0, and spring-core 5.3.18."},{"title":"SBOM scan for container image release","prompt":"I have a CycloneDX SBOM from our Docker image build — please run a full security pre-check on it, including malicious package detection and license compliance, and let me know if anything would block a release."},{"title":"Policy-gated release check with allow/deny rules","prompt":"Run a release pre-check on these npm packages — axios 0.21.1, minimist 1.2.5, and shelljs 0.8.4 — and apply a policy that denies anything with a GPL license or any package flagged as malicious."}],"resultDescription":"Returns a per-component assessment including: matched CVE and GHSA advisory IDs, KEV CVE hits, declared and registry license comparison, malicious package status, registry retrieval status, unknown advisory counts, plus an overall assessment label (e.g. 'issues_observed'), a boolean approvesRelease flag, any warnings about unread advisories, source metadata (OSV query URLs and timestamps), and guidance text emphasizing that a clean result is not a release approval.","failureModes":["Invalid or malformed SBOM string returns a validation error","Components array exceeding 25 items is rejected","Purl strings under 4 characters or over 500 characters are rejected","Advisory sources (e.g. OSV) may be partially unavailable, resulting in warnings about unread advisories and unknownAdvisoryCount > 0","Policy deny/allow arrays exceeding 30 items are rejected","Payment of $0.15 USDC on Base via x402 must succeed before result is returned; failed payment returns 402","Truncated flag may be set true if response data was cut short due to size"],"whenToPreferThis":"Use this endpoint when you need a lightweight, no-account, pay-per-call security gate before a software release — especially useful in CI/CD pipelines or agent-driven DevSecOps workflows where spinning up a full SAST platform is overkill. Prefer this over manual OSV queries when you need a combined check covering CVEs, CISA KEV status, license compliance, and malicious package detection in a single call. Best suited for per-release spot checks on up to 25 components or an SBOM blob, paid frictionlessly with USDC on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-17T00:36:02.519Z","isFirstParty":false,"canonicalSlug":"brainiac-software-release-pre-check-api-e78aac18"}