Allowing an AI agent to call a device tool does not mean the device effect was allowed. MICE catches all 48 such planted defects with no false alarms and flags 349 GitHub projects as possibly affected.
| Method | TP | FP | FN | Prec. | Rec. |
|---|---|---|---|---|---|
| Static-only (EffectGraph-only) | 32 | 34 | 16 | 48.5% | 66.7% |
| Dynamic (ScenarioForge & EffectOracle) | 48 | 0 | 0 | 100% | 100% |
| w/o Lifecycle | 30 | 0 | 18 | 100% | 62.5% |
| w/o Group Change | 42 | 0 | 6 | 100% | 87.5% |
| MICE | 48 | 0 | 0 | 100% | 100% |
Going deeper

You give a house-sitter a key card that opens only the kitchen lamp switch, until Friday. The card reader at the door checks the card. But the house also has a master panel by the stairs, a 'preview' button that quietly changes settings, and a timer that can be set to fire on Saturday.
An AI agent driving smart devices through MCP has the same problem. The tool it calls may check its permission, while another tool reaches the same lamp, a 'preview' changes the light, or a scheduled or retained command acts after access has ended.
The authors' tool walks through every route to each switch, tries them before and after the card is revoked, and watches the lamps themselves rather than trusting the panel's display. On their test houses it caught every planted fault. Across GitHub it flagged hundreds of houses as worth a closer look.
The abstract, word for word, with the six densest phrases unpacked.
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 effects1. Discrepancies in execution paths, operation semantics, and authorization states may produce unauthorized effects, a problem we term device-effect authorization inconsistency2. 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 effects3 against authorization policies. Evaluated on 98 benchmark specimens4 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 repositories5, 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 devices6.
Two lines of earlier work lead here. Each stop says what the paper credits it with and what it uses it for.
Read four parts of it, in this order.
Skip Section II if you know MCP and IoT protocols.
If the results are weaker than they look, these places show why.
Datasets. We construct three datasets to evaluate MICE under controlled and real-world settings. (1) Controlled Benchmark. We construct 98 Python-based MCP server specimens covering eight authorization-related issue families: device scope, operation semantics, parameter bounds, permission revocation, authorization expiration, subject binding, dynamic group membership, and persistent operations. (2) Real-World Repository Corpus. We collect 1,616 candidate GitHub repositories associated with MCP and IoT functionalities as of October 29, 2026. The collected metadata includes programming languages, repository popularity, owner identifiers, and update timestamps. We randomly sample 100 repositories for static analysis and use an additional convenience sample of 29 repositories for exploratory analysis.
Overall Findings. To investigate device-effect authorization inconsistencies in the wild, we analyze 1,616 collected candidate repositories, of which 1,524 (94.3%) are successfully processed. We identify 349 potentially vulnerable repositories (22.90%) based on authorization-sensitive operations and the absence of recognized authorization-policy indicators. Device scope inconsistency is the most frequently identified category, accounting for 262 repositories (75.07%), followed by authorization lifetime inconsistency (182, 52.15%) and operation semantics inconsistency (11, 3.15%). Moreover, 95 repositories exhibit both device-scope and authorization-lifetime inconsistency, including seven associated with all three inconsistency types.
Case II: Operation Privilege Escalation via OSI. We investigate mcp-hass, a Home Assistant MCP server that provides a generic service dispatcher for interacting with heterogeneous device functionalities. Unlike dedicated device-control tools, its generic service interface allows callers to select the service domain, operation, target entity, and associated parameters. The selected operation is forwarded to the underlying Home Assistant client without a recognized task-specific operation restriction at the tool handler. This design creates a coarse-grained authorization surface: granting access to one MCP tool may expose multiple device functionalities with different security implications. An attacker with restricted operational authority may therefore be able to induce effects beyond the intended operation scope, even when the affected device itself is authorized. For example, permission to control the power state of a device should not automatically authorize changes to its operating parameters or security configuration. If the backend credentials permit such operations and no equivalent restriction is enforced elsewhere, the generic interface may enable unauthorized device modifications.
Nothing on this page was recomputed. Every claim points to the paper so you can check it.
More latest news
Read all