HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
riseandignite
mcp-shield
TypeScript2025–2025
riseandignite / mcp-shield

mcp-shield

Security scanner for MCP servers

2Distinct people
3Mentions
0Explicit recommenders
555GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Security scanner for MCP servers

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 5:04:57 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by hour3 dated mentions

Observed mentions: 2025-04-15 05:15:01 UTC to 2025-04-15 07:58:22 UTC.

012025-04-15 05:00:00 UTC to 2025-04-15 06:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 commentsApr 15, 05:002025-04-15 06:00:00 UTC to 2025-04-15 07:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsApr 15, 06:002025-04-15 07:00:00 UTC to 2025-04-15 08:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsApr 15, 07:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Apr 15, 05:002025-04-15 05:00:00 UTC2025-04-15 06:00:00 UTC110
Apr 15, 06:002025-04-15 06:00:00 UTC2025-04-15 07:00:00 UTC101
Apr 15, 07:002025-04-15 07:00:00 UTC2025-04-15 08:00:00 UTC101

What Hacker News says

3 sources
Sorry, but this will never work very well. The tool contains a bunch of "denylist regexes", i.e. `user (should not|must not|cannot) see` But these can easily be bypassed. Any real security tool should use allowlists, but that is ofc much harder with natural languages. MCP-Shield can also analyse using Claude, but that code contains an easy to exploit prompt injection: https://github.com/riseandignite/mcp-shield/blob/19de96efe5e...
In Show HN: MCP-Shield – Detect security issues in MCP servers
nick_wolf·Apr 15, 2025Submission

Show HN: MCP-Shield – Detect security issues in MCP servers

I noticed the growing security concerns around MCP (https://news.ycombinator.com/item?id=43600192) and built an open source tool that can detect several patterns of tool poisoning attacks, exfiltration channels and cross-origin manipulations. MCP-Shield scans your installed servers (Cursor, Claude Desktop, etc.) and shows what each tool is trying to do at the instruction level, beyond just the API surface. It catches hidden instructions that try to read sensitive files, shadow other tools' behavior, or exfiltrate data. Example of what it detects: - Hidden instructions attempting to access ~/.ssh/id_rsa - Cross-origin manipulations between server that can redirect WhatsApp messages - Tool shadowing that overrides behavior of other MCP tools - Potential exfiltration channels through optional parameters I've included clear examples of detect
Read the rest
ion outputs in the README and multiple example vulnerabilities in the repo so you can see the kinds of things it catches. This is an early version, but I'd appreciate feedback from the community, especially around detection patterns and false positives.
134 points · Open discussion

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.