MCP server exposing security tools for network scanning, reconnaissance, and password recovery (Nmap, Amass, TLSX, Hashcat)
This server exhibits critical deficiencies across naming, descriptions, parameters, and error handling. Of 6 tools, only 2 have any parameter descriptions at all. Tool names are generic and lack action verbs. Descriptions are minimal (most under 100 chars) and provide no actionable guidance. Parameter schemas exist in Zod format but lack descriptions in 4 of 6 tools. The 'add' tool is trivial and unsuitable for a security-focused server. Critical security tools (nmap, amass, tlsx, hashcat) accept arbitrary command-line strings with no validation, input sanitization, or injection safeguards, a major vulnerability. Error handling is primitive (stderr only, no recovery guidance). No tool returns structured, paginated, or documented output schemas. The server also exposes command injection vulnerabilities that violate pattern:tool-gateway.
Add two numbers
OWASP Project. For network mapping of attack surfaces and external asset discovery using open source intelligence gathering and reconnaissance techniques
hashcat password recovery tool
Advanced Nmap scan, pass all the arguments required
Simple Nmap scan of target with default options
Tool for TLS based data collection. TLS Ciphers, Certificates and other SSL/TLS details of the target.
Command injection vulnerability: nmap-scan-advanced, amass-surface-mapping, tlsx-connection-verification, and hashcat accept arbitrary command-line arguments as free-form strings with no sanitization, validation, or escapement. LLMs can be tricked via prompt injection into passing shell metacharacters (pipes, semicolons, backticks) that execute arbitrary code on the host.
Missing parameter descriptions: 5 of 6 tools have parameters with no descriptions. LLMs cannot infer what parameter values are valid or what they control.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 31 | <=2025-11-25 | v2 |
| 2026-03-09 | F | 36 | - | v1 |
No tool annotations: hashcat is marked DESTRUCTIVE in the metadata but the tool registration does NOT include a destructiveHint annotation in the schema. Agents have no machine-readable signal that this tool modifies state or has irreversible consequences. Pattern requires tool annotations for read_only, destructive, and idempotent hints.
No output schema documentation: all 6 tools return text responses with no documented structure. LLMs cannot plan downstream tool calls or extract data fields (e.g., which field contains the target IP, which contains port status, which contains certificate data). Pattern:tool requires documented return types.
Primitive error handling: all tools catch stderr and echo it back as text. No error classification (retryable vs fatal), no recovery guidance, no structured error codes. Example: if nmap times out, the tool returns raw 'Nmap timeout' string with no guidance on retry, backoff, or fallback. Per pattern:recovery-guide, errors must tell the LLM what to do next.
No input validation or constraints: free-form string parameters in 4 tools accept any input. nmap-scan-advanced can pass invalid nmap flags; amass-surface-mapping can pass invalid subcommand combinations; hashcat can pass incompatible hash/wordlist pairs. No early validation, no constraint descriptions, no error messages.
Non-idiomatic tool names: most tool names lack action verbs. 'nmap-scan-simple' should be 'scan_nmap_simple' or 'nmap_scan'. 'hashcat' should be 'crack_password_hashcat'. 'tlsx-connection-verification' should be 'verify_tls_connection' or 'analyze_tls'. This server has 0 of 6.
Trivial 'add' tool in a security toolkit: the addition tool ('add two numbers') provides no security value and wastes a tool slot. It should be removed and the toolkit focused on its domain (reconnaissance, scanning, password cracking).
No permission gates or audit logging: hashcat is a DESTRUCTIVE tool capable of cracking passwords. No access control (who can run it?), no rate limits, no audit trail of who called it and with which hashes. Per pattern:permission-gate, destructive/sensitive tools must verify caller authority. Per pattern:audit-trail, agent actions must be logged for compliance.
No scopes or permission declarations: tools do not declare what permissions they require (read:network, write:scan, admin:hash-crack, etc.). This prevents least-privilege agent configurations and audit trails. Per pattern:scope-declaration, 'Each tool should declare what permissions it requires.'