Tp4
- Category
- MCP Tool Poisoning
- Confidence
- 98% confidence
- Finding
The declared description presents an end-user French legal RAG assistant for answering legal questions and explaining legislation with verifiable citations. The supplied code chunk instead implements an internal benchmarking tool: it runs a fixed test suite, calls
build_rag_prompt, checks whether expected article numbers were retrieved, computes retrieval metrics, and outputs a report. While this supports the broader legal RAG system, the primary purpose of this code is evaluation, not direct legal assistance. No suspicious extra permissions or unrelated resource access are present, but the behavior of this chunk is materially different from the declared assistant functionality.- Content
