Inspectopedia Help

Access of system properties

Reports code that accesses system properties using one of the following methods:

  • System.getProperties(), System.setProperty(), System.setProperties(), System.clearProperties()

  • Integer.getInteger()

  • Boolean.getBoolean()

While accessing the system properties is not a security risk in itself, it is often found in malicious code. Code that accesses system properties should be closely examined in any security audit.

Inspection Details

Available in:

IntelliJ IDEA 2023.3, Qodana for JVM 2023.3

Plugin:

Java, 233.SNAPSHOT

Last modified: 13 July 2023