1ede2b92-d90b-45c7-8515-8eddb5c677e6

Gartner® Report: Best Practices to Mitigate Security Risks with Agentic Coding Tools

Agentic coding tools are transforming how software engineers work day-to-day, but securing AI-generated code remains elusive. Software engineering leaders should use the best practices in this research to mitigate the security risks of AI-generated code.

Agentic coding tools are inherently incapable of taking accountability; you and your engineers are. Accountability is what makes a human software engineer second-guess their code quality and security. Software engineering leaders are accountable for ensuring that agentic coding tools are performing as intended and are securely configured.

This report shares several insights into how to:

  • Maintain accountability and ownership of AI-generated code by instituting AI software leads for business-critical, customer-facing application

  • Establish policy guidelines for the safe use of AI tools in the software development lifecycle (SDLC)

  • Apply a minimum viable level of security automation for agentic coding as part of the software development life cycle

 Submit the form to view all the insights.

 

Gartner, Best Practices to Mitigate Security Risks With Agentic Coding Tools, Aaron Lord, Manjunath Bhat, March 24, 2026.

Gartner does not endorse any vendor, product or service depicted in its research publications, and does not advise technology users to select only those vendors with the highest ratings or other designation. Gartner research publications consist of the opinions of Gartner’s research organization and should not be construed as statements of fact. Gartner disclaims all warranties, expressed or implied, with respect to this research, including any warranties of merchantability or fitness for a particular purpose.

GARTNER is a registered trademark and service mark of Gartner, Inc. and/or its affiliates in the U.S. and internationally and is used herein with permission. All rights reserved.


Get this for free

By submitting this form, you agree to have your contact information, including email and phone, processed by IT Library and the sponsors of this page for the purpose of following up on your professional interests.*

IT Library needs the contact information you provide to us to contact you about our products and services. You may unsubscribe from these communications at any time. For information on how to unsubscribe, as well as our privacy practices and commitment to protecting your privacy, please review our Terms of Use & Privacy Policy.