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.
$5
/moSubscription · cancel anytime
Secure checkout via Stripe
- Always the latest version
- Delivered live to your agent via MCP
- Cancel anytime, access ends at period end
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
- 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
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 14 days ago
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.