DeFi Protocol Risk Check

Before your agent deposits funds into a DeFi protocol, verify the team isn't sanctioned, the domain is legitimate, and the SSL certificate is valid. The off-chain risk layer for on-chain DeFi.

4 steps x402 eligible defi-risk-check

What it runs

  1. SSL Certificate Check

    Source: TLS handshake (X.509 certificate from target server)

  2. Domain Reputation

    Source: Threat intelligence feeds (multi-source scoring)

  3. Sanctions Check

    Source: Dilisense consolidated (OFAC SDN, EU FSF, UN SC, UK Sanctions List, CH SECO, BIS, World Bank, EBRD, ADB + 125 national sanctions/debarment lists; full attribution at https://dilisense.com/en/sources/sanction-sources)

  4. WHOIS Lookup

    Source: WHOIS protocol (ICANN-accredited registrar databases)

The answer returns every step’s result, so your agent can show or check each one.

Inputs

FieldTypeRequiredWhat it is
protocol_urlstringYesDeFi protocol website URL
protocol_namestringYesProtocol name (e.g. Aave, Compound)

How to call it

# Needs an API key. The whole check is charged once, at the listed price.
curl -X POST https://api.strale.io/v1/solutions/defi-risk-check/execute \
  -H "Authorization: Bearer $STRALE_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
    "inputs": {
      "protocol_url": "https://aave.com",
      "protocol_name": "Aave"
    },
    "max_price_cents": 150
  }'

The bundle’s published example input.

Limitations

  • Checks the certificate presented on port 443 only — does not verify non-standard TLS configurations

    From step: SSL Certificate Check

    What to do instead: For services on non-standard ports, use ssl-certificate-chain with the specific hostname:port combination

  • Reputation scores aggregate multiple blocklists — a single listing may not indicate actual malicious activity

    From step: Domain Reputation

    What to do instead: Check which specific blocklist flagged the domain in the response details and verify the listing reason before blocking

  • Blocklist data refreshed daily — recently resolved issues may still show negative reputation for 24-48 hours

    From step: Domain Reputation

    What to do instead: If a domain was recently cleaned, re-check after 48 hours and use the trend direction to assess improvement

  • Sanctions lists updated daily from OFAC, EU, and UN sources — newly sanctioned entities may take up to 24 hours to appear

    From step: Sanctions Check

    What to do instead: For same-day compliance, subscribe to OFAC's RSS feed and cross-reference against today's additions

  • Name matching uses fuzzy logic — common names may produce false positives. Always verify flagged results

    From step: Sanctions Check

    What to do instead: Filter results by match confidence score and verify flagged entities against the primary sanctions list PDF

  • Some registrars rate-limit WHOIS queries — bulk lookups may see slower response times

    From step: WHOIS Lookup

    What to do instead: Batch lookups with 1-2 second delays between requests, or use the RDAP protocol endpoint when available

  • GDPR-redacted registrations (common for EU domains) show limited registrant information

    From step: WHOIS Lookup

    What to do instead: Use the abuse contact email from the WHOIS response to request registrant details through the registrar's disclosure process