# ERC-4337 Paymaster Gas Sponsorship Auditor

> Reviews a paymaster's sponsorship policy for the ways a treasury gets drained - unbounded UserOp validation, missing per-user limits, token-swap mispricing - and specifies the circuit breakers.

ERC-4337 Paymaster Gas Sponsorship Auditor 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.0
- Last updated: 2026-11-20
- Security: scan passed (2026-11-20); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/erc-4337-paymaster-gas-sponsorship-auditor
- Tags: web3-crypto, security, code-quality-review

## About this skill

**ERC-4337 Paymaster Gas Sponsorship Auditor** Sponsoring gas is how you stop losing users at the first transaction. It is also how you hand an attacker a faucet, if the policy has a hole in it.

Built for teams running an ERC-4337 paymaster in production or about to fund one. Runs on Claude, Codex, Hermes, Gemini, and GPT-4 and any framework that loads a SKILL.md.

What's included:
* **UserOp validation review:** what your paymaster accepts and on what evidence - the single place where a permissive condition becomes an open treasury.
* **Gas drain defence:** per-user and per-period caps, rate limits and circuit breakers, with the thresholds reasoned from your funding rather than copied from a template.
* **Token-swap sponsorship logic:** where users pay gas in an ERC-20, the pricing and slippage assumptions that decide whether you are subsidising a little or a lot.
* **Bundler telemetry:** live UserOp data via the Alchemy bundler RPC, so the review reflects what is hitting your paymaster now.
* **Deliverable:** a paymaster gas policy specification with the validation contract logic, the sponsorship rules and the breakers, as diffs and checklists.
* Optional delivery to a Telegram bot for ongoing balance and attack-vector alerts.

_This is a design and policy review, not a formal security audit. It reasons about your sponsorship rules; it does not prove your deployed bytecode is safe, and a paymaster holding real funds should go through a proper audit before it does._

_One specification detail that catches teams out: paymaster validation runs under ERC-4337's storage and opcode restrictions, so policy logic that reads arbitrary state or depends on banned opcodes will be rejected by bundlers even though it compiles and tests fine locally. Any rule proposed here still has to fit inside `validatePaymasterUserOp`'s constraints - check it against your bundler's rules before you rely on 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 ERC-4337 Paymaster Gas Sponsorship Auditor 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 ERC-4337 Paymaster Gas Sponsorship Auditor do?

Reviews a paymaster's sponsorship policy for the ways a treasury gets drained - unbounded UserOp validation, missing per-user limits, token-swap mispricing - and specifies the circuit breakers.

### Which AI agents support ERC-4337 Paymaster Gas Sponsorship Auditor?

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 ERC-4337 Paymaster Gas Sponsorship Auditor?

Connect your AI agent to Agensi through MCP, then ask it to use ERC-4337 Paymaster Gas Sponsorship Auditor 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.
