Gh Actions - Artifact Poisoning

Support HackTricks

Artifact Poisoning

There are several Github Actions that allows to download artifacts from other repositories. These other repositories will usually have a Github Action to upload the artifact that will be later be downloaded.

If an attacker can somehow compromise the Github Action, he will be able to compromise the uploaded artifact which could allow him to compromise other workflows that use it.

Example of artifact download from a different repository:

For more info and defence options (such as hardcoding the artifact to download) check https://www.legitsecurity.com/blog/artifact-poisoning-vulnerability-discovered-in-rust

Support HackTricks

Last updated