79trust / 100

Risk Check

by risk-oracle-api.rohan-rajnikanth.workers.dev in Security & trust

x402 APIPassing, checked 2 h ago

Deterministic reserve-condition risk assessment for native USDC on Aave V3 Base

POST https://risk-oracle-api.rohan-rajnikanth.workers.dev/v1/risk-check

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
374 ms typical, 393 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://risk-oracle-api.rohan-rajnikanth.workers.dev/v1/risk-check" \
  -H "content-type: application/json" \
  -d '{"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","chain":"base","protocol":"aave-v3"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Frisk-oracle-api.rohan-rajnikanth.workers.dev%2Fv1%2Frisk-check
const res = await pay("https://risk-oracle-api.rohan-rajnikanth.workers.dev/v1/risk-check", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","chain":"base","protocol":"aave-v3"}),
});
console.log(await res.json());

Example input

{
  "asset": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
  "chain": "base",
  "protocol": "aave-v3"
}

Example output

{
  "assessment_id": "00000000-0000-4000-8000-000000000001",
  "asset": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
  "block_number": "35000000",
  "calculated_at": "2026-01-01T00:00:00.000Z",
  "chain": "base",
  "confidence": 0.95,
  "expires_at": "2026-01-01T00:10:00.000Z",
  "factors": [
    {
      "explanation": "Example oracle-risk factor result.",
      "factor": "oracle_risk",
      "rule_id": "example-oracle-rule",
      "score": 50,
      "status": "evaluated"
    },
    {
      "explanation": "Example liquidity and utilization factor result.",
      "factor": "liquidity_utilization_risk",
      "rule_id": "example-liquidity-rule",
      "score": 50,
      "status": "evaluated"
    },
    {
      "explanation": "Example collateral-configuration factor result.",
      "factor": "collateral_configuration_risk",
      "rule_id": "example-collateral-rule",
      "score": 50,
      "status": "evaluated"
    },
    {
      "explanation": "Example operational-restriction factor result.",
      "factor": "operational_restriction_risk",
      "rule_id": "example-operational-rule",
      "score": 50,
      "status": "evaluated"
    }
  ],
  "fresh_until": "2026-01-01T00:05:00.000Z",
  "freshness_status": "fresh",
  "methodology_version": "v0.1",
  "protocol": "aave-v3",
  "reason": null,
  "risk_level": "moderate",
  "score": 50,
  "status": "OK",
  "unknown_after": null
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402314 ms$0.01
6 h agoPassed402372 ms$0.01
10 h agoPassed402352 ms$0.01
14 h agoPassed402374 ms$0.01
17 h agoPassed402391 ms$0.01
21 h agoPassed402510 ms$0.01
24 h agoPassed402359 ms$0.01
28 h agoPassed402379 ms$0.01
33 h agoPassed402393 ms$0.01