prompt-protection
io.github.mughalhere/prompt-protection
About prompt-protection
prompt-protection is an MCP server published by the GitHub account mughalhere. Scan prompts, tool definitions and model output for injection, and guard agent tool calls.
It runs on your own machine: your AI client starts it from the npm package prompt-protection at version 4.2.0.
It asks for no keys or passwords.
Version 4.2.0 was published on 13 October 2026, and the source code is public, so you can read it before installing.
Written from the registry entry. 9 automated checks on the registry entry and the package code: 5 pass, 2 warn, 0 fail, 2 info. How we check.
What it asks for
This server declares no environment variables, so it asks for no keys or settings.
Checks
| Check | Result | Detail |
|---|---|---|
| Source repository linked | Pass | https://github.com/mughalhere/prompt-protection |
| Version pinned | Pass | Every package has an explicit version |
| Secrets requested | Info | Asks for no secrets |
| Known package registry | Pass | All packages come from npm, PyPI, OCI, NuGet or MCPB |
| Namespace ownership | Info | Name verified via GitHub account mughalhere |
| Registry text aimed at the AI | Pass | Description and settings contain no hidden characters or instructions to the AI |
| Install scripts | Pass | prompt-protection@4.2.0 runs nothing at install |
| Code red flags | Warn | Reads SSH or cloud credentials (dist/mcp/bin.cjs:980: "id_rsa"); Very long encoded blob in code (dist/mcp/bin.cjs:1709: ""/wH//Pv9/AEABf8IAQAAAQEA/wMCAAD//woD/f8BAPz3Af8AAgD5/wAABAECAgD//wIAAAEAAAD+AAAA+gPp/wADAAD7AP/3AAD"); Reads SSH or cloud credentials (dist/middleware/express.cjs:974: "id_rsa"); 37 more |
| Text aimed at the AI | Warn | Tells the AI to hide something from the user (dist/mcp/bin.cjs: "…"do not tell/mention/inform the user", "without informing the user", "keep this hidden from the user" …"); Tells the AI to hide something from the user (dist/middleware/express.cjs: "…"do not tell/mention/inform the user", "without informing the user", "keep this hidden from the user" …"); Tells the AI to hide something from the user (dist/guard/index.cjs: "…"do not tell/mention/inform the user", "without informing the user", "keep this hidden from the user" …"); 17 more. Read the context: a security tool may quote these on purpose. |
Popularity & health: 49 / 100
Worked out from public numbers and our own checks, not from user reviews or ratings. It says how used and how looked-after a server is, not whether it is safe.
0 forks, 52 merged pull requests. Sources: GitHub, npm, PyPI (pypistats.org) and Hacker News (Algolia), fetched 2026-10-31.
What people say
No Hacker News threads link to its source code.
Look further: search Reddit, search Hacker News, read its GitHub issues. These are not reviews we checked.
Facts
| Registry name | io.github.mughalhere/prompt-protection |
|---|---|
| Publisher | GitHub account mughalhere |
| How the name is verified | Name verified via GitHub account mughalhere. The registry ties the name prefix to that account or domain; it does not check the code. |
| Type | Local: runs on your machine from a package |
| Packages | npm prompt-protection 4.2.0 (stdio) |
| Version | 4.2.0 |
| Published | |
| Last updated | |
| Source repository | https://github.com/mughalhere/prompt-protection |
| Website | https://mughalhere.github.io/prompt-protection/ |
| Category | Other (assigned by keyword rule, not by hand) |
Related servers in Other
- ai-code-scanner7/7Scans code for insecure LLM/AI integration: exposed keys, unsafe…
- ai-code-scanner7/7Scans code for insecure LLM/AI integration: exposed keys, unsafe…
- claude-prompt-optimizer7/7Scores, compiles & optimizes prompts for any LLM. Zero AI calls…
- llmtrim7/7MCP server and proxy that compresses LLM prompts, tool output, and…
- prompt-injection-scanner7/7Scans RAG content/scraped pages for indirect prompt injection
- Prompt Injection Scanner4/4Check text before your agent reads it: hidden instructions,…