# BRAINIAC Software Dependency Risk Report

> BRAINIAC Software Dependency Risk Report is a paid API for AI agents from www.brainiac.software, paid per call via x402, $0.08/call, status unknown (last checked 2026-11-16).

Checks a list of software components or an SBOM against public vulnerability databases (OSV) and returns advisory status for each dependency.

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/software-security/dependency-risk-report?utm_source=zero.xyz
- Price: $0.08/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-software-dependency-risk-report-b77eedce
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2N39_3RR1SKUgIWYImLGz

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-dependency-risk-report-b77eedce -d '<json body>'
```

Example prompt: Can you check these npm packages for known security vulnerabilities — lodash@4.17.21, express@4.18.2, and axios@1.4.0 — and tell me if any are affected by advisories so I know whether it's safe to release?

## When to prefer this

Use this endpoint when you need a fast, accountless, pay-per-call dependency vulnerability check against the OSV database without setting up API keys or accounts. It is ideal for AI agents running automated security gates in CI/CD pipelines, ad-hoc pre-release audits, or quick open-source vetting checks. Prefer it over full SAST tools when you only need advisory-level vulnerability status for specific package versions. If you need CVSS scoring, proprietary vulnerability intelligence, or license compliance analysis beyond what OSV provides, consider a more comprehensive commercial SCA tool.

## Known failure modes

- Input contains neither 'sbom' nor 'components' field — request rejected
- More than 25 components provided — only first 25 are checked, with a warning in the response
- Invalid or malformed purl strings may result in unmatched components
- OSV upstream API unavailable — source status will reflect error, partial results may be returned
- SBOM too large (exceeds 400,000 character limit) — request rejected
- Unknown ecosystem or package name returns unknownCount incremented rather than affectedCount

## 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

A JSON object listing each checked component with its vulnerability advisory status (affected/unaffected/unknown), the specific advisory IDs (e.g. GHSA identifiers), counts of affected and unaffected advisories, an overall approvesRelease boolean, any warnings (e.g. truncation if >25 components), the data sources consulted (OSV), and a timestamp of when the data was retrieved.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "sbom": {
   "type": "string",
   "maxLength": 400000,
   "minLength": 2
  },
  "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"
   }
  ],
  "warnings": [
   "Only the first 25 components were checked."
  ],
  "truncated": false,
  "components": [
   {
    "name": "lodash",
    "purl": "pkg:npm/lodash@4.17.21",
    "problem": null,
    "version": "4.17.21",
    "ecosystem": "npm",
    "affectedIds": [
     "GHSA-35jh-r3h4-6jhm"
    ],
    "unknownCount": 0,
    "versionState": "affected",
    "affectedCount": 1,
    "unaffectedCount": 2
   }
  ],
  "limitations": [
   "This report counts advisory statuses. It does not produce a risk score."
  ],
  "retrievedAt": "2026-11-02T18:00:00.000Z",
  "approvesRelease": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-software-dependency-risk-report-b77eedce/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)
