Content-Length: 289898 | pFad | http://github.com/github/codeql/pull/19388/commits/f4f919635a7ee0eb9accf3c76138282cc758c23b

83 Actions: Fix Critical Artifact poisoning False Positive by AdnaneKhan · Pull Request #19388 · github/codeql · GitHub
Skip to content

Actions: Fix Critical Artifact poisoning False Positive #19388

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Jul 14, 2025
Merged
Prev Previous commit
Next Next commit
Correctly specify regex.
Co-authored-by: Jaroslav Lobačevski <jarlob@github.com>
  • Loading branch information
AdnaneKhan and JarLob authored Jul 8, 2025
commit f4f919635a7ee0eb9accf3c76138282cc758c23b
Original file line number Diff line number Diff line change
Expand Up @@ -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
(
Expand Down
Loading








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/github/codeql/pull/19388/commits/f4f919635a7ee0eb9accf3c76138282cc758c23b

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy