Multi-SALLM: a multilingual security assessment of generated code
Abstract As Large Language Models (LLMs) become increasingly integrated into software engineers' daily workflows, it is critical to ensure the code they generate is not just functionally correct but also secure. While LLMs can boost developer productivity, prior empirical studies have shown that they often produce insecure code. This issue stems from two key factors. First, the datasets commonly used to evaluate LLMs don't accurately reflect real-world software engineering tasks where security is a concern. Instead, they tend to focus on competitive programming problems or classroom-style exercises, which lack the complexity and security risks of production code integrated into larger systems. Second, current evaluation metrics mostly emphasize functional correctness and overlook security aspects altogether. To address these gaps, we introduce Multi-Sallm, a benchmarking framework designed to systematically evaluate LLMs' ability to generate secure code. The framework includes three main components: (1) a novel dataset of security-focused Python prompts translated into 23 natural languages, (2) configurable assessment techniques for analyzing generated code, and (3) new metrics that assess models from the perspective of secure code generation.
Authors
- Noshin Ulfat (ORCID: https://orcid.org/0000-0003-3883-4433)
- Marcos Zampieri (ORCID: https://orcid.org/0000-0002-2346-3847)
- Joanna C. S. Santos (ORCID: https://orcid.org/0000-0001-8743-2516)
- Mohammed Latif Siddiq (ORCID: https://orcid.org/0000-0002-7984-3611)
- Nishat Raihan
Institutions
- University of Notre Dame (US)
- The University of Texas at Dallas (US)
- George Mason University (US)
- IQVIA (United Kingdom) (GB)
Publication Details
- Journal
- Automated Software Engineering
- Published
- 2026-08-26
- DOI
- https://doi.org/10.1007/s10515-026-00646-5
- Primary Topic
- Software Engineering Research
- Type
- article
- Field-Weighted Citation Impact
- 0.00