Gh Actions - Artifact Poisoning

Learn AWS hacking from zero to hero with htARTE (HackTricks AWS Red Team Expert)!

Other ways to 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

Learn AWS hacking from zero to hero with htARTE (HackTricks AWS Red Team Expert)!

Other ways to support HackTricks:

Last updated