Serveur MCP de pentest : passerelle controlee vers une toolbox d'outils de securite, pilotee par un LLM fort
Server provides 6 tools with basic schemas and descriptions in French. All tools have input schemas with type definitions and descriptions, but quality is inconsistent. Descriptions are terse (avg ~80 chars, below 194-char baseline) and lack actionable context for LLM selection. Parameter descriptions are minimal. No output schemas documented. Error handling is absent from tool definitions. Tool names are reasonable (verb_noun pattern: run_tool, web_crawl, port_scan, vuln_scan, list_tools, health) but descriptions lack WHEN/WHY guidance. No tool annotations (readOnlyHint, destructiveHint, idempotentHint). Security-sensitive tools (port_scan, vuln_scan) lack permission declarations or audit guidance.
Etat du conteneur toolbox (present/absent, running, image). Ne demarre rien.
Liste les outils whitelistes presents (et absents) dans la toolbox.
Scan de ports (naabu top-ports) puis sonde HTTP (httpx) des ports ouverts.
Execute un outil de reconnaissance/scan whiteliste dans la toolbox (forme exec, sans shell : pas de pipe ni de chainage). Usage test AUTORISE uniquement. Borne par un timeout qui tue reellement le process. Pour enchainer des outils, faire plusieurs appels.
Scan de vulnerabilites borne (nuclei) : debit/concurrence limites, tags et severite optionnels.
Crawl borne d'une URL (katana, profondeur 1..3, crawling JS).
No output schemas documented. LLMs cannot predict response structure or plan downstream tool calls. Tools return unstructured results (e.g., run_tool returns dict with exit_code/output/timed_out/truncated, but this is inferred from code, not declared in tool definition).
Descriptions lack actionable context. 'Crawl borne d'une URL (katana, profondeur 1..3, crawling JS)' is 60 chars and tool-centric, not LLM-centric. Missing: WHEN to call this vs other tools, what it returns, prerequisites. Baseline is 194 chars with WHAT/WHEN/WHY.
No tool annotations (readOnlyHint, destructiveHint, idempotentHint). All tools are marked Risk: READ_ONLY in metadata, but this is not reflected in MCP tool definitions. LLMs cannot determine retry safety or side effects from the tool definition alone.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 46 | <=2025-11-25 | v2 |
Security-sensitive tools (port_scan, vuln_scan, run_tool) lack permission declarations or audit guidance. No scope hints (e.g., 'requires: pentest:execute'). No logging/audit trail guidance in tool definitions. Compliance and least-privilege enforcement are invisible to the agent.
Parameter descriptions are minimal or missing context. 'Commande complete, p.ex. 'httpx -u http://cible -title -tech-detect'.' includes an example value (cible), which LLMs may reuse literally. No format constraints, no validation rules, no error guidance in descriptions.