# DeFi Shield Oracle Risk Assessment

> DeFi Shield Oracle Risk Assessment is a paid API for AI agents from defi-shield-hazel.vercel.app, paid per call via x402, $0.5/call, status unknown (last checked 2026-09-16).

Assesses oracle dependency and associated risks for DeFi protocols, identifying vulnerabilities from price feed manipulation, single-source oracle reliance, and staleness issues

## Facts

- Endpoint: POST https://defi-shield-hazel.vercel.app/api/protocol/oracle-risk
- Price: $0.5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/defi-shield-hazel-vercel-app-9001c010
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qR80Fgud5w0N38rezqO_e

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 defi-shield-hazel-vercel-app-9001c010 -d '<json body>'
```

Example prompt: Can you assess the oracle risk for Aave on Ethereum — I want to know what price feed oracles it depends on, whether there are any single-source or manipulation risks, and an overall risk score?

## When to prefer this

Use this endpoint when evaluating DeFi protocol safety specifically from an oracle/price feed angle — especially before deploying capital into lending, derivatives, or yield protocols where oracle manipulation is a known attack vector. Prefer over general protocol comparison endpoints when oracle risk is the primary concern.

## Known failure modes

- Unknown or unsupported protocol returns 404 or empty result
- Invalid protocol address format causes validation error
- Protocol data unavailable or oracle metadata not indexed returns partial result
- Rate limiting or payment failure returns 402/429
- Newly deployed protocols with insufficient on-chain history may return low-confidence assessments

## Output

Returns an oracle risk assessment including identified oracle dependencies (e.g. Chainlink, Uniswap TWAP, centralized feeds), risk scores per oracle, flags for single-source reliance, staleness risk, manipulation vulnerability, and an overall protocol oracle risk rating with recommendations.

## Example request

```json
{
 "input": {
  "body": {
   "protocol_name": "Aave"
  },
  "type": "http",
  "method": "POST",
  "bodyType": "json"
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "bodyType",
    "body",
    "method"
   ],
   "properties": {
    "body": {
     "properties": {
      "protocol_name": {
       "type": "string",
       "description": "Protocol name for oracle risk assessment"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/defi-shield-hazel-vercel-app-9001c010/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from defi-shield-hazel.vercel.app](https://www.zero.xyz/host/defi-shield-hazel.vercel.app/llms.txt)
