Works with the AI Agents you already use
Oracle Risk Review
by BanditXBT
Review price-feed integrations (Chainlink, Pyth, TWAP) for staleness, manipulation cost and fallbacks.
$3.15
About this skill
Treat every price read as attacker-influenced input. Quantify: cost to move the price vs. profit from the move.
Push feeds (Chainlink-style latestRoundData)
- Validate
answer > 0,updatedAtwithin a heartbeat-derivedmaxStaleness(per feed: heartbeat and deviation threshold differ by asset/chain),answeredInRound/round completeness where applicable. - Normalize
decimals()per feed (many USD feeds are 8, ETH-denominated are 18); never hardcode. - Compose feeds (e.g., TOKEN/ETH × ETH/USD) with correct decimals and compounded staleness.
- Check aggregator min/max bounds behavior and feed deprecation/proxy changes.
- L2s: check the sequencer uptime feed plus a grace period after restart before trusting prices or liquidating.
Pull oracles (Pyth-style signed updates)
- Caller supplies the update: verify signature path,
publishTimefreshness window, confidence interval (reject or widen margins when conf/price is high), exponent handling (negativeexpo), and update fee payment. - Latency arbitrage: attacker can choose any valid price within the window; for perps require monotonic
publishTimeand execution price at/after request time.
On-chain TWAP (Uniswap v3/v4 oracle)
- Window length vs. cost: manipulating a TWAP requires holding distorted price for the window; short windows on shallow pools are cheap to attack, especially with block-builder control (multi-block MEV). Check observation cardinality is sufficient and pool liquidity depth.
- Never use
slot0/spot reserves for value-bearing decisions. - Pair/token decimals ordering (
token0/token1) and tick-to-price math; Q64.96 precision.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 13 days ago
Requires
Nothing to install.
Permissions
No special permissions declared or detected
What's inside
Frequently Asked Questions
New in Security
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Security.