# Stack Facts CWE Lookup

> Stack Facts CWE Lookup is a paid API for AI agents from g5joilnmeep4ntz3nwezxt5dmu.srv.us, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-19).

Retrieves detailed CWE (Common Weakness Enumeration) entry by ID, including name, description, status, and related CAPEC attack patterns.

## Facts

- Endpoint: GET https://g5joilnmeep4ntz3nwezxt5dmu.srv.us/v1/cwe/%7Bid%7D?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stack-facts-cwe-lookup-e983ee7d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FFmOw10Fno9aEaRnUjhL_

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 stack-facts-cwe-lookup-e983ee7d
```

Example prompt: What does CWE-79 mean? Look it up and give me the official MITRE name, description, and any related CAPEC attack patterns.

## When to prefer this

Choose this endpoint when you need structured, signed, machine-readable CWE data on demand without setting up an account or API key, and when you want pay-per-call USDC pricing rather than a subscription. Ideal for AI agents enriching vulnerability scan results, security reports, or developer tooling that requires authoritative MITRE CWE metadata.

## Known failure modes

- Unknown or invalid CWE ID returns an error or empty data
- Payment failure (insufficient USDC balance) blocks the request
- Network timeout on the pay-per-call infrastructure
- Stale data flag may indicate the dataset hasn't been refreshed recently

## How this service works

Check a package before install: malware, known vulnerabilities (OSV), exploited CVEs (CISA KEV) and end-of-life, plus LLM prices; signed answers, pay per call in USDC, no account or API key.

## Output

A JSON object with the CWE's official ID, name, full description, status (e.g. Stable), URL to the MITRE page, related CAPEC IDs, and metadata including dataset version (e.g. 4.20), source attribution, and retrieval timestamp.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "id": "CWE-79",
   "url": "https://cwe.mitre.org/data/defi…",
   "name": "Improper Neutralization of Inpu…",
   "status": "Stable",
   "related": {
    "capec": [
     "CAPEC-63"
    ]
   },
   "description": "The product does not neutralize…"
  },
  "meta": {
   "date": "2026-04-30",
   "stale": false,
   "notice": "Copyright © 2006–2026, The MITR…",
   "source": "https://cwe.mitre.org/",
   "dataset": "cwe",
   "version": "4.20",
   "capec_date": "2023-01-24",
   "attribution": "Copyright © 2006–2026, The MITR…",
   "retrieved_at": "2026-10-09T06:00:00.000Z",
   "capec_version": "3.9"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stack-facts-cwe-lookup-e983ee7d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from g5joilnmeep4ntz3nwezxt5dmu.srv.us](https://www.zero.xyz/host/g5joilnmeep4ntz3nwezxt5dmu.srv.us/llms.txt)
