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

bug-bounty-intelligence-mcp

v1.0.5

Published

MCP server for AI-powered smart contract security analysis. $5 USDC/scan via x402. Drawn from 27,681 Sherlock/Code4rena submissions, verified acceptance rates from 1,032 exact-reconciled findings. Includes a free, standalone dataset (vulnerability-accepta

Readme

Bug Bounty Intelligence: MCP Server

AI-powered smart contract security analysis for AI agents and developers.

Update, 24 October 2026, later the same day: version 2 of the scan

The defects described below were fixed and the new version is live. What changed: git submodules are fetched when they point to github.com, tests, mocks, scripts, interfaces and vendored libraries are left out, files are ranked by how likely they move funds and sent in at most six parts, every report states how much of the in-scope code was read, a scan without hypotheses is delivered as such and not as a normal report, hypotheses that name files or functions that are not in the code are dropped, and file links inside a repository are never followed. A free precheck at https://x402.tokenizen.nl/api/bug-intel/precheck?repo=owner/name says before you pay whether the scan counts any Solidity in your repository and roughly how much of it will be read.

The measurement of this version was pre-registered before it ran: PREREGISTRATION-v2-2026-10-24.md. The frozen files are in pipeline/v2.

Result, in RESULTS-v2-2026-10-24.md: none of the 40 known High and Medium findings was found, 0 of 31 on the four contests of the first run and 0 of 9 on three new contests, while 29 percent of the in-scope code was read (8 to 100 percent per contest). 15 of the 40 known findings sit in a file that was read, and none of those was found. The scan produces hypotheses to review by hand. It has not been shown to find the issues that audit contests reward.

Correction and limits (24 October 2026, before version 2)

Reading the production scan code on 24 October 2026 showed that earlier text on this page overstated what the paid scan does. What it does today:

  • It sends the model at most about 22,000 characters of Solidity source per job, taken from up to 60 files in directory order, and it does not skip test or mock folders. On three recent audit-contest repositories (code-423n4/2025-11-merkl, 2025-11-sukukfi and 2026-04-monetrix) that is 3 to 7 percent of the Solidity source.
  • The 7-gate filter is not part of the paid scan. It was taken out because the small model also eliminated real bugs. The report lists raw hypotheses with a self-reported confidence of 0.4 or higher, at most eight, and its disclaimer says so.
  • The sample below ran on a repository that belongs to the corpus the framework was built from. It does not show how the scan does on projects it has not seen, and its label "CONFIRMED by Al-Mizaan validation" does not apply to the scan as it runs today.
  • We have not measured how many real bugs the scan finds on contests it has not seen. A test on closed audit contests is pre-registered in PREREGISTRATION-2026-10-24.md. The baseline ran on 24 October 2026: 0 of 31 findings found, 2 hypotheses reported and neither matches, one job failed and two reports were empty. See RESULTS-2026-10-24.md. Until a changed version is pre-registered and measured, do not read this scan as something that finds bugs on projects it has not seen.

Official source: this repository and the payment address in the payment section below are the only official ones for Bug Bounty Intelligence. If a listing, a reply or a website gives a different payment address, it is not ours. Check the address against the one below before you pay.

Drawn from a corpus of 27,681 submitted findings across 105 Sherlock and Code4rena contests. Cost: $5 USDC on Base (eip155:8453) via x402. Free tool: list_vulnerability_patterns, no payment needed.

list_vulnerability_patterns' acceptance-rate numbers are computed only from the subset where results could be exactly reconciled against Sherlock's own published outcomes: 1,032 findings across 10 contests. We'd rather show fewer, verified numbers than a bigger set we can't stand behind. See METHODOLOGY.md for exactly why, and how to reproduce it.

Free dataset: no server, no MCP, no payment

vulnerability-acceptance-rates.json is the same data list_vulnerability_patterns serves, as a static file. No API call, no account, no network dependency at all. Download it, or copy it into your own tool's rule set. CC0 licensed, use it however you want, credit optional.

curl -sO https://raw.githubusercontent.com/holistis/bug-bounty-intelligence-mcp/main/vulnerability-acceptance-rates.json

If you're building a local-first / offline security scanner and the paid scan_contract tool below isn't a fit for your project's architecture, this file might still be useful on its own.

Just want pattern search, nothing paid? Use 3ilm-mcp instead

3ilm-mcp is a smaller, free-only MCP server built from the same verified dataset. It has no paid tier at all, just pattern search (search_vulnerabilities, get_pattern_details, list_patterns). Use this repo (bug-bounty-intelligence-mcp) if you also want the paid scan_contract scan; use 3ilm-mcp if you only ever wanted the free lookup tools and prefer the lighter package.

Two more tools in the same Al-Mizaan toolkit, for the rest of the workflow: al-mizaan-judge is a local CLI that pressure-tests a candidate finding through the same 7-gate framework before you submit it, and DeFi Signal API exposes the same vuln-search/bug-intel routes as a pay-per-call HTTP API for anyone who wants this outside MCP.

Benchmark: vs Slither

See the full benchmark →

On 3FLabs/grunt (ERC-4626 + Morpho vaults, 218 contracts): Slither reports 27 "High" findings. After analysis: 24 are in lib/solady (out-of-scope dependency with known Slither false positive patterns), and 3 are EIP-712 design patterns. False positive rate: 100%.

In that comparison Bug Bounty Intelligence was pointed at src/ only. The paid scan now leaves out tests, mocks, scripts, interfaces and vendored libraries by rule. It does not run the 7-gate filter.

We also reported a related divide-before-multiply pattern on the same lib/solady code directly to the Slither project: crytic/slither#3039. A maintainer merged a fix for part of it (crytic/slither#3040); see BENCHMARK.md for the honest scope of what that fix does and doesn't cover, we overclaimed in the original report.

What it does

Submit a public GitHub repo containing Solidity smart contracts. Receive a report of AI-generated hypotheses, usually within the hour, that states how much of the code was read (see the update and the limits at the top of this page).

Tools

| Tool | Description | Cost | |------|-------------|------| | scan_contract | Submit repo for security analysis | $5 USDC | | get_scan_report | Poll status and get report URL | Free | | list_vulnerability_patterns | Show acceptance rates from exact-reconciled Sherlock contests | Free |

Quick start (Claude Desktop / Claude Code)

Also listed in PuPu's MCP store as of release v0.1.11 (registration issue).

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "bug-bounty-intelligence": {
      "command": "npx",
      "args": ["-y", "bug-bounty-intelligence-mcp@latest"]
    }
  }
}

Or run directly:

npx -y bug-bounty-intelligence-mcp@latest

Payment

If scan_contract returns PAYMENT REQUIRED, send exactly $5 USDC on Base to the address shown, then retry. Payment = acceptance of service terms.

x402 info:

  • Network: Base mainnet (eip155:8453)
  • Amount: 5,000,000 (= 5 USDC, 6 decimals)
  • Asset: 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 (USDC)
  • Wallet: 0x015Eb036560216B3051339061FF68A207E0fe88f

The wallet address can change. Always pay the address scan_contract actually returns in its PAYMENT REQUIRED response, not a copy of this README. This document is updated when the address changes, but the live tool response is the source of truth.

Example session

> list_vulnerability_patterns({ protocol_type: "LENDING" })

Vulnerability patterns for LENDING protocols (from Sherlock audit findings, exact-reconciled contests only):

oracle-manipulation      36% accepted (131 cases)
liquidation              29% accepted (14 cases)
staleness                49% accepted (174 cases)
rounding                 40% accepted (63 cases)
flash-loan               46% accepted (13 cases)
access-control           47% accepted (74 cases)

> scan_contract({ repo_url: "https://github.com/myprotocol/contracts", protocol_type: "LENDING" })

PAYMENT REQUIRED to start the scan.

Amount:  5.00 USDC
Network: Base mainnet (eip155:8453)
Pay to:  0x015Eb036560216B3051339061FF68A207E0fe88f
Asset:   USDC — 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

After paying, retry scan_contract with the same repo_url.

Sample scan output

Real scan of sherlock-audit/2025-03-crestal-network (Derivatives protocol, 29 contracts):

Summary: 0 Critical  |  1 High  |  0 Medium  |  0 Low
Analyzed: 29 contracts  |  Model: qwen2.5:7b  |  Duration: 25min

FINDING #1 — HIGH
Title:    Owner Can Arbitrarily Set Payment Addresses
File:     Blueprint.sol
Functions: setCreateAgentTokenCost, setUpdateCreateAgentTokenCost,
           addPaymentAddress, removePaymentAddress
Category: ACCESS

Description:
  The owner can arbitrarily set payment addresses and costs without
  any external validation or timelock.

Attack path:
  An attacker with ownership calls setCreateAgentTokenCost or
  addPaymentAddress to modify fees or redirect user payments to
  an attacker-controlled wallet.

Impact:
  Extremely high costs (griefing) or redirection of user funds.

Recommendation:
  Implement a governance mechanism or timelock to restrict fee
  and address changes.

Confidence: 0.90 (CONFIRMED by Al-Mizaan validation)

About the analysis

The Al-Mizaan v3 framework defines 7 gates:

  1. Code reading (literal, not docs)
  2. Reachability chain (entry to exploit)
  3. Threat model (who can trigger it)
  4. Invariant breach (what rule is violated)
  5. Protocol intent (was this intended?)
  6. Impact (real financial damage)
  7. Formal proof (reproducible PoC)

This is the framework used for manual review (the al-mizaan-judge CLI). The paid scan does not run it end to end, see the correction at the top of this page.

Service info

  • API endpoint: https://x402.tokenizen.nl/api/bug-intel
  • Free precheck: https://x402.tokenizen.nl/api/bug-intel/precheck?repo=owner/name
  • Terms: https://x402.tokenizen.nl/terms
  • Delivery: usually within the hour, at most 48 hours according to the terms
  • If it fails or does not help: write to [email protected] with the job id for a new attempt or a refund, see the terms
  • Source code: deleted after analysis

Support this project

This is a free, open-source MCP server maintained in my spare time. If it caught something useful before you shipped, tips are welcome and appreciated (never expected):

0xdffcC75a674257be6FE1b5549FE52e8f8a6A3A5A (USDC, Base)