paper-with-me

Papers

SALLM: Security Assessment of Generated Code

2023-11-01 · Mohammed Latif Siddiq, Joanna C. S. Santos, Sajith Devareddy, Anna Muller

With the growing popularity of Large Language Models (LLMs) in software engineers' daily practices, it is important to ensure that the code generated by these tools is not only functionally correct but also free of vulnerabilities. Although LLMs can help developers to be more productive, prior empirical studies have shown that LLMs can generate insecure code. There are two contributing factors to the insecure code generation. First, existing datasets used to evaluate LLMs do not adequately represent genuine software engineering tasks sensitive to security. Instead, they are often based on competitive programming challenges or classroom-type coding tasks. In real-world applications, the code produced is integrated into larger codebases, introducing potential security risks. Second, existing evaluation metrics primarily focus on the functional correctness of the generated code while ignoring security considerations. Therefore, in this paper, we described SALLM, a framework to benchmark LLMs' abilities to generate secure code systematically. This framework has three major components: a novel dataset of security-centric Python prompts, configurable assessment techniques to evaluate the generated code, and novel metrics to evaluate the models' performance from the perspective of secure code generation.

📄 PDF Abstract BibTeX arXiv:2311.00889

Code (0)

등록된 구현이 없습니다.

Tasks

Code Generation

Methods 이 논문이 사용한 방법론

Focus 설명 없음

Similar Papers 제목 키워드 기반

Assessing the Software Security Comprehension of Large Language Models

2025-12-24 · Mohammed Latif Siddiq, Natalie Sekerak, Antonio Karam, Maria Leal 외 arxiv

Large language models (LLMs) are increasingly used in software development, but their level of software security expertise remains unclear. This work systematically evaluates the security comprehension of five leading LL…

CausalLM is not optimal for in-context learning

2023-08-14 · Nan Ding, Tomer Levinboim, Jialin Wu, Sebastian Goodman 외

Recent empirical evidence indicates that transformer based in-context learning performs better when using a prefix language model (prefixLM), in which in-context samples can all attend to each other, compared to causal l…

In-Context LearningLanguage ModelingLanguage Modelling

Advancing Speech Understanding in Speech-Aware Language Models with GRPO

2025-09-21 · Avishai Elmakies, Hagai Aronowitz, Nimrod Shabtay, Eli Schwartz 외 arxiv

In this paper, we introduce a Group Relative Policy Optimization (GRPO)-based method for training Speech-Aware Large Language Models (SALLMs) on open-format speech understanding tasks, such as Spoken Question Answering a…

Question Answering

Automating the Correctness Assessment of AI-generated Code for Security Contexts

2023-10-28 · Domenico Cotroneo, Alessio Foggia, Cristina Improta, Pietro Liguori 외

Evaluating the correctness of code generated by AI is a challenging open problem. In this paper, we propose a fully automated method, named ACCA, to evaluate the correctness of AI-generated code for security purposes. Th…

Language Modelling

The Hidden Risks of LLM-Generated Web Application Code: A Security-Centric Evaluation of Code Generation Capabilities in Large Language Models

2025-04-29 · Swaroop Dora, Deven Lunkad, Naziya Aslam, S. Venkatesan 외

The rapid advancement of Large Language Models (LLMs) has enhanced software development processes, minimizing the time and effort required for coding and enhancing developer productivity. However, despite their potential…

Code Generation