Uncovering Device-Effect Authorization Inconsistencies in MCP-Based IoT Systems
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.
Create a lesson
Metadata
- Categories
- cs.SE, cs.CR
Related papers
Cost-Effective Maintenance of Requirements-Test Alignment via Quantized LLMs
Shared title terminologycs.SEErik Lindstrand, Michal Spano, Mariia Zabolotnia et al.
SAFE-IR: Evidence-Constrained Authorization for Agentic Incident Recovery
Shared title terminologycs.SEDeepak Kumar Jain
A Controlled Experiment on the Effects of Formal Specifications in Software Quality
Shared title terminologycs.SEMaximiliano Cristiá, Alfredo Capozucca, Federico Stizza
Are They Really Multi-Agent? Architectures, Claims, and Containers in LangGraph Systems
Shared title terminologycs.SEMeriem Mastouri, Emna Ksontini, Amine Barrak
Feasible by Construction, Wrong by Interpretation: A Reference Architecture for Operational Decision Systems with Learned Interpreters
Shared title terminologycs.SESpurthi Tallam, Hemanth Kumar Kolluru
Locally Correct, Globally Wrong: The Defects Humans Had to Catch in an Agent-Built System
Shared title terminologycs.SEDing Lin Lee, Jiaxin Dai, Ivonne Wijaya et al.