Skip to content

Pin github actions to reduce risk (#17043) - #17044

Merged
normanmaurer merged 1 commit into
4.1from
pin41
Jul 7, 2026
Merged

normanmaurer merged 1 commit into
4.1from
pin41

Conversation

@normanmaurer

Copy link
Copy Markdown
Member

Motivation:

An attacker who compromises any of three upstream GitHub Actions
repositories can force-push a malicious commit to a mutable version tag,
causing the next Netty release run to exfiltrate SSH deploy keys, GPG
signing keys, and Maven Central credentials — enabling publication of
backdoored io.netty:* artifacts to Maven Central.

Modifications:

Pin github actions to sha

Result:

Reduce risk


Co-authored-by: Chris Vest [email protected]

Motivation:

An attacker who compromises any of three upstream GitHub Actions
repositories can force-push a malicious commit to a mutable version tag,
causing the next Netty release run to exfiltrate SSH deploy keys, GPG
signing keys, and Maven Central credentials — enabling publication of
backdoored `io.netty:*` artifacts to Maven Central.

Modifications:

Pin github actions to sha

Result:

Reduce risk

---------

Co-authored-by: Chris Vest <[email protected]>
@slandelle

Copy link
Copy Markdown
Contributor

@normanmaurer How do you intend to maintain these actions then? Once in a while? Only when something breaks? Never?

@normanmaurer

Copy link
Copy Markdown
Member Author

We should update from time to time ... using the sha of a specific release

@normanmaurer
normanmaurer merged commit 7b44dc9 into 4.1 Jul 7, 2026
19 checks passed
@normanmaurer
normanmaurer deleted the pin41 branch July 7, 2026 23:25
lltopk pushed a commit to lltopk/netty that referenced this pull request Oct 24, 2026
Motivation:

An attacker who compromises any of three upstream GitHub Actions
repositories can force-push a malicious commit to a mutable version tag,
causing the next Netty release run to exfiltrate SSH deploy keys, GPG
signing keys, and Maven Central credentials — enabling publication of
backdoored `io.netty:*` artifacts to Maven Central.

Modifications:

Pin github actions to sha

Result:

Reduce risk

---------

Co-authored-by: Chris Vest <[email protected]>

Co-authored-by: Chris Vest <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants