Skip to content

ZeroLeak: scalable, low-cost side-channel leak patching with LLMsZeroLeak: Using LLMs for Scalable and Cost Effective Side-Channel Patching

arXiv· arXiv:2308.13062· M. Caner Tol, Berk Sunar·Indexed by this site · 25 days ago· Originally publishedDefenses
AI summary

The ZeroLeak framework uses LLMs to automatically generate patches for microarchitectural side-channel leaks in security-critical software such as OpenSSL; with the GPT-4 configuration, fixing each vulnerability requires only a few cents of API call cost. Patches are generated from zero-shot prompts and dynamically verified at the instruction level by leak detection tools for correctness and leak resistance, covering secret-dependent memory accesses, branches and Spectre gadgets. The authors claim the approach is scalable and far more cost-effective, and will improve as detection tools and LLMs mature.

Read originalarxiv.org