Security-by-Design for LLM-Based Code Generation: Leveraging Internal Representations for Concept-Driven Steering Mechanisms
Maximilian Wendlinger 1 , Daniel Kowatsch 1 , Konstantin Böttinger 1 , Philip Sperl 1 · 2026
Read Security-by-Design for LLM-Based Code Generation: Leveraging Internal Representations for Concept-Driven Steering Mechanisms by Maximilian Wendlinger 1 , Daniel Kowatsch 1 , Konstantin Böttinger 1 , Philip Sperl 1 (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2603-11212.txt.
Description
Maximilian Wendlinger and coauthors look inside code-generating language models. They find the models often register security problems. They do so even while writing insecure code. Combined benchmarks show current fixes yield only limited gains in correctness and security. The authors trace this gap to poor understanding of the internal mechanisms behind vulnerable output. Their method, Secure Concept Steering, nudges internal representations toward secure, functional code during generation. It is a lightweight modular add-on. It beats state-of-the-art approaches on several secure coding benchmarks.
Catalog record
| CREATOR | Maximilian Wendlinger 1 , Daniel Kowatsch 1 , Konstantin Böttinger 1 , Philip Sperl 1 |
|---|---|
| YEAR | 2026 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 96390 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2603.11212