npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

agentshield-mcp

v2.1.1

Published

AgentShield MCP server — real-time smart contract security for AI agents. Verify contracts for honeypots, rug pulls, and risks via x402 micropayments.

Readme

AgentShield MCP Server

Trust no contract. Verify before you transact.

Real-time smart contract security for autonomous AI agents. 19 MCP tools covering contract verification, wallet monitoring, drain detection, threat reporting, and competitive leaderboards. Supports Ethereum, Base, Polygon, Arbitrum, Optimism, BSC, Avalanche, and Solana.

npm version License: MIT

Install

npx agentshield-mcp

Usage with Claude Desktop

{
  "mcpServers": {
    "agentshield": {
      "command": "npx",
      "args": ["agentshield-mcp"]
    }
  }
}

Usage with Claude Code

claude mcp add agentshield -- npx agentshield-mcp

19 MCP Tools

Core Security (free tier: 10 verify + 5 scan + 2 deep per day)

| Tool | Description | |------|-------------| | verify_contract | Quick safety check — honeypots, rug pulls, high taxes, hidden ownership. $0.001 via x402. | | scan_contract | Full threat scan: 14+ checks including mint authority, freeze authority, proxy backdoors, liquidity traps, holder concentration. | | deep_scan | Forensic analysis: bytecode patterns, ownership graph, exploit matching, risk breakdown. | | verify_batch | Verify up to 50 contracts at once (API key required). | | contract_diff | Compare two snapshots of a contract — detect proxy upgrades, permission changes. |

Wallet Protection

| Tool | Description | |------|-------------| | monitor_wallet | Real-time drain detection. Fires webhook + auto-freezes all agent wallets on suspicious drop. | | freeze_wallet | Emergency freeze all wallets for an agent. Stops transaction signing instantly. | | get_alerts | Recent drain alerts and threat notifications for a wallet. |

Community & Intelligence

| Tool | Description | |------|-------------| | report_threat | Report a malicious contract. 3+ reports auto-flag it. Earns +50 bonus API calls. | | get_reputation | Community reputation score for any contract based on verified reports. | | register_webhook | Get notified on proxy upgrades, ownership transfers, liquidity removal. | | get_dashboard | Your API usage, billing, active webhooks, and alerts. | | get_stats | Platform-wide stats: contracts verified, threats blocked, wallets monitored. |

Leaderboard & Social

| Tool | Description | |------|-------------| | get_leaderboard | Race to 1M verifications. Free + paid users compete. Top 10 win $500 USDC. | | set_agent_name | Set your agent's display name on the leaderboard. | | get_giveaway | View active giveaways (paid subscribers only). | | enter_giveaway | Enter a giveaway. Builder = 10x tickets, Pro = 5x, Starter = 1x. | | create_referral | Generate a referral code. Earn 20% commission on referrals. | | redeem_referral | Redeem a referral code for bonus API calls. |

Threat Detection

AgentShield detects 14+ threat types:

  • Honeypot contracts (can buy, can't sell)
  • Rug pulls (liquidity removal patterns)
  • Hidden mint functions (infinite supply risk)
  • Freeze authority (owner can freeze your tokens)
  • Proxy backdoors (upgradeable to malicious code)
  • Tax manipulation (extreme buy/sell fees)
  • Blacklist functions (owner can block wallets)
  • Self-destruct capability
  • Hidden ownership transfers
  • External call exploits
  • Creator token concentration
  • Low/fake liquidity
  • Sell suppression patterns
  • Brand new unverified contracts

Supported Chains

Ethereum, Base, Polygon, Arbitrum, Optimism, BSC, Avalanche, Solana

Payment

AgentShield uses x402 micropayments — pay per call, no signup required.

| Tier | Price | Calls | |------|-------|-------| | Free | $0 | 10 verify + 5 scan + 2 deep per day | | Pay-per-call | $0.001 | Unlimited (x402 USDC on Base or SOL) | | Starter | $4.99/mo | 5,000 calls | | Pro | $19.99/mo | 100,000 calls + unlimited deep scans + webhooks | | Builder | $49.99/mo | Unlimited everything |

Solana: 500 lamports to 7ci48VmgPTyEoqQCW2yb9HHEC8qDEK9gGbGoBV1GfHDf Base USDC: $0.001 to 0x4BBc455ff6bA13682feC3b5F0261520b28C19e1c

JS SDK

npm install agentshield-js
import { AgentShield } from 'agentshield-js';
const shield = new AgentShield();
const result = await shield.verify('0x...', 'ethereum');
if (result.is_honeypot) console.log('DANGER: Honeypot detected!');

API

Full REST API at agentshield.win

License

MIT