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 987af4c commit 38f0077Copy full SHA for 38f0077
actions/ql/lib/codeql/actions/security/ArtifactPoisoningQuery.qll
@@ -262,8 +262,9 @@ class ArtifactPoisoningSink extends DataFlow::Node {
262
263
ArtifactPoisoningSink() {
264
download.getAFollowingStep() = poisonable and
265
- // excluding artifacts downloaded to /tmp
+ // excluding artifacts downloaded to /tmp and runner.tmp
266
not download.getPath().regexpMatch("^/tmp.*") and
267
+ not download.getPath().regexpMatch("^\${{\s?runner.temp\s?}}.*") and
268
(
269
poisonable.(Run).getScript() = this.asExpr() and
270
0 commit comments