Back to Home
PugazhTheHacker icon

kali-mcp

by PugazhTheHacker

Overview

Provides a web-based remote terminal for Kali Linux, integrated with a Gemini AI assistant and full filesystem access for cybersecurity tasks.

Installation

Run Command
./start.sh

Environment Variables

  • GEMINI_API_KEY
  • API_PORT
  • KALI_SERVER_URL
  • DEBUG_MODE

Security Notes

CRITICAL: The `kali-server.py` component uses `subprocess.Popen(self.command, shell=True)` to execute user-provided commands directly. The `command` variable originates from `request.json` and is passed without any sanitization. This allows for arbitrary command injection and full remote code execution by any user who can access the Kali server API endpoint. While the README warns about using it only on trusted networks, the fundamental vulnerability remains in the code. No strong authentication or authorization mechanisms are present for the API endpoints.

Similar Servers

Stats

Interest Score0
Security Score1
Cost ClassMedium
Avg Tokens300
Stars0
Forks0
Last Update2025-12-01

Tags

Remote TerminalKali LinuxCybersecurityAI AssistantWeb UI