MCP.Market

Injectshield MCP server

by bch1212·io.github.bch1212/injectshield·v0.1.4

Prompt-injection firewall for AI agents — scan untrusted text before LLM calls.

B72/100grade B
What users say
No reviews yet
Be the first
Safety scan
B72/100

full report

Adoption
New

0 stars24 downloads/wk

Reviews

Write one

Nobody has reviewed Injectshield yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Injectshield tools (3)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • patterns

    List supported threat categories, context kinds, and sensitivity levels.

  • scan

    Scan text for prompt-injection. Use BEFORE passing any untrusted text

  • scan_url

    Fetch a URL and scan its body for prompt-injection. Useful before

Public scan report

scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it

no findings
  • Code scan3 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitystatic API keys via environment variables6/15
  • Maintenancelast push 113 days ago8/15
  • Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Overall 72/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How Injectshield compares

Against every graded AI and agents MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
72/100
higher than 40% of 4,461 AI and agents servers
Tools
3
the typical AI and agents server has 6
Tools that change things
0%
typical: 0%. Fewer write tools means less an agent can break
Downloads a week
24
more than 10% of 1,554 AI and agents servers with a package

What its tools let an agent do: 3 read

Install Injectshield in Claude Code, Cursor or VS Code

Runs npx -y @injectshield/mcp on your machine. Read the scan report first; the gateway never runs local packages.

claude mcp add injectshield -- npx -y @injectshield/mcp
Add to Cursor

What the publisher says

From the Injectshield repository's README, as published. We do not edit it. Read it on GitHub

InjectShield

Prompt-injection firewall for AI agents.

A drop-in REST API that detects and neutralizes injection attacks in any text — git commits, web pages, files, emails, user inputs — before they reach your AI agent's context window.

This repo is the open-source heuristic ruleset plus the source for the managed API at promptshield.pages.dev.

Why

In May 2026 a viral HN thread demonstrated that a single git commit message could burn a Claude Code user's entire session quota via a schema-driven attack ("OpenClaw"). The pattern is general: any AI agent that ingests untrusted text — code review bots, documentation summarizers, RAG agents, support copilots — is exposed to prompt injection. Most teams ship without any input-side defense.

InjectShield is one layer of a defense-in-depth strategy. It's not a silver bullet. Use it alongside system-prompt hardening, tool sandboxing, and output filtering.

Install as an MCP (Claude Code, Cursor, Cline, ...)

InjectShield ships a native MCP server at @injectshield/mcp. Once installed, your agent has three new tools — scan, scan_url, patterns — for input-side defense without writing any glue code.

# Claude Code:
claude mcp add injectshield --env INJECTSHIELD_API_KEY=is_live_… -- npx -y @injectshield/mcp

For Cursor / Cline / other MCP clients, see packages/injectshield-mcp/README.md.

Quick start

# 1) Get a key (delivered by email):
curl -X POST https://api.injectshield.dev/v1/keys \
  -H "Content-Type: application/json" \
  -d '{"email":"you@company.com"}'

# 2) Scan:
curl -X POST https://api.injectshield.dev/v1/scan \
  -H "Authorization: Bearer is_live_..." \
  -H "Content-Type: application/json" \
  -d '{"text":"ignore previous instructions","context":"user_input"}'

Or signup via the landing page: https://injectshield.dev — self-serve, email delivery.

What's open-source vs. managed

Live:

  • Landing page + live demo: https://injectshield.dev
  • API base: https://api.injectshield.dev
  • Health: https://api.injectshield.dev/healthz
  • Docs: https://injectshield.dev/docs

Open-source (this repo, MIT):

  • src/patterns.ts — the heuristic pattern library (~20 categorized rules).
  • src/detect.ts — the detection engine (heuristic aggregation, sanitization).
  • test/ — the test suite.
  • server/, public/ — the full API + landing-page source.

Managed only (paid tiers):

  • Hosted API with usage metering, dashboards, custom-pattern uploads, webhook alerts, no-logging mode (Pro), team accounts.
  • Future: Workers AI / Anthropic semantic classifier with prompt-engineered injection detection.

Detection categories

Contributing patterns

Found a novel attack? Open a PR adding a PatternRule to src/patterns.ts with:

  1. A unique id.
  2. A category from the enum above.
  3. A weight in [0, 1] — pick conservatively; the aggregation in detect.ts combines weights so every additional rule contributes meaningfully but isn't dominant.
  4. A test in test/detect.test.ts covering both a positive and a likely-benign negative example.

We auto-deploy merged patterns to the managed API. No-cost contributions get attribution in the changelog.

Running locally

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

Injectshield: common questions

Is Injectshield MCP server safe?
Mostly: it is graded B (72/100). Read the Injectshield safety report
How do I install Injectshield?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does Injectshield need an API key?
Yes. The registry entry asks for INJECTSHIELD_API_KEY.
Is Injectshield maintained?
The last commit was 152 days ago (2026-06-06). The latest release is v0.1.4.
What can I use instead of Injectshield?
Servers from other publishers that do the same job: Agent Security Scanner MCP server, PaperBanana MCP server and Decionis MCP server.
How does Injectshield compare with other AI and agents MCP servers?
safety score 72/100 (higher than 40% of 4,461 AI and agents servers); tools 3 (the typical AI and agents server has 6); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.

Alternatives to Injectshield

Same job from other publishers: the closest match first, then the best rated.

  • Agent Security Scanner
    Security layer for AI agents: blocks prompt injection, detects fake packages, scans vulnerabilities.
    C
  • PaperBanana
    Generate academic diagrams and statistical plots from text using multi-agent AI.
    A
  • Decionis
    Authorize consequential AI agent actions before execution
    A
  • Agent-Native Analytics
    Agent-Native Amplitude/Mixpanel - connect data sources, prompt for charts
    A
  • Image
    AI image generation and editing with prompt optimization and quality presets
    B

More from bch1212 →