# BRAINIAC Software Release Pre-Check API

> BRAINIAC Software Release Pre-Check API is a paid API for AI agents from www.brainiac.software, paid per call via x402, $0.15/call, status unknown (last checked 2026-11-17).

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.

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/software-security/release-precheck?utm_source=zero.xyz
- Price: $0.15/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-software-release-pre-check-api-e78aac18
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NK8nWj_6Sdzfl6wh2raDI

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability brainiac-software-release-pre-check-api-e78aac18 -d '<json body>'
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "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
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-software-release-pre-check-api-e78aac18/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.brainiac.software](https://www.zero.xyz/host/www.brainiac.software/llms.txt)
