Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
EnvTaintedMethod
1 parent e021158 commit d98b171Copy full SHA for d98b171
1 file changed
java/ql/src/semmle/code/java/dataflow/FlowSources.qll
@@ -292,7 +292,8 @@ private class SpringWebRequestGetMethod extends Method {
292
}
293
294
295
-private class EnvTaintedMethod extends Method {
+/** Models methods that are tainted by the environment of the user, such as `System.getProperty` or `System.getenv()`. */
296
+class EnvTaintedMethod extends Method {
297
EnvTaintedMethod() {
298
this instanceof MethodSystemGetenv or
299
this instanceof PropertiesGetPropertyMethod or
0 commit comments