Back to Home
Karthikathangarasu icon

pentest-mcp

Verified Safe

by Karthikathangarasu

Overview

This server provides a Model Context Protocol (MCP) interface for professional penetration testing, enabling automated execution and analysis of security tools like Nmap, John the Ripper, Gobuster, and Nikto.

Installation

Run Command
npm start

Security Notes

The project is designed for professional penetration testing and executes powerful external tools. It uses `child_process.spawn` with an array of arguments, which is safer than `exec`. Crucially, it implements a `sanitizeOptions` function with `SAFE_OPTION_REGEX` to validate user-provided command-line arguments, significantly mitigating shell injection risks. Temporary files for John the Ripper are created and deleted. No direct `eval` or hardcoded secrets were found. The inherent risk lies in the powerful nature of the integrated tools, which requires professional judgment and a controlled environment, not in a lack of internal security practices.

Similar Servers

Stats

Interest Score39
Security Score8
Cost ClassMedium
Avg Tokens2000
Stars16
Forks3
Last Update2025-12-14

Tags

penetration testingnetwork scanningpassword crackingvulnerability assessmentcybersecurity