Skip to main content
QUICK REVIEW

[論文レビュー] IntelliSA: An Intelligent Static Analyzer for IaC Security Smell Detection Using Symbolic Rules and Neural Inference

Qiyue Mei, Michael C. Fu|arXiv (Cornell University)|Jan 21, 2026
Advanced Malware Detection TechniquesComputer Science被引用数 0
ひとこと要約

IntelliSA は、教師-学生蒸留を介した神経推論と記号規則ベースの解析を組み合わせて、Infrastructure as Code のセキュリティの匂いを検出し、ベースラインよりも高い精度とコスト効果を実現します。

ABSTRACT

Infrastructure as Code (IaC) enables automated provisioning of large-scale cloud and on-premise environments, reducing the need for repetitive manual setup. However, this automation is a double-edged sword: a single misconfiguration in IaC scripts can propagate widely, leading to severe system downtime and security risks. Prior studies have shown that IaC scripts often contain security smells--bad coding patterns that may introduce vulnerabilities--and have proposed static analyzers based on symbolic rules to detect them. Yet, our preliminary analysis reveals that rule-based detection alone tends to over-approximate, producing excessive false positives and increasing the burden of manual inspection. In this paper, we present IntelliSA, an intelligent static analyzer for IaC security smell detection that integrates symbolic rules with neural inference. IntelliSA applies symbolic rules to over-approximate potential smells for broad coverage, then employs neural inference to filter false positives. While an LLM can effectively perform this filtering, reliance on LLM APIs introduces high cost and latency, raises data governance concerns, and limits reproducibility and offline deployment. To address the challenges, we adopt a knowledge distillation approach: an LLM teacher generates pseudo-labels to train a compact student model--over 500x smaller--that learns from the teacher's knowledge and efficiently classifies false positives. We evaluate IntelliSA against two static analyzers and three LLM baselines (Claude-4, Grok-4, and GPT-5) using a human-labeled dataset including 241 security smells across 11,814 lines of real-world IaC code. Experimental results show that IntelliSA achieves the highest F1 score (83%), outperforming baselines by 7-42%. Moreover, IntelliSA demonstrates the best cost-effectiveness, detecting 60% of security smells while inspecting less than 2% of the codebase.

研究の動機と目的

  • 純粋にルールベースの IaC の匂い検出器の高い偽陽性率を是正する。
  • 記号的ルールマッチングとニューラル推論を統合して偽陽性を除去する。
  • オフラインで効率的な推論を行うために、LLM 教師から知識蒸留を用いてコンパクトな学生モデルを訓練する。
  • Puppet、Ansible、Chef で静的解析ツールおよび LLM ベースラインと IntelliSA を比較評価する。
  • オープンサイエンスを支援するデータセット、スクリプト、およびツールを公開する。

提案手法

  • 技術に依存しない中間表現 (IR) を介して広く高リコールな静的分析を実行するために記号的規則を適用する。
  • Glitch の警告に対する偽陽性をラベル付けするために LLM 教師を使用し、これをコンパクトな学生モデルへ蒸留する。
  • CodeT5p-220M 埋め込みと 12 層の T5 エンコーダを用いて、各 Glitch 警告の TP/FP を予測する 200M パラメータの学生モデルを訓練する。
  • エンドツーエンドの推論中に偽陽性をフィルタリングするために Glitch と蒸留された学生を組み合わせる。
  • Puppet、Ansible、Chef 向けに SLIC/SLAC、Glitch、Claude-4、Grok-4、GPT-5 に対して IntelliSA を評価する。
Figure 1. (Motivating Example) A false positive case from Glitch : the variable $db_user is flagged as a hard-coded secret because its name matches the isUser() predicate and the fallback value ’ironic’ is a literal. This illustrates how symbolic rule matching without semantic context can misclassif
Figure 1. (Motivating Example) A false positive case from Glitch : the variable $db_user is flagged as a hard-coded secret because its name matches the isUser() predicate and the fallback value ’ironic’ is a literal. This illustrates how symbolic rule matching without semantic context can misclassif

実験結果

リサーチクエスチョン

  • RQ1RQ1: IntelliSA は静的解析ツールと LLM ベースラインと比較して IaC セキュリティの匂いを検出する精度はどの程度か?
  • RQ2RQ2: 最小限の検査労力で匂いを検出する際のコスト効果はどの程度か?
  • RQ3RQ3: 教師モデル、学生モデル、スケールといった設計上の選択は IntelliSA の有効性にどう影響するか?

主な発見

  • IntelliSA は Puppet、Ansible、Chef それぞれで最高の F1 スコア 85%、88%、77% を達成。
  • コスト効果の観点では、IntelliSA は Effort@60%Recall が 1.14%、0.74%、1.66%、および F1@1%LOC が 65%、85%、55% を達成。
  • Glitch ベースラインと比較して、偽陽性を大幅に削減しつつ高いリコールを維持。
  • LLM 教師 (Claude-4) は偽陽性検出で高い F1 を提供し、コンパクトな学生モデルへの有効な蒸留を可能にする。
  • 200M パラメータの学生モデルは、より大きい variants の性能に匹敵しつつ、実効性の大幅な向上を提供する。
  • このアプローチは、コードベースの約 60% の匂いを検出しつつ、コードベースの 2% 未満を検査する。
Figure 2. Overview of IntelliSA training process and inference usage.
Figure 2. Overview of IntelliSA training process and inference usage.

この論文を読む

Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。

Nubintでこの論文を読む

このレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。