paper-with-me

홈 › Papers

SecurityEval Dataset: Mining Vulnerability Examples to Evaluate Machine Learning-Based Code Generation Techniques

2022-11-09 · 1st International Workshop on Mining Software Repositories Applications for Privacy and Security (MSR4P&S ’22) 2022 11 · Mohammed Latif Siddiq, Joanna C.S. Santos

Automated source code generation is currently a popular machine-learning-based task. It can be helpful for software developers to write functionally correct code from a given context. However, just like human developers, a code generation model can produce vulnerable code, which the developers can mistakenly use. For this reason, evaluating the security of a code generation model is a must. In this paper, we describe SecurityEval, an evaluation dataset to fulfill this purpose. It contains 130 samples for 75 vulnerability types, which are mapped to the Common Weakness Enumeration (CWE). We also demonstrate using our dataset to evaluate one open-source (i.e., InCoder) and one closed-source code generation model (i.e., GitHub Copilot).

📄 PDF Abstract BibTeX

Code (1)

s2e-lab/SecurityEval

Tasks

Code Generation

Similar Papers 제목 키워드 기반

MultiVer: Zero-Shot Multi-Agent Vulnerability Detection

2026-02-19 · Shreshth Rajan arxiv

We present MultiVer, a zero-shot multi-agent system for vulnerability detection that achieves state-of-the-art recall without fine-tuning. A four-agent ensemble (security, correctness, performance, style) with union voti…

Vulnerability Detection

AutoSafeCoder: A Multi-Agent Framework for Securing LLM Code Generation through Static Analysis and Fuzz Testing

2024-09-16 · Ana Nunez, Nafis Tanveer Islam, Sumit Kumar Jha, Peyman Najafirad

Recent advancements in automatic code generation using large language models (LLMs) have brought us closer to fully automated secure software development. However, existing approaches often rely on a single agent for cod…

Code GenerationProgram Synthesis

Adversarial Examples in Deep Learning for Multivariate Time Series Regression

2020-09-24 · Gautam Raj Mode, Khaza Anuarul Hoque

Multivariate time series (MTS) regression tasks are common in many real-world data mining applications including finance, cybersecurity, energy, healthcare, prognostics, and many others. Due to the tremendous success of …

Adversarial AttackDeep Learningimage-classificationImage Classification+4

Automated Software Vulnerability Static Code Analysis Using Generative Pre-Trained Transformer Models

2024-07-31 · Elijah Pelofske, Vincent Urias, Lorie M. Liebrock

Generative Pre-Trained Transformer models have been shown to be surprisingly effective at a variety of natural language processing tasks -- including generating computer code. We evaluate the effectiveness of open source…

Binary ClassificationVulnerability Detection

DCDetector: An IoT terminal vulnerability mining system based on distributed deep ensemble learning under source code representation

2022-11-29 · Wen Zhou

Context: The IoT system infrastructure platform facility vulnerability attack has become the main battlefield of network security attacks. Most of the traditional vulnerability mining methods rely on vulnerability detect…

Ensemble LearningSentenceVulnerability Detection