← ALB News · curated headline

Uncovering Device-Effect Authorization Inconsistencies in MCP-Based IoT Systems

arXiv Software Engineering · WORLD · Compilers · 12/4/2026, 12:00:00 AM

arXiv:2612.05686v1 Announce Type: new Abstract: The Model Context Protocol (MCP) enables large language model (LLM) agents to interact with Internet of Things (IoT) devices through standardized tools. However, authorizing tool invocations does not necessarily authorize their resulting device effects. Discrepancies in execution paths, operation semantics, and authorization states may produce unauthorized effects, a problem we term device-effect authorization inconsistency. We present MICE, an automated detection framework that recovers tool-to-device execution paths, constructs policy-driven stateful test scenarios, and independently validates observed device effects against authorization policies. Evaluated on 98 benchmark specimens spanning eight authorization issue families, MICE detects all 48 constructed defects without false positives. We further investigate 1,616 candidate GitHub repositories, successfully process 1,524, identify 349 potentially vulnerable repositories, and conduct case studies of real-world BLE and MQTT implementations. Our MQTT experiments reveal that device data may remain accessible beyond requested collection windows and retained commands may reach subsequently connected devices.

Continue to arXiv Software Engineering →

Finished reading? Continue to the original source above — or join the discussion below.