Skip to content

Commit 0ec3ee2

Browse files
authored
Style last use of SecureASTCustomizer
1 parent bb58a50 commit 0ec3ee2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/ql/src/experimental/Security/CWE/CWE-094/GroovyInjection.qhelp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ a Groovy script (see the article "Abusing Meta Programming for Unauthenticated R
2525

2626
Groovy's <code>SecureASTCustomizer</code> allows securing source code by controlling what code constructs are permitted.
2727
This is typically done when using Groovy for its scripting or domain specific language (DSL) features.
28-
The fundamental problem is that Groovy is a dynamic language, yet SecureASTCustomizer works by looking at Groovy AST statically.
28+
The fundamental problem is that Groovy is a dynamic language, yet <code>SecureASTCustomizer</code> works by looking at Groovy AST statically.
2929

3030
This makes it very easy for an attacker to bypass many of the intended checks
3131
(see https://kohsuke.org/2012/04/27/groovy-secureastcustomizer-is-harmful/).

0 commit comments

Comments
 (0)