次回の更新記事:オープンモデルなのにClaudeなどに匹敵するとされる…(公開予定日:2026年06月25日)
AIDB Daily Papers

LLMによるコード解析を防ぐ敵対的難読化フレームワーク「Acoda」

原題: Acoda: Adversarial Code Obfuscation for Defending against LLM-based Analysis
著者: Hongzhou Rao, Zikan Dong, Yanjie Zhao, Haodong Li, Haoyu Wang
公開日: 2026-06-10 | 分野: LLM セキュリティ AI ソフトウェアエンジニアリング cs.SE AI安全性

※ 日本語タイトル・ポイントはAIによる自動生成です。正確な内容は原論文をご確認ください。

ポイント

  • LLMによるソースコード解析のリスクに対処するため、遺伝的アルゴリズムを用いた敵対的コード難読化フレームワークAcodaを提案した。
  • AcodaはLLMの安全アライメントとトークン処理に着目し、意味を保ったままLLMの解析を妨害する8つの難読化手法を開発した。
  • 実験の結果、AcodaはGPT-4oを含む7つのLLMに対し最大70%の攻撃成功率を示し、コードの意味を変えずに解析を拒否または誤解させた。

Abstract

With the widespread adoption of Large Language Models (LLMs) in software engineering (SE) tasks such as code understanding, debugging, and vulnerability detection, their powerful semantic reasoning ability has also introduced new security and privacy risks. LLMs can analyze, reconstruct, or even reverse-engineer source code logic, potentially leading to the leakage of intellectual property. To address this issue, we propose Acoda, a genetic algorithm-based adversarial code obfuscation framework that defends against LLM-based code analysis. Acoda leverages two key mechanisms of LLMs, namely safety alignment and token-based information processing, to design 8 semantics-preserving obfuscation methods. It iteratively optimizes obfuscation strategies through a genetic algorithm to generate adversarial samples that maximize defensive effectiveness. In addition, we propose a quantitative evaluation framework based on LLM responses, which combines an auxiliary LLM and four evaluation metrics to assess how target LLMs analyze obfuscated code comprehensively. Experimental results show that Acoda can effectively induce LLMs to refuse or misinterpret code analysis. On 7 state-of-the-art LLMs, including GPT-4o, DeepSeek, Qwen, Llama, and Gemma, Acoda achieves an attack success rate (ASR) of up to 70%, with strong cross-model transferability and minimal runtime overhead, while ensuring that the semantics of the original code remain unchanged. Overall, this study provides a new perspective for code protection and LLM security defense in the era of LLMs.

Paper AI Chat

この論文のPDF全文を対象にAIに質問できます。

質問の例:

AIチャット機能を利用するには、ログインまたは会員登録(無料)が必要です。

会員登録 / ログイン

💬 ディスカッション

ディスカッションに参加するにはログインが必要です。

ログイン / アカウント作成 →

関連するAIDB記事