Repository navigation
[Codex Security] Compromising the UniPager download origin can replace both its signing key and root package - #6
Draft
EmDecay wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
UniPager now requires an independently reviewed signing-key checksum before APT can trust the repository.
hamstack_unipager_repo_key_checksummust be a literal SHA-256 digest; missing or malformed values fail closed.signed_byrepository configuration and the root package installation.hamstack_unipager_install: falsecontinues to permit service-state management without requiring a checksum.Static Verification Checks
Pinned key enforcement (Passed) — roles/digital/unipager/tasks/main.yml validates a literal SHA-256 checksum and binds it to get_url, closing same-origin key substitution.
Trust boundary ordering (Passed) — roles/digital/unipager/tasks/main.yml places checksum verification before signed_by configuration and privileged package installation, closing the original attack path.
Legitimate modes preserved (Passed) — roles/digital/unipager/tasks/main.yml gates checksum enforcement on installation, preserving service management when package installation remains disabled.
Rotation contract preserved (Passed) — roles/digital/unipager/README.md documents independent digest review and explicit key rotation, preserving legitimate repository updates.
Finding:
acf_3aad8b1ad3a40bbd54a7221c5c2d5a61Patch:
arp_6217624af657a5d549a4666047a21c3fBase commit:
0ffb68937bc72420999f9d67bc8af90feb1ef617Patch SHA-256:
31b6f8c852b99224cf59834ecd335f38fe55d3398826600c1489bd93106ea34f