fix: security hardening batch — pip env var, gosu SHA256, user churn, README, linter config - #13
Merged
Merged
Conversation
… README, linter config - Replace --break-system-packages flag with PIP_BREAK_SYSTEM_PACKAGES=1 env var - Fix gosu SHA256 verification: use sha256sum -c with temp checksum file instead of fragile sed path rewriting - Avoid unnecessary userdel/groupdel on every restart — only recreate simplex user when UID/GID actually changed - Remove stale patch-hermes-simplex.sh reference from .dockerignore - Remove stale compatibility note referencing deleted feat/hermes-v0.16.0 branch - Add .hadolint.yaml with suppressed false positives
libre-7
force-pushed
the
hardened/security-batch
branch
from
August 24, 2026 06:56
ae5f1de to
3dfee15
Compare
Owner
Author
|
Rebased onto post-#17 main. Scope reduced to this PR's unique contributions:
Dropped as superseded by #17: pip Websockets pin resolution: PyPI latest stable at execution time is 17.0.1 — identical to what #17 already pinned, so the single pin everywhere is |
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.
Changes
Batch of security hardening fixes for simplex-bridge:
Dockerfile
--break-system-packagesflag withPIP_BREAK_SYSTEM_PACKAGES=1env var — avoids bypassing PEP 668 protection directlysha256sum -cwith a temp checksum file instead of fragilesedpath rewriting that would break if upstream changes the checksum file formatentrypoint.sh
simplexuser when UID/GID actually changed. Reduces filesystem churn and startup timeHousekeeping
patch-hermes-simplex.shreference from .dockerignore (file doesn't exist on main)feat/hermes-v0.16.0branchVerification