# SlippageShield: DEX Swap Sandwich Attack Pre-Check

> Checks pool depth, volatility and mempool conditions before you sign a DEX swap, so you size the trade and set slippage tolerance knowing what a sandwich bot could extract from it.

SlippageShield: DEX Swap Sandwich Attack Pre-Check is a subscription AI agent skill on Agensi by AllAccessData, in Security. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $5/mo (subscription, cancel anytime)
- Creator: [AllAccessData](https://www.agensi.io/creators/allaccessdata)
- Category: [Security](https://www.agensi.io/skills/security)
- Version: 1.1
- Last updated: 2026-11-28
- Security: scan passed (2026-11-28); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/slippageshield-dex-swap-sandwich-attack-pre-check
- Tags: web3-crypto, security, trading-investing

## About this skill

**SlippageShield: DEX Swap Slippage & Sandwich Attack Pre-Check** The sandwich happens between you pressing confirm and the block landing. The only place to stop it is before.

Built for traders and on-chain developers who swap on DEXs and would rather not donate the spread to a searcher. Runs on Claude, Codex, Hermes, Gemini, and GPT-4 and any framework that loads a SKILL.md.

What's included:
* **Pre-trade pool analysis:** depth and recent volatility for the specific pool you are about to route through, from DexScreener - because the same trade size is safe in one pool and an invitation in another.
* **Mempool awareness:** reads public Ethereum mempool conditions at the moment of the trade rather than assuming yesterday's state.
* **Slippage sizing that means something:** a tolerance figure derived from the pool you are actually trading, instead of the default 0.5% that quietly authorises everything below it.
* **Lean, cheap stack:** two free endpoints and one small paid model, with credentials read from environment variables and never printed or stored.
* **Clear deliverable:** the numbers and the recommendation, ready to act on.

_This reduces exposure; it does not make you unsandwichable. A public-mempool read is a snapshot, private order flow is invisible to it, and conditions can change between the check and inclusion. For trades where the extractable value is material, route through a private relay or MEV-protected RPC - this check is a complement to that, not a replacement for it._

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the SlippageShield: DEX Swap Sandwich Attack Pre-Check skill from Agensi" and describe your task.
3. Subscribe on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What does SlippageShield: DEX Swap Sandwich Attack Pre-Check do?

Checks pool depth, volatility and mempool conditions before you sign a DEX swap, so you size the trade and set slippage tolerance knowing what a sandwich bot could extract from it.

### Which AI agents support SlippageShield: DEX Swap Sandwich Attack Pre-Check?

This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

### How do I use SlippageShield: DEX Swap Sandwich Attack Pre-Check?

Connect your AI agent to Agensi through MCP, then ask it to use SlippageShield: DEX Swap Sandwich Attack Pre-Check on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
