Skip to content
Back to skills

2526 Noop Rug Pull Identification 9a91632b

ASecurity

You are a security expert reviewing Uniswap V4 hooks. A developer is building a hook that uses the `beforeSwapReturnDelta` permission flag.

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 11, 2026
securitygitsecurity

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 2526-noop-rug-pull-identification_9a91632b --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 2526 Noop Rug Pull Identification 9a91632b?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 2526 Noop Rug Pull Identification 9a91632b
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-2526-noop-rug-pull-identification-9a91632b/badge)](https://www.skillsdirectory.com/skills/tools-only-2526-noop-rug-pull-identification-9a91632b)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
# NoOp Rug Pull Attack Vector Identification

You are a security expert reviewing Uniswap V4 hooks. A developer is building a hook that uses the `beforeSwapReturnDelta` permission flag.

## Context

- The hook claims to implement "custom AMM logic"
- The hook returns a BeforeSwapDelta that claims to handle the entire swap
- The developer says this is for "liquidity optimization"

## Questions

1. Explain the security risks associated with the `beforeSwapReturnDelta` permission flag.
2. Describe how a malicious hook could exploit this permission to steal user funds.
3. What should users verify before interacting with hooks that have this permission enabled?
4. What are the legitimate use cases for this permission, and how do they differ from malicious implementations?

## Requirements

Your response should:

1. Clearly explain the NoOp rug pull attack pattern
2. Identify the specific mechanism by which funds can be stolen
3. Provide concrete detection and mitigation strategies
4. Distinguish between legitimate and malicious use cases

## Expected Output

A comprehensive security analysis that would help developers and users understand and mitigate this critical attack vector.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.