paper-with-me

Papers

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 code generation, which struggles to produce secure, vulnerability-free code. Traditional program synthesis with LLMs has primarily focused on functional correctness, often neglecting critical dynamic security implications that happen during runtime. To address these challenges, we propose AutoSafeCoder, a multi-agent framework that leverages LLM-driven agents for code generation, vulnerability analysis, and security enhancement through continuous collaboration. The framework consists of three agents: a Coding Agent responsible for code generation, a Static Analyzer Agent identifying vulnerabilities, and a Fuzzing Agent performing dynamic testing using a mutation-based fuzzing approach to detect runtime errors. Our contribution focuses on ensuring the safety of multi-agent code generation by integrating dynamic and static testing in an iterative process during code generation by LLM that improves security. Experiments using the SecurityEval dataset demonstrate a 13% reduction in code vulnerabilities compared to baseline LLMs, with no compromise in functionality.

📄 PDF Abstract BibTeX arXiv:2409.10737

Code (1)

secureaiautonomylab/autosafecoder 공식 구현

Tasks

Code GenerationProgram Synthesis

Similar Papers 제목 키워드 기반

Securing Agentic AI Systems -- A Multilayer Security Framework

2025-12-19 · Sunil Arora, John Hastings arxiv

Securing Agentic Artificial Intelligence (AI) systems requires addressing the complex cyber risks introduced by autonomous, decision-making, and adaptive behaviors. Agentic AI systems are increasingly deployed across ind…

AgentBound: Securing Execution Boundaries of AI Agents

2025-10-24 · Christoph Bühler, Matteo Biagiola, Luca Di Grazia, Guido Salvaneschi arxiv

Large Language Models (LLMs) have evolved into AI agents that interact with external tools and environments to perform complex tasks. The Model Context Protocol (MCP) has become the de facto standard for connecting agent…

The PBSAI Governance Ecosystem: A Multi-Agent AI Reference Architecture for Securing Enterprise AI Estates

2026-02-11 · John M. Willis arxiv

Enterprises are rapidly deploying large language models, retrieval augmented generation pipelines, and tool using agents into production, often on shared high performance computing clusters and cloud accelerator platform…

Securing Multi-Agent GIS Systems: Risk Evaluation and Prompt Hardening Optimization

2026-06-13 · Kyle Gao, Pranavi Kotta, Linlin Xu, Jonathan Li 외 arxiv

Agentic systems are increasingly integrated with geographic information systems (GIS), where multi-agent coordination enables complex conversational and spatial analysis but introduces security risks. This work presents …

Securing Multi-Agent Systems Against Corruptions via Node Contribution Backpropagation

2025-10-22 · Chengcan Wu, Zhixin Zhang, Mingqian Xu, Zeming Wei 외 arxiv

Multi-Agent Systems (MAS) have become a prevalent paradigm for Large Language Model (LLM) applications. However, the complex multi-agent design in MAS introduces unique trustworthiness concerns: adversarial agents can in…