# Datakoot Brief Stack

> Datakoot Brief Stack is a paid API for AI agents from x402.datakoot.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-29).

Audits a list of packages or a dependency manifest for known vulnerabilities and safety issues in a single call.

## Facts

- Endpoint: POST https://x402.datakoot.com/api/brief_stack?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/datakoot-brief-stack-772b5442
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2aWGRUAh_GXU5WgpsBDYk

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 datakoot-brief-stack-772b5442 -d '<json body>'
```

Example prompt: Can you check if my npm packages are safe — here's my package list: lodash@4.17.15, express@4.18.2, and axios@1.4.0?

## When to prefer this

Choose this endpoint when you need a quick, single-call vulnerability sweep across multiple packages or an entire dependency manifest. It is especially well-suited for CI/CD pipeline checks, pre-deployment safety gates, or when you want a unified brief rather than querying a vulnerability database package by package. Prefer it over manual CVE lookups when the packages span a single known ecosystem (npm, pypi, cargo, go, maven, rubygems, nuget, composer).

## Known failure modes

- Unknown or misspelled package name returns no results or an error for that entry
- Unsupported ecosystem not in the enum list returns a validation error
- Malformed manifest string may fail to parse and return a parsing error
- Network or upstream vulnerability database unavailability may return a 5xx error
- Empty packages array with no manifest returns an input validation error

## How this service works

Datakoot Koot: One call answers 'is my project safe?'. $0.01 USDC per brief, charged only on success.

## Output

Returns a security brief covering each submitted package and version, flagging known vulnerabilities (CVEs), severity levels, and an overall safety assessment for the project's dependency stack.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "manifest": {
   "type": "string",
   "description": "Or paste a whole package.json or requirements.txt here."
  },
  "packages": {
   "type": "array",
   "items": {
    "anyOf": [
     {
      "type": "string"
     },
     {
      "type": "object",
      "required": [
       "name"
      ],
      "properties": {
       "name": {
        "type": "string"
       },
       "version": {
        "type": "string"
       },
       "ecosystem": {
        "type": "string"
       }
      }
     }
    ]
   },
   "description": "Packages as 'name' or 'name@version' strings (or {name, version, ecosystem} objects), e.g. [\"lodash@4.17.15\", \"express\"]."
  },
  "ecosystem": {
   "enum": [
    "npm",
    "pypi",
    "cargo",
    "go",
    "maven",
    "rubygems",
    "nuget",
    "composer"
   ],
   "type": "string",
   "description": "Registry for string packages (default npm)."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/datakoot-brief-stack-772b5442/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.datakoot.com](https://www.zero.xyz/host/x402.datakoot.com/llms.txt)
