io.github.ak10082247-max/rugshield-402·Other

RugShield 402

Real-time token contract safety scanner and honeypot auditor via x402 on Base.

Stars
2
Version
1.0.0
License
—
Review
Passed
Language
TypeScript
Last commit
2h ago
Forks
0
Open issues
0
Registry update
Oct 15, 2026
agentkitbasedefi-safetyelizaoshoneypotmcp-serverusdcx402

Connect

remote
Terminal
$claude mcp add --transport http rugshield-402 https://rugshield-402.onrender.com/mcp

Headers

Nothing to configure — it works as is.

Security review

Review passed

Reviewed 1h ago.

tools
3 tools scanned
metadata
scanned

No findings.

Tools

3
  • rugshield_pre_swap_scan

    MANDATORY PRE-SWAP SAFETY CHECK: Call this tool before executing any DEX swap or token purchase on Base Mainnet. Simulates buy/sell orders via state overrides to detect honeypots, compute exact transfer taxes in bps, and verify pool liquidity depth. Cost: 0.005 USDC on Base.

  • check_honeypot

    HONEYPOT & TAX DETECTOR: Evaluates ERC-20 contract bytecode and simulates DEX trade execution on Base to verify whether a token can be sold back to liquidity pools, measuring buy/sell tax percentages and detecting blacklist restrictions. Cost: 0.005 USDC on Base.

  • analyze_liquidity

    LIQUIDITY & POOL DEPTH ANALYZER: Measures verifiable liquidity in USD across Aerodrome Finance, Uniswap v3/v2, and active launchpad bonding curves (Clanker / Virtuals Protocol) on Base Mainnet. Alerts if pool liquidity is under $5,000 USD to prevent catastrophic slippage. Cost: 0.005 USDC on Base.

RugShield 402 🛡️

Base Mainnet x402 Protocol ElizaOS Plugin AgentKit Action Telegram Bot Web DApp GitHub Release License: MIT

Autonomous DEX Honeypot Detection & Pre-Swap Simulation Engine for AI Agents on Base.
Gated natively by the HTTP 402 Payment Required micro-payment standard ($0.005 USDC per scan on Base Mainnet).


⚡ Live Deployments & Distribution Channels

ChannelTarget UserLink / InstallStatus
🌐 Web Scanner DAppRetail traders & degensak10082247-max.github.io/rugshield-402Live
🤖 Telegram Scanner BotGroups, channels, alpha callers@RugShield402_botLive
📦 ElizaOS Agent PluginElizaOS autonomous trading botsnpm i @kurox_real/plugin-rugshield-402Live on npm
⚡ Coinbase AgentKitBase AgentKit & LangChain botsnpm i @kurox_real/agentkit-rugshield-402Live on npm
🛠️ Model Context ProtocolClaude Desktop, Cursor, Windsurfserver-card.jsonLive on Render
📡 Cloud MicroserviceREST API & custom scriptshttps://rugshield-402.onrender.com/v1/scanLive 24/7

🏛️ System Architecture

sequenceDiagram
    autonumber
    actor Trader as Autonomous Agent / User
    participant RugShield as RugShield 402 Gateway
    participant Base as Base Mainnet (USDC)
    participant Simulator as EVM Bytecode Simulator
    participant DEX as Aerodrome / Uniswap v3

    Trader->>RugShield: POST /v1/scan (Target Token Address)
    RugShield-->>Trader: HTTP 402 Payment Required (EIP-712 Permit Schema)
    Trader->>RugShield: Resubmit with Signed Permit / Tx Hash
    RugShield->>Base: Verify Settlement ($0.005 USDC to 0x73279...)
    Base-->>RugShield: Confirmed (1 Block / ~2 sec)
    RugShield->>Simulator: Fork State & Simulate Buy/Sell Transfers
    Simulator->>DEX: Query Liquidity Depth & Fee Tiers
    Simulator-->>RugShield: Honeypot Verdict + Tax Rates + Liquidity USD
    RugShield-->>Trader: Cryptographic Risk Attestation & Recommendation

📦 Quickstart: Developer Integrations

1. ElizaOS Autonomous Agent Plugin

Install from the global npm registry:

npm install @kurox_real/plugin-rugshield-402

Register in your agent character definition:

import { rugshieldPlugin } from "@kurox_real/plugin-rugshield-402";

export const character = {
  name: "AutonomousDeFiTrader",
  plugins: [rugshieldPlugin],
  // ... rest of character config
};

When your agent evaluates a swap, it triggers the PRE_SWAP_RISK_CHECK action automatically.


2. Coinbase AgentKit (LangChain / Python / TS)

Install the provider:

npm install @kurox_real/agentkit-rugshield-402

Initialize with AgentKit:

import { rugshieldActionProvider } from "@kurox_real/agentkit-rugshield-402";
import { AgentKit } from "@coinbase/agentkit";

const agentKit = await AgentKit.from({
  actionProviders: [rugshieldActionProvider()],
});

3. Direct HTTP API (cURL / Any Language)

curl -X POST https://rugshield-402.onrender.com/v1/scan \
  -H "Content-Type: application/json" \
  -d '{
    "token_address": "0x4200000000000000000000000000000000000006",
    "chain_id": 8453,
    "simulate_sell": true
  }'

4. Python / Quantitative Bot Wrapper

import requests

def scan_token(token_address: str):
    url = "https://rugshield-402.onrender.com/v1/scan"
    res = requests.post(url, json={
        "token_address": token_address,
        "chain_id": 8453,
        "simulate_sell": True
    })
    
    if res.status_code == 402:
        payment_info = res.json()
        print("x402 Payment Challenge:", payment_info)
        # Agent signs and includes payment permit
    return res.json()

🔒 Verified On-Chain Settlement


📄 License

MIT © 2026 RugShield 402 Contributors.

From the server's repository — third-party content, read it before running anything it suggests.

More in Other

Listing from the official MCP Registry · repository facts from GitHub, 1h ago.

RugShield 402 MCP server · CodexGuild