Skip to content
Back to search

ingravity-security

Autonomous 5-EVM Web3 Security Swarm v3.13.0: $0.01 Fast-Ping, $0.04/$0.12 Direct 0x Honeypot Scanner, Pre-Flight Firewall, MCP & x402 v2 Base USDC.

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today

Check it deeper on your machine

It has changed since its scan on 20 Nov 2026.

As a Claude Code plugin, install it and then ask Claude Code:

/plugin marketplace add keithmackay/mackayi/plugin install scanskillsafety@mackayiDo a deep scan of https://github.com/DMS1979/ingravity-security with scanskillsafety

Or from a terminal, clone it and run it:

git clone https://github.com/keithmackay/scanskillsafety-skill ~/.claude/skills/scanskillsafetynode ~/.claude/skills/scanskillsafety/cli.cjs --deep 'https://github.com/DMS1979/ingravity-security'

It checks the exact commit: every file, its packages against OSV (api.osv.dev), how it compares with this page's scan (findsafeskills.com receives the repository's address), and, if you agree, Claude reading every file with your own Claude subscription. It never runs the code.

Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/dms1979--ingravity-security/badge.svg)](/listings/dms1979--ingravity-security)

HTML

<a href="/listings/dms1979--ingravity-security"><img src="/api/listings/dms1979--ingravity-security/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

Option 1: Docker

docker build -t ingravity-security-mcp .
docker run -i --rm ingravity-security-mcp

Option 2: Claude Desktop / Cursor / Windsurf (`npx`)

Add this entry to your MCP client configuration (`claude_desktop_config.json` or `.cursor/mcp.json`):

{
  "mcpServers": {
    "ingravity-security": {
      "command": "npx",
      "args": ["-y", "-p", "ingravity-security@1.3.2", "ingravity-mcp"],
      "env": {
        "INGRAVITY_AGENT_BUDGET": "0.10"
      }
    }
  }
}

Optional Environment Variables

| Variable | Description | | :--- | :--- | | `INGRAVITY_API_URL` | Override the default Ingravity REST API v1 base URL. | | `INGRAVITY_AGENT_BUDGET` | Optional maximum USDC spend cap per call (`X-Agent-Budget`). | | `INGRAVITY_PAYMENT_SIGNATURE` | Base64 EIP-3009 x402 v2 `PAYMENT-SIGNATURE` authorization. | | `INGRAVITY_TX_HASH` | Optional settled Base USDC transfer hash (`X-TX-HASH`). | | `INGRAVITY_RECEIPT_TOKEN` | Optional reusable session receipt token (`X-Ingravity-Receipt-Token`). |

---

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 128 lines
  1. # Ingravity Security MCP Server (`ingravity-security`)
  2. Self-contained, zero-dependency **Model Context Protocol (`MCP 2025-06-18`) STDIO Server** implemented in Node.js (`mcp.js`) for 5-EVM Web3 pre-flight security, EVM calldata structural decoding, ERC-8021 Base Builder attribution, live RPC token honeypot scanning, BigInt DeFi MEV slippage math, and 24-vector Solidity auditing across **Base (`8453`)**, **Arbitrum (`42161`)**, **Optimism (`10`)**, **Polygon (`137`)**, and **Ethereum (`1`)**.
  3. [![npm version](https://img.shields.io/badge/npm-1.3.2-blue.svg)](https://www.npmjs.com/package/ingravity-security)
  4. [![Listed on mcpservers.org](https://mcpservers.org/badge.svg)](https://mcpservers.org/servers/dms1979/ingravity-security)
  5. [![Glama MCP Server](https://glama.ai/mcp/servers/DMS1979/ingravity-security/badges/score.svg)](https://glama.ai/mcp/servers/DMS1979/ingravity-security)
  6. [![MCP Spec](https://img.shields.io/badge/MCP-2025--06--18-6366F1.svg)](https://modelcontextprotocol.io)
  7. [![Network](https://img.shields.io/badge/Network-Base%20Mainnet%20(8453)-0052FF.svg)](https://basescan.org)
  8. [![Settlement](https://img.shields.io/badge/Settlement-x402%20v2%20USDC-10B981.svg)](https://www.x402.org)
  9. ---
  10. ## Architecture & Implementation
  11. This repository contains the complete, runnable **STDIO MCP Server (`mcp.js`)** packaged with a minimal Node 22 Alpine `Dockerfile`:
  12. * **Local MCP `2025-06-18` Protocol Engine (`mcp.js`):** Natively implements `initialize`, `ping`, `tools/list`, `tools/call`, `resources/list`, `resources/read`, `prompts/list`, and `prompts/get` over JSON-RPC 2.0 STDIO with zero external runtime dependencies.
  13. * **Local Deterministic Web3 Tools (Zero Network Required):**
  14. * `ingravity_encodeErc8021Calldata` — Validates hexadecimal EVM calldata locally and idempotently appends the Base ERC-8021 attribution suffix (`bc_i26d7owr`).
  15. * `ingravity_decodeEvmCalldataSelector` — Structurally decodes standard 4-byte EVM selectors (`approve`, `transfer`, `transferFrom`, `setApprovalForAll`, `permit`, `Permit2`, `multicall`) and raw 32-byte ABI words locally.
  16. * **Local Input Validation & Session Receipt Caching:** Strictly validates EVM addresses, chain IDs, and required schemas locally (`-32602` JSON-RPC errors) and caches HMAC session receipts (`X-Ingravity-Receipt-Token`) to prevent duplicate spend.
  17. * **Ingravity x402 v2 REST API Integrations (`/api/v1/*`):** Dispatches paid security analysis calls to the Ingravity verification backend settling per-call in Native Base USDC (`eip155:8453`) with zero API keys or subscriptions.
  18. ---
  19. ## Quickstart (Run Locally via Docker or NPX)
  20. ### Option 1: Docker
  21. ```bash
  22. docker build -t ingravity-security-mcp .
  23. docker run -i --rm ingravity-security-mcp
  24. ```
  25. ### Option 2: Claude Desktop / Cursor / Windsurf (`npx`)
  26. Add this entry to your MCP client configuration (`claude_desktop_config.json` or `.cursor/mcp.json`):
  27. ```json
  28. {
  29. "mcpServers": {
  30. "ingravity-security": {
  31. "command": "npx",
  32. "args": ["-y", "-p", "ingravity-security@1.3.2", "ingravity-mcp"],
  33. "env": {
  34. "INGRAVITY_AGENT_BUDGET": "0.10"
  35. }
  36. }
  37. }
  38. }
  39. ```
  40. ### Optional Environment Variables
  41. | Variable | Description |
  42. | :--- | :--- |
  43. | `INGRAVITY_API_URL` | Override the default Ingravity REST API v1 base URL. |
  44. | `INGRAVITY_AGENT_BUDGET` | Optional maximum USDC spend cap per call (`X-Agent-Budget`). |
  45. | `INGRAVITY_PAYMENT_SIGNATURE` | Base64 EIP-3009 x402 v2 `PAYMENT-SIGNATURE` authorization. |
  46. | `INGRAVITY_TX_HASH` | Optional settled Base USDC transfer hash (`X-TX-HASH`). |
  47. | `INGRAVITY_RECEIPT_TOKEN` | Optional reusable session receipt token (`X-Ingravity-Receipt-Token`). |
  48. ---
  49. ## MCP Tools Catalog (9 Tools)
  50. ### Local Deterministic Utilities (No Network Required)
  51. | Tool Name | Execution | Description |
  52. | :--- | :--- | :--- |
  53. | `ingravity_encodeErc8021Calldata` | **Local** | Validates EVM hex calldata and idempotently appends Base ERC-8021 suffix (`bc_i26d7owr`). |
  54. | `ingravity_decodeEvmCalldataSelector` | **Local** | Structurally decodes 4-byte EVM selectors and 32-byte ABI arguments (no risk verdict). |
  55. ### x402 v2 Security Verification Tools (Base Mainnet USDC)
  56. | Tool Name | API Route | Full Tier | Essential Tier | Capabilities |
  57. | :--- | :--- | :--- | :--- | :--- |
  58. | `ingravity_fastPingAddressSafety` | `GET /api/v1/fast-ping` | **`$0.01`** | **`$0.01`** | Binary `SAFE / DANGER` gate across 5 EVM chains (`<= $0.05` bots). |
  59. | `ingravity_inspectEvmTransactionFirewall` | `POST /api/v1/tx-firewall` | **`$0.10`** | **`$0.10`** | Pre-sign calldata simulation, EIP-1967/1167 proxy check & revocation bundle. |
  60. | `ingravity_scanTokenRugpullAndHoneypot` | `POST /api/v1/token-rug-scanner` | **`$0.12`** | **`$0.04`** | Live 5-EVM RPC ERC-20 bytecode disassembly & honeypot detection. |
  61. | `ingravity_computeDefiSlippageAndLiquidation` | `POST /api/v1/defi-math-guard` | **`$0.10`** | **`$0.04`** | 48-step exact BigInt AMM slippage, MEV sandwich & perp liquidation math. |
  62. | `ingravity_auditSolidityContract` | `POST /api/v1/audit-solidity` | **`$0.85`** | **`$0.35`** | Deterministic 24-vector Solidity static audit with 4-gate anti-noise filter. |
  63. | `ingravity_generateMultiContractProtocolDossier` | `POST /api/v1/protocol-dossier` | **`$12.00`** | **`$3.50`** | Multi-contract (1–20 files) cross-reentrancy & ERC-4626/oracle invariants. |
  64. | `ingravity_simulateDeepExploitAndWhitehatBounty` | `POST /api/v1/deep-exploit-bounty` | **`$45.00`** | **`$9.50`** | Flash-loan exploit simulation, live TVL check & unsigned Safe-Harbor plan. |
  65. ---
  66. ## MCP Resources & Prompts
  67. * **Resources:**
  68. * `ingravity://docs/supported-chains` — Canonical 5-EVM chain IDs and Base USDC settlement contract.
  69. * `ingravity://docs/x402-settlement` — Zero-custody EIP-3009 x402 v2 settlement guide.
  70. * **Prompts:**
  71. * `pre_sign_transaction_check` — Structured workflow to decode and inspect EVM calldata before signing.
  72. * `pre_swap_token_check` — Two-step honeypot and AMM slippage checklist before swapping ERC-20 tokens.
  73. ---
  74. ## Programmatic Library Usage (Coinbase AgentKit & ElizaOS)
  75. In addition to the standalone MCP server (`mcp.js`), the package exports `IngravitySecurityActionProvider`, `ingravityElizaPlugin`, and `encodeErc8021Calldata` from `index.js`:
  76. ```bash
  77. npm install ingravity-security
  78. ```
  79. ```typescript
  80. import { IngravitySecurityActionProvider } from "ingravity-security";
  81. const provider = new IngravitySecurityActionProvider({
  82. walletProvider: evmWalletProvider,
  83. maxSpendUsdc: 0.10,
  84. enableReceiptCache: true
  85. });
  86. ```
  87. ---
  88. ## Security & Verification
  89. ```bash
  90. npm test
  91. ```
  92. * **Zero Custody:** Never holds private keys or requests ERC-20 `approve()`.
  93. * **Base Builder Code:** `bc_i26d7owr` (ERC-8021).
  94. * **License:** MIT

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.