SonarQube Cloud now detects injection vulnerabilities in Go projects

Hello Go developers and AI agents,

We are excited to announce :tada: that Sonar now supports Taint Analysis for Go, enabling you to detect injection vulnerabilities in your Go projects!

:shield: Supported Security Rules

Our Go Taint Analysis currently supports the following rules:

Example of an issue raised by “Change this code to not construct the path from user-controlled data”:

For a complete list of Go security rules, please visit the Sonar Go Rules page.

:rocket: Feedback

As this is the first release of these 9 injection rules, your feedback is more valuable than ever. Let us know how it works for you and help us make Go development (written by hand or generated by AI) even more secure!

Enjoy!
Alex

Note: this feature and new rules will be part of SonarQube Server 2025.4 (end of July 2025)

8 Likes