Stealth-AntiCheat-MCP
by xpe-hub
Overview
Real-time anti-cheat analysis for Discord servers, utilizing AI for code pattern detection, auto-updates, and anti-cheat code generation.
Installation
npm startEnvironment Variables
- DISCORD_BOT_TOKEN
- BOT_OWNER_ID
- MINIMAX_API_KEY
- OPENROUTER_API_KEY
- ANTICHEAT_WEBHOOK_URL
- GITHUB_TOKEN
- DATABASE_PATH
- DISCORD_CHEATING_CHANNEL_1
- DISCORD_CHEATING_CHANNEL_2
- DISCORD_PRIVATE_CHANNEL_1
- DISCORD_PRIVATE_CHANNEL_2
- SUPPORT_CHANNEL_ID
- DESCUBRIMIENTOS_CHANNEL_ID
- IMPLEMENTACIONES_CHANNEL_ID
- CHAT_CHANNEL_ID
- CMD_CHANNEL_ID
Security Notes
Critical security risks identified: 1. **Hardcoded Discord Bot Token in Documentation:** The `README.md` explicitly lists a Discord Bot Token example (`DISCORD_BOT_TOKEN=1441878707250791722.GHFGuP.JZJGI3pJDm2iaN2CJHiRUKoyq_kqxIPoh6ADws`). If users copy this directly, their bot will be immediately compromised. 2. **Server-Side Request Forgery (SSRF) Vulnerability:** The `scan_repository` tool (and subsequently `getRepositoryContent`) takes a `repo_url` derived from user-controlled Discord message content. Although a regex filters for `github.com` links, an attacker could potentially craft a malicious URL (e.g., using domain squatting or DNS rebind attacks) to trigger `axios.get` requests to internal network resources or arbitrary external endpoints, leading to information leakage or denial-of-service. 3. **Lack of Role-Based Access Control:** Discord bot commands handled via mentions (`@Stealth-AntiCheatX analyze [code]`) appear to lack granular access control. Any user in a monitored channel could potentially invoke these analysis or monitoring commands, which could be abused for resource exhaustion or unintended actions. 4. **Disabled MiniMax Integration:** The `minimax-mcp-js` client is commented out and conditionally disabled (`if (false && this.minimaxClient)`), indicating that some described AI functionalities are not active.
Similar Servers
octocode-mcp
The Octocode Research server enables AI agents to perform expert code forensics and deep-dive research across local filesystems (LSP, ripgrep, file I/O) and external GitHub repositories (code search, repo structure, pull requests, package search). It's optimized for architectural analysis, pattern discovery, and implementation planning.
CodeGraphContext
This MCP Server acts as an expert AI pair programmer's backend, providing real-time, accurate code analysis, indexing, and relationship information from a local codebase to assist with understanding, writing, and refactoring code.
mcp-discord
Enables AI assistants to interact with the Discord platform by providing a set of Discord-related functionalities via the Model Context Protocol (MCP).
codebase-context
Provides AI coding agents with real-time, context-rich insights into a codebase's patterns, libraries, architecture, and conventions to improve code generation quality and alignment with team standards.