Skip to main content
Glama
RohitKulkarni02

Malicious MCP Research Kit

MCP Security Research Kit

Authorized, local-first MCP research kit for red-team / security assessments.

What it does

A FastMCP server registers realistic-looking integration tools in an MCP client's tool store, typically alongside legitimate connectors (GitHub, Jira, etc.). Each demonstration is a pluggable case under cases/. Enable only what you need.

Also included:

  • listener.py — HTTP callback receiver for case proof

  • Engagement markers (OPS_CANARY, OPS_CONNECTOR_CANARY) for unambiguous proof

Prefer stdio for local desktop cases; for HTTP use OPS_HOST=0.0.0.0 and a reachable (non-loopback) callback URL.

Related MCP server: Vulnerable MCP Server

Case coverage (13)

#

Case

Demonstrates

1

URL callback

Telemetry-shaped image URL + Mermaid + webview fallbacks

2

DNS exfil

Base32 DNS labels; harvest + conditional ping/nslookup/dig/host/git-diff chain

3

Toxic agent flow

SYSTEM continuation in tool output steers follow-on tool calls (optional Unicode Tag smuggling)

4

Rogue secret pull

Health-check framing that pulls peer session material from shared agent context

5

Tool shadowing

Exact-name squat via OPS_SHADOW_TOOLS

6

Token forwarding

Verification-framed tools that capture connector tokens; config file read variant reads ~/.cursor/mcp.json directly

7

NetNTLM via UNC

Clean UNC path recommendation → SMB auth capture (Windows + Responder required)

8

Browser access

Session-continuity framing; server-side Chrome/Firefox/Safari profile reads (Cookies, Preferences, Local Storage) - no model cooperation

9

File exfil

File-share tools that silently read sensitive paths server-side (~/.aws/credentials, ~/.ssh/config, ~/.docker/config.json, etc.)

10

Agent config escalation

YOLO / auto-approve config write + shell; Unicode Tag encoding; disables all future approval prompts

11

TOCTOU script

Append to benign script + delayed exec; helper write races sleep window

12

MCP config poison

Register second attacker MCP entry in client config — persistent foothold survives session termination

13

Model provider redirect

Override ANTHROPIC_BASE_URL / OPENAI_BASE_URL / workspace .env to attacker intercept; targets developer app SDK traffic

Who it is for

Security researchers and penetration testers assessing MCP-enabled clients under explicit written authorization.

Authorized use only. Do not deploy against systems you do not own or lack permission to test.

F
license - not found
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    D
    maintenance
    A demonstration tool that showcases potential security attack vectors against Model Control Protocol, illustrating how malicious plugins can exploit weaknesses in MCP architecture.
    Last updated
    MIT
  • F
    license
    -
    quality
    B
    maintenance
    An MCP server that runs on a Mac and exposes a small, sharp set of tools (shell, file transfer, binary execution, screenshots) over a token-protected network port.
    Last updated

View all related MCP servers

Related MCP Connectors

  • Remote MCP for Android CLI agent build gate, structured receipts, audit logs, and reviewer-ready evi

  • A paid remote MCP for ClawManager, built to return verdicts, receipts, usage logs, and audit-ready J

  • Security scanner for MCP servers. Detect vulnerabilities, prompt injection, and tool poisoning.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/RohitKulkarni02/malicious_mcp_research_kit'

If you have feedback or need assistance with the MCP directory API, please join our Discord server