SecMCP: Quantifying MCP Conversation Drift Based on Latent PolyhedraQuantifying Conversation Drift in MCP via Latent Polytope
AI summary
The SecMCP framework detects and quantifies conversation drift in MCP caused by adversarial external knowledge by modeling LLM activation vectors in a latent polyhedral space. The non-isolated execution environment of MCP allows tool poisoning and indirect prompt injection to lead to conversation hijacking, misinformation propagation, and data exfiltration, and this framework can proactively identify such anomalies. Evaluated on Llama3, Vicuna, and Mistral combined with the MS MARCO, HotpotQA, and FinQA benchmark datasets, AUROC all exceed 0.915 while maintaining system usability.