Fix escaping.

This commit is contained in:
Adnan Khan
2025-04-25 15:00:14 -04:00
committed by GitHub
parent 38f00775bd
commit a9c4d6f383

View File

@@ -264,7 +264,7 @@ class ArtifactPoisoningSink extends DataFlow::Node {
download.getAFollowingStep() = poisonable and
// excluding artifacts downloaded to /tmp and runner.tmp
not download.getPath().regexpMatch("^/tmp.*") and
not download.getPath().regexpMatch("^\${{\s?runner.temp\s?}}.*") and
not download.getPath().regexpMatch("^\\${{\\s?runner.temp\\s?}}.*") and
(
poisonable.(Run).getScript() = this.asExpr() and
(