x402-prompt-injection-scan

Level CLocal

Prompt-injection scanner for AI agents: deterministic, documented rules (instruction override, jailbreaks, exfiltration URLs, tool hijack/MCP tool poisoning, hidden Unicode, encoded payloads) returning a risk score, categories and spans. Library + x402 pa

⭐ 0Search & InfoJavaScriptRepo ↗Updated 2026-10-21

Installation

MCP client config (paste into mcp.json)

{
  "mcpServers": {
    "npm-x402-prompt-injection-scan": {
      "command": "npx",
      "args": [
        "x402-prompt-injection-scan"
      ]
    }
  }
}

Agent install prompt

Copy and paste into Cursor / Claude / other agents to install this MCP for you

Please read this MCP repository and install it into my current environment:
https://www.npmjs.com/package/x402-prompt-injection-scan

Known working client config (can write into mcp.json):
{
  "mcpServers": {
    "npm-x402-prompt-injection-scan": {
      "command": "npx",
      "args": [
        "x402-prompt-injection-scan"
      ]
    }
  }
}

Please: 1) check README for deps and env vars; 2) write config for my client; 3) if secrets are missing, tell me what to fill — do not invent values.

Related servers