damn-vulnerable-MCP-server  by harishsg993010

Educational tool for MCP security learning

Created 5 months ago
1,175 stars

Top 33.0% on SourcePulse

GitHubView on GitHub
1 Expert Loves This Project
Project Summary

This project provides a deliberately vulnerable implementation of the Model Context Protocol (MCP) for educational purposes, targeting security researchers, developers, and AI safety professionals. It offers 10 challenges of increasing difficulty to demonstrate and learn about security vulnerabilities in LLM context management, enabling users to understand and mitigate potential risks.

How It Works

The Damn Vulnerable Model Context Protocol (DVMCP) server is built to showcase various MCP vulnerabilities. It implements a structured approach to context provision for LLMs, separating context management from LLM interaction. The project features distinct challenge modules, each designed to exploit specific security flaws like prompt injection, tool poisoning, excessive permissions, and malicious code execution, allowing for hands-on learning.

Quick Start & Requirements

Highlighted Details

  • 10 challenges covering prompt injection, tool poisoning, excessive permissions, rug pull attacks, tool shadowing, indirect prompt injection, token theft, malicious code execution, remote access control, and multi-vector attacks.
  • Challenges are categorized into Easy, Medium, and Hard difficulty levels.
  • Includes solution guides for educational purposes.
  • Developed using Cursor IDE and Manus AI.

Maintenance & Community

  • Created by Harish Santhanalakshmi Ganesan.
  • No specific community links (Discord/Slack) or roadmap details are provided in the README.

Licensing & Compatibility

  • Licensed under the MIT License.
  • Permissive license suitable for commercial use and closed-source linking.

Limitations & Caveats

The project explicitly states it is for educational purposes only and vulnerabilities demonstrated should not be implemented in production systems. It also notes potential instability in Windows environments.

Health Check
Last Commit

2 months ago

Responsiveness

1 week

Pull Requests (30d)
0
Issues (30d)
2
Star History
31 stars in the last 30 days

Explore Similar Projects

Starred by Dan Guido Dan Guido(Cofounder of Trail of Bits), Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), and
5 more.

PurpleLlama by meta-llama

0.6%
4k
LLM security toolkit for assessing/improving generative AI models
Created 1 year ago
Updated 1 day ago
Feedback? Help us improve.