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

@grindfree/agent-security-mcp

v0.13.1

Published

MCP server for AI agent security and crypto wallet screening over x402 (USDC on Base): prompt-injection screening, shell/SQL command safety, safe web and PDF reading, human approval, exfiltration gates, wallet balances, and OFAC sanctions / address labels

Readme

@grindfree/agent-security-mcp

stdio MCP server for PromptShield, CrawlSafe, ToolGuard, CommandGuard, MemoryGuard, WireShield, DocShield, SafeRead, DocRead, AskHuman, TrifectaGate, ShipCheck, WalletWatch and AddressCheck (28 tools).

What it does: an MCP server that gives AI agents pay-per-call security checks and crypto wallet screening: prompt-injection screening, shell and SQL command safety before execution, safe web and PDF reading (hidden-text and injection removal), data-exfiltration gates, human-in-the-loop approval, multichain wallet balances, and EVM address screening (OFAC SDN sanctions, USDC/USDT freezes, sourced labels). No API keys; each call settles in USDC on Base via x402.

Version 0.13.1 — on npm (@grindfree/agent-security-mcp) and the MCP Registry (io.github.ronin93/grindfree-agent-security).

Paid tool calls settle x402 (USDC on Base, $0.001–$0.03 per call) using the caller's wallet via X402_PRIVATE_KEY or PRIVATE_KEY. GrindFree keys are never used or accepted.

Run (npx / local)

X402_PRIVATE_KEY=0xYOUR_BASE_USDC_KEY npx -y @grindfree/agent-security-mcp
# or, from this package directory after npm install
X402_PRIVATE_KEY=0xYOUR_BASE_USDC_KEY npx grindfree-agent-security-mcp
# or
node src/index.js

Claude Desktop / Cursor MCP config example:

{
  "mcpServers": {
    "grindfree-agent-security": {
      "command": "npx",
      "args": ["-y", "@grindfree/agent-security-mcp"],
      "env": { "X402_PRIVATE_KEY": "0xYOUR_KEY" }
    }
  }
}

Tools

| Tool | Endpoint | Notes | |---|---|---| | promptshield_screen | POST https://promptshield.grindfree.net/v1/screen | risk + findings + sanitized · $0.002 | | promptshield_clean | POST https://promptshield.grindfree.net/v1/clean | HTML → LLM text | | crawlsafe_check | POST https://crawlsafe.grindfree.net/v1/check | robots / X-Robots-Tag; not malware · $0.001 | | toolguard_evaluate | POST https://toolguard.grindfree.net/v1/evaluate | allow|review|deny; caller must enforce · $0.002 | | commandguard_command | POST https://commandguard.grindfree.net/v1/command | shell command check before execution · $0.001 | | commandguard_sql | POST https://commandguard.grindfree.net/v1/sql | SQL check before execution (read_only, protected tables) · $0.001 | | memoryguard_screen | POST https://memoryguard.grindfree.net/v1/screen | screen before writing to agent memory · $0.002 | | wireshield_scan | POST https://wireshield.grindfree.net/v1/scan | outbound leak check on agent output · $0.002 | | docshield_scan | POST https://docshield.grindfree.net/v1/scan | hidden instructions in PDF/Office/HTML/MD; path reads a local file · $0.004 | | saferead_read | POST https://saferead.grindfree.net/v1/read | fetch a URL as clean Markdown with hidden text + prompt injections removed/flagged; honours robots.txt; SSRF-guarded · $0.002 (only successful reads charged) | | saferead_fetch | POST https://saferead.grindfree.net/v1/fetch | plain read: URL as clean Markdown, no injection screening (use saferead_read for untrusted pages); honours robots.txt · $0.001 | | saferead_read_batch | POST https://saferead.grindfree.net/v1/read-batch | up to 10 URLs as clean Markdown in one call; all-or-nothing (any failure → 424, not charged) · $0.002 per URL | | docread_convert | POST https://docread.grindfree.net/v1/convert | convert PDF to Markdown (also DOCX/XLSX/PPTX/HTML/TXT; url, local path or base64), hidden text + injections removed; include_findings adds DocShield's full scan · $0.003 | | docread_tables | POST https://docread.grindfree.net/v1/tables | tables in PDF/DOCX/XLSX/PPTX/HTML → typed JSON (columns, column types, rows); injected cells replaced · $0.004 | | askhuman_request | POST https://askhuman.grindfree.net/v1/request | ask the human owner to approve/deny/edit one action (ntfy, Slack, Discord, webhook or link) · $0.03 | | askhuman_status | GET https://askhuman.grindfree.net/status/{id} | decision for a request; long-poll with wait · free | | commandguard_check_and_approve | POST https://commandguard.grindfree.net/v1/check-and-approve | optional add-on: CommandGuard check plus a one-tap human approve/deny link (via AskHuman) when the command or SQL is warned or blocked · $0.03 | | saferead_search | POST https://saferead.grindfree.net/v1/search | web search without prompt injection: ranked sources plus the top 3 pages read as clean Markdown, per-page injection flag; search results by You.com · $0.02/search | | saferead_watch | POST https://saferead.grindfree.net/v1/watch | daily change detection: pages read safely, returned as new / changed / unchanged with only added sections; page text never stored · $0.002/URL | | shipcheck_scan | POST https://shipcheck.grindfree.net/v1/check | agent-repo security check for CI: secrets, instruction-file injection, MCP config risks, risky commands, SARIF · $0.01/run | | walletwatch_balances | POST https://walletwatch.grindfree.net/v1/wallet | multi-chain crypto wallet balances with USD values (7 EVM chains, live on-chain, price source per holding, snapshot_id; since=last adds changes) · $0.01 | | walletwatch_changes | POST https://walletwatch.grindfree.net/v1/wallet/changes | what changed in a wallet since the last check: added/removed/changed tokens with USD deltas · $0.01 | | addresscheck_profile | POST https://addresscheck.grindfree.net/v1/address | who is this EVM address: sourced labels, OFAC SDN + USDC/USDT freeze checks, first-seen window and sent-tx activity (7 chains) · $0.02 | | grindfree_quote | POST https://.grindfree.net/quote | free: exact price and budget fit for planned calls · $0 | | trifectagate_check | POST https://trifectagate.grindfree.net/v1/check | session exfiltration gate before any outbound action: allow/review/block · $0.002 | | grindfree_discovery | (local unpaid probes) | well-known / 402 challenge summary |

Daily safe digest recipe

Ask your agent (with this MCP) once a day: "Call saferead_watch with watch_id 'news-digest' on these 10 URLs and summarize only the changes." That is $0.02/day ($0.60/month); unchanged pages return no text, new hidden or injected blocks are removed and counted. A cron / GitHub Actions version without MCP: https://github.com/ronin93/grindfree-agent-security/tree/main/examples/daily-safe-digest

Budgets

grindfree_quote (free) returns the exact USDC cost of planned calls and how many runs a budget buys. Every 402 carries X-Price-USD; only HTTP 2xx is charged.

Honesty

  • Funded settlement + HTTP 200 delivery confirmed by GrindFree self-funded Base USDC tests on every endpoint (not customer usage).
  • Decisions are advisory: your agent/adapter must enforce block/deny.
  • Missing owner policy on ToolGuard → review.