Skip to content

Pin github actions to reduce risk - #1000

Merged
normanmaurer merged 1 commit into
mainfrom
pin
Aug 19, 2026
Merged

normanmaurer merged 1 commit into
mainfrom
pin

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. Fixes #818

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. Fixes #818
@normanmaurer normanmaurer added this to the 2.0.82.Final milestone Aug 19, 2026
@normanmaurer
normanmaurer merged commit a4c20b5 into main Aug 19, 2026
17 checks passed
@normanmaurer
normanmaurer deleted the pin branch August 19, 2026 13:46
fredericgermain added a commit to fredericgermain/netty-tcnative that referenced this pull request Aug 21, 2026
Upstream pinned every action to a full commit SHA in netty#1000, motivated by an attacker
force-pushing a malicious commit to a mutable version tag and exfiltrating signing keys
and Maven Central credentials from a release run. This copy of the publisher predated that
and still referenced mutable tags.

It is the workflow that most warrants pinning: it is the only one granted packages:write.
Track the same SHAs ci-speedups now carries, so the two copies stay byte-identical as the
commit that added this file said they would.
@normanmaurer normanmaurer mentioned this pull request Oct 30, 2026
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.

Hash-pin workflow GitHub Actions

1 participant