Skip to main content
QUICK REVIEW

[Paper Review] Cracking IoT Security: Can LLMs Outsmart Static Analysis Tools?

Jason Quantrill, N. Khajehnouri|arXiv (Cornell University)|Jan 2, 2026
Adversarial Robustness in Machine LearningComputer Science0 citations
TL;DR

The paper evaluates large language models (LLMs) for detecting Rule Interaction Threats (RITs) in openHAB TAC rules, compares them to symbolic static analysis, and proposes a hybrid workflow to improve precision while preserving recall.

ABSTRACT

Smart home IoT platforms such as openHAB rely on Trigger Action Condition (TAC) rules to automate device behavior, but the interplay among these rules can give rise to interaction threats, unintended or unsafe behaviors emerging from implicit dependencies, conflicting triggers, or overlapping conditions. Identifying these threats requires semantic understanding and structural reasoning that traditionally depend on symbolic, constraint-driven static analysis. This work presents the first comprehensive evaluation of Large Language Models (LLMs) across a multi-category interaction threat taxonomy, assessing their performance on both the original openHAB (oHC/IoTB) dataset and a structurally challenging Mutation dataset designed to test robustness under rule transformations. We benchmark Llama 3.1 8B, Llama 70B, GPT-4o, Gemini-2.5-Pro, and DeepSeek-R1 across zero-, one-, and two-shot settings, comparing their results against oHIT's manually validated ground truth. Our findings show that while LLMs exhibit promising semantic understanding, particularly on action- and condition-related threats, their accuracy degrades significantly for threats requiring cross-rule structural reasoning, especially under mutated rule forms. Model performance varies widely across threat categories and prompt settings, with no model providing consistent reliability. In contrast, the symbolic reasoning baseline maintains stable detection across both datasets, unaffected by rule rewrites or structural perturbations. These results underscore that LLMs alone are not yet dependable for safety critical interaction-threat detection in IoT environments. We discuss the implications for tool design and highlight the potential of hybrid architectures that combine symbolic analysis with LLM-based semantic interpretation to reduce false positives while maintaining structural rigor.

Motivation & Objective

  • Assess LLMs' baseline capability to validate and classify RITs in real-world openHAB datasets.
  • Determine how model size and prompting influence contextual reasoning and reliability.
  • Test scalability and generalization on a mutation-based dataset of vulnerable cases.
  • Evaluate a reconciliation-based hybrid workflow that combines symbolic analysis with LLM validation to reduce false positives.

Proposed method

  • Evaluate multiple LLMs (including Llama 3.1 8B/70B, GPT-4o, Gemini-2.5-Pro, DeepSeek-R1) under zero-, one-, and two-shot prompts.
  • Use oHIT as the symbolic static analysis baseline to generate RIT candidates.
  • Introduce a hybrid Reconciliation & Validation pipeline that filters, categorizes, and validates threats via LLM contextual checks.
  • Employ two datasets (openHAB Community and IoTBench) plus a Mutation dataset with engineered interactions to stress-test robustness.
  • Apply prompt-based elicitation to classify RITs into categories (WAC, SAC, WTC, STC, WCC, SCC) and evaluate via micro accuracy and per-class recalls.
  • Analyze experiments under multiple responses vs. single-response conditions to assess precision-recall trade-offs.

Experimental results

Research questions

  • RQ1RQ1 Baseline Capability: How effective can pre-trained LLMs validate and classify RITs in real openHAB data?
  • RQ2RQ2 Model Scaling Effect: How does LLM size influence contextual validation accuracy and reasoning consistency for RITs?
  • RQ3RQ3 Scalability and Generalizability: Do approaches maintain performance on mutation-based datasets with true vulnerabilities?
  • RQ4RQ4 Hybrid Effectiveness: Does the hybrid workflow improve precision and reduce false positives compared to symbolic-only and LLM-only approaches?

Key findings

  • LLMs show promising semantic understanding for action- and condition-related threats but struggle with cross-rule structural reasoning.
  • Accuracy degrades for threats requiring complex, multi-rule reasoning and mutated rule forms.
  • Symbolic reasoning baselines yield stable detection across datasets and are unaffected by rule rewrites.
  • A reconciliation-based hybrid workflow significantly boosts precision (e.g., for challenging cases) while maintaining high recall from symbolic analysis.
  • Performance varies widely across threat categories and prompt settings, with no model delivering consistent reliability on its own.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.