We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e40e4c3 commit 7be938cCopy full SHA for 7be938c
actions/ql/lib/codeql/actions/security/ArtifactPoisoningQuery.qll
@@ -264,7 +264,7 @@ class ArtifactPoisoningSink extends DataFlow::Node {
264
download.getAFollowingStep() = poisonable and
265
// excluding artifacts downloaded to the temporary directory
266
not download.getPath().regexpMatch("^/tmp.*") and
267
- not download.getPath().regexpMatch("^\\$\\{\\{\\s?runner\\.temp\\s?}}.*") and
+ not download.getPath().regexpMatch("^\\$\\{\\{\\s*runner\\.temp\\s*}}.*") and
268
not download.getPath().regexpMatch("^\\$RUNNER_TEMP.*") and
269
(
270
poisonable.(Run).getScript() = this.asExpr() and
0 commit comments