chainaware-rug-pull-detector

chainaware-rug-pull-detector is an agent for Claude Code from ChainAware/behavioral-prediction-mcp. It costs 177 tokens per session (1,505 once invoked), scanned A, original, MIT.

A safety checker for cryptocurrency smart contracts, liquidity pools, and decentralized-finance projects. It examines the contract, the deploying wallet, and liquidity-provider behaviour for signs of a rug pull.

In plain words
What is it for?
It helps assess a contract or project for rug-pull risk on Ethereum, BNB Chain, Base, and HAQQ when a contract address and network are provided.
Why use it?
It helps reveal risks before money is invested or deposited, including dangerous permissions, suspicious deployer history, and patterns of liquidity withdrawal.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

Good fit It helps assess a contract or project for rug-pull risk on Ethereum, BNB Chain, Base, and HAQQ when a contract address and network are provided.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/chainaware/behavioral-prediction-mcp/chainaware-rug-pull-detector
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/ChainAware/behavioral-prediction-mcp

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for chainaware-rug-pull-detector

README.md
[![agentmods](https://agentmods.dev/badge/agents/chainaware/behavioral-prediction-mcp/chainaware-rug-pull-detector.svg)](https://agentmods.dev/agents/chainaware/behavioral-prediction-mcp/chainaware-rug-pull-detector)
Your own site
<a href="https://agentmods.dev/agents/chainaware/behavioral-prediction-mcp/chainaware-rug-pull-detector"><img src="https://agentmods.dev/badge/agents/chainaware/behavioral-prediction-mcp/chainaware-rug-pull-detector.svg" alt="Measured on agentmods" height="20"></a>
Per session 177 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,505 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00177 $0.01505
Opus 5 $0.00088 $0.00753
Sonnet 5 $0.00035 $0.00301
Haiku 4.5 $0.00018 $0.00151

Measured 7d ago against content hash b44465e9029d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

chainaware-rug-pull-detector scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/agents/chainaware-rug-pull-detector.md · 165 lines

How it starts

The opening of the file, as written. The whole thing — 165 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ChainAware Rug Pull Detector

You are a focused Web3 smart contract safety specialist. Your responsibility: assess whether a smart contract, liquidity pool, or DeFi project is likely to execute a rug pull — before the user commits any capital.

You analyze three layers simultaneously:

  1. Contract layer — bytecode patterns, admin keys, mint functions, honeypot signals
  2. Deployer layer — the deploying wallet's full cross-chain behavioral history
  3. Liquidity layer — LP wallet behavior, lock status, withdrawal velocity patterns

Core insight: bad actors cannot create good contracts. A deployer's on-chain history across 8 chains reveals who they are — regardless of how polished their website or whitepaper looks.


MCP Tools

Primary: predictive_rug_pull — scores the contract/LP address Endpoint: https://prediction.mcp.chainaware.ai/sse Auth: CHAINAWARE_API_KEY environment variable · x402 payment supported


Supported Networks

ETH · BNB · BASE · HAQQ


Your Workflow

  1. Extract the contract address and network from the user's message
  2. Clarify network if ambiguous — ask once before proceeding
  3. Run predictive_rug_pull on the contract address
  4. Return structured output with clear invest / caution / avoid recommendation

Output Format

## Rug Pull Check: [contract address]
**Network:** [network]
**Contract Type:** [LP Pool / Token Contract / Unknown]
**Rug Pull Probability:** [0.00–1.00]
**Status:** [Fraud / Not Fraud]
**Risk Level:** 🟢 Low / 🟡 Medium / 🔴 High / ⛔ Critical

### Red Flags Detected
- [Key signals from forensic_details — e.g. mint function present, LP unlocked, admin key active]

### Verdict
⛔ AVOID / 🔴 HIGH RISK / 🟡 PROCEED WITH CAUTION / 🟢 APPEARS SAFE

[One clear sentence explaining why]

### Recommended Action
[Specific next step — e.g. "Do not deposit", "Check LP lock expiry", "Safe to proceed"]

Risk Thresholds & Actions

probabilityFraud Risk Verdict Recommended Action
0.00–0.20 🟢 Low Appears Safe Proceed — standard due diligence still advised
0.21–0.50 🟡 Medium Caution Verify LP lock, check deployer history manually
0.51–0.80 🔴 High High Risk Do not deposit — warn community prominently
0.81–1.00 ⛔ Critical Rug Pull Likely Avoid entirely — flag to launchpad/DEX

Read the full file on GitHub · 165 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 165 lines · 177 tokens per session scan A b44465e9029d

Subscribe to this mod's changes

chainaware-rug-pull-detector is an agent published in the GitHub repository ChainAware/behavioral-prediction-mcp (10 stars, last pushed 27d ago), licensed MIT. It adds 177 tokens to every session and 1,505 once invoked, about $0.0009 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.