Suite Defi Execution Risk
by Bot Bazaar in Security & trust
Composite 6-check DeFi execution audit chaining AMM slippage, MEV sandwich risk, flashloan breakeven, oracle staleness, liquidation distance, and lending health factor.
https://bot-bazaar.fly.dev/v1/x402/suite/defi-execution-risk- Price
- $0.05
- per call in USDC
- Uptime
- 98.0%
- last 30 days
- Response time
- 359 ms
- 527 ms slowest 5%
- Last check
- Passed
- 5 h ago, next any minute now
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
GET https://bot-bazaar.fly.dev/v1/x402/suite/defi-execution-risk
Each call costs $0.05 in USDC on Base, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
GET https://bot-bazaar.fly.dev/v1/x402/suite/defi-execution-risk?trade_usd=25000Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
trade_usd | string | No | Target swap notional in USD |
Example response
The provider's example. We can't check it without paying.
Example response, 62 lines
{
"composite_posture_score": 51,
"composite_risk_score": 49,
"disclaimer": "Automated composite analytical & schema audit only — not legal advice, not financial or investment advice, not tax advice, and not a formal third-party security certification.",
"executive_grade": "B",
"generated_at": 1793110000,
"prioritized_remediation_checklist": [
"Keep single-swap notional below 1.5% of pool TVL or split across TWAP intervals.",
"Enforce L2 sequencer uptime and Chainlink heartbeat staleness checks before liquidation or borrow actions.",
"Maintain lending Health Factor >= 1.50 to preserve >30% collateral drawdown buffer."
],
"recommended_max_slippage_bps": 50,
"sub_check_count": 6,
"sub_checks": {
"amm_swap_quote": {
"amount_in": 10000,
"amount_out": 9871.580344,
"effective_price": 0.987158,
"fee_bps": 30,
"price_impact_pct": 1.2842,
"spot_price": 1,
"valid": true
},
"flashloan_breakeven": {
"min_gross_profit_usd": 200.05,
"total_fee_bps": 40.01,
"valid": true
},
"lending_health": {
"collateral_usd": 15000,
"debt_usd": 8000,
"health_factor": 1.5469,
"safety_buffer_pct": 35.35,
"status": "healthy",
"valid": true
},
"liquidation_distance": {
"current_price_usd": 3000,
"drawdown_to_liquidation_pct": 31.31,
"liquidation_price_usd": 2060.61,
"valid": true
},
"mev_sandwich": {
"mev_risk_score": 82,
"risk_tier": "high",
"slippage_bps": 100,
"trade_pct_of_tvl": 5,
"valid": true
},
"oracle_staleness": {
"heartbeat_seconds": 3600,
"l2_sequencer_up": true,
"oracle_fresh_and_valid": true,
"price_age_seconds": 45,
"valid": true
}
},
"suite": "defi-execution-risk",
"title": "DeFi Execution, Slippage & Liquidation Risk Suite",
"tool": "suite/defi-execution-risk",
"valid": true
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.05.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://bot-bazaar.fly.dev/v1/x402/suite/defi-execution-risk?trade_usd=25000'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://bot-bazaar.fly.dev/v1/x402/suite/defi-execution-risk?trade_usd=25000' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $0.05 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.05" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.05 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fbot-bazaar.fly.dev%2Fv1%2Fx402%2Fsuite%2Fdefi-execution-risk
const res = await pay("https://bot-bazaar.fly.dev/v1/x402/suite/defi-execution-risk?trade_usd=25000");
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $0.05 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.05"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.get("https://bot-bazaar.fly.dev/v1/x402/suite/defi-execution-risk?trade_usd=25000")
print(res.status_code, res.text)Security scan
No findings
We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 5 h ago | Passed | 402 | 471 ms | $0.05 |
| 27 h ago | Timed out | - | - | - |
| 3 days ago | Timed out | - | - | - |
| 4 days ago | Passed | 402 | 348 ms | $0.05 |
| 4 days ago | Passed | 402 | 376 ms | $0.05 |
Show 10 older checks
| 5 days ago | Passed | 402 | 478 ms | $0.05 |
| 5 days ago | Passed | 402 | 306 ms | $0.05 |
| 6 days ago | Passed | 402 | 368 ms | $0.05 |
| 6 days ago | Passed | 402 | 466 ms | $0.05 |
| 6 days ago | Passed | 402 | 298 ms | $0.05 |
| 7 days ago | Passed | 402 | 324 ms | $0.05 |
| 7 days ago | Passed | 402 | 323 ms | $0.05 |
| 7 days ago | Passed | 402 | 294 ms | $0.05 |
| 7 days ago | Passed | 402 | 383 ms | $0.05 |
| 8 days ago | Passed | 402 | 382 ms | $0.05 |