DEV Community

Anna Voronina
Anna Voronina

Posted on

PVS-Studio, Java and OWASP Top Ten 2021

Hi there! Java remains one of the main languages for server-side development. And for server applications, the most important thing is to stay secure against current threats.

The OWASP Top 10 is one of the key classifications of web vulnerabilities. It outlines 10 generalized categories, each covering a range of real-world attacks on web applications. What tools can help us find such threats? For example, PVS-Studio, which is a static analyzer that supports Java among other languages. So, can we use it to detect potential vulnerabilities listed in the OWASP Top 10?

We're happy to answer - yes! Over time, we've worked hard to ensure that PVS-Studio for Java can detect potential vulnerabilities across more categories of the OWASP Top 10. Currently, the analyzer diagnostic rules cover 9 out of 10 categories. These include possible SQL injections, Path-Traversal, XSS injections, and more.

You can get a quick glimpse in the article "OWASP Top Ten 2021 explained with simple Java examples and SAST insights." But it's always better to try it for yourself. You can get a trial license for PVS-Studio for your Java project using this link.

With the promo code java_owasp, you can use PVS-Studio for free for 30 days.

Top comments (0)