A Security Risk Assessment Framework for AI-Powered Development Tools
Abstract
AI-powered development tools are now widely used to generate code and assist developers with routine programming tasks. Although existing work has identified vulnerabilities in AI-generated code, security-oriented work is often focused on vulnerability detection rather than risk assessment. To address this gap, this paper presents a Security Risk Assessment Framework (SRF) to evaluate the security risks of AI-generated code. SRF combines threat modeling, security analysis, and a quantitative risk evaluation approach based on vulnerability criticality. The framework is applied to a set of security-relevant programming tasks, where code generated by multiple AI-powered development tools is analyzed using Bandit and Semgrep. The results show that AI-generated code can introduce security vulnerabilities across all evaluated tools. They also show that risk levels vary by task type, as input processing and file handling tasks showed higher risk, while simpler tasks remained low-risk. Differences between tools exist but are smaller than differences across task categories. Overall, SRF enables reproducible evaluation of AI-generated code and provides a practical framework for assessing its security implications.
Create a lesson
Related papers
Toward Secure AI-Powered Penetration Testing Agents: Security Threats, Guardrails, and Architectural Perspectives
Shared title terminologycs.CRRahul Dev T Y, Hiran V Nath
Assessing Data Leakage Risk in Fine-Tuned LLMs via Membership Inference Attacks
Shared title terminologycs.CRMohamed-Jalal Baim, Léa Deleris, Myriam Tami et al.
SoK: Bridging Secure Multi-Party Computation Protocols and Open-Source Frameworks
Shared title terminologycs.CRFuyi Wang, Yaxi Yang, Junzhe Dong et al.
Assessing the Robustness of Defense Frameworks Against Data Attacks on AI Systems
Shared title terminologycs.CRVishnu Kurnala, Nelly Elsayed
SICP Industry Summit 2026-07: AI and Secure Software Development Summit
Shared title terminologycs.CRAnna Lena Rotthaler, Yasemin Acar, Stefanie Borchert et al.
Fast Decisions, Hidden Risks: Measuring the Security Portrait of System One Model Applications from Jev and Beyond
Shared title terminologycs.CRBo Li, Yue Yang, Xin Zheng et al.