Upgrade dependencies and harden multi-user security - #60
Merged
Conversation
bifrost0x
force-pushed
the
dev/comprehensive-upgrade
branch
from
July 30, 2026 18:27
70ef34a to
f3b6a10
Compare
bifrost0x
force-pushed
the
dev/comprehensive-upgrade
branch
from
July 30, 2026 20:14
f3b6a10 to
131964f
Compare
bifrost0x
marked this pull request as ready for review
August 1, 2026 11:16
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3b987ffe7e
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
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.
Summary
Why
The previous runtime and dependency set constrained security updates and relied on Eventlet-specific behavior. Several persistence, host-key, transfer, lifecycle, identity, audit, deployment, and account-recovery paths also needed stronger failure handling and clearer security boundaries before the dependency stack could be upgraded safely.
Impact
This is a broad runtime and security upgrade. Deployments gain current dependencies, reproducible installation, stronger per-user isolation, bounded operations, modern identity options, and safer recovery and administration behavior. Existing administrator roles are retained. A fresh homelab opens a one-time browser bootstrap that creates exactly one initial administrator and then closes atomically. Existing installations preserve their administrators. The production overlay rejects browser bootstrap and open registration.
Passkey sign-in is username-less to prevent account enumeration. Existing non-discoverable credentials can be replaced from the authenticated Security page through the current-password-protected replacement flow. Audit exports carry explicit completeness metadata and warn when the bounded scan limit is reached.
Recovery login now shares the login rate-limit policy and uses fixed verification work for missing, locked, and existing accounts. Expired WebAuthn challenges are pruned during challenge creation.
Deployment documentation and environment-variable guidance have been updated for the new runtime, security profile, identity providers, backup and rotation workflow, and operational checks.
Validation
requirements.txtandrequirements-test.txtin a clean Python 3.11 environment withuv pip install --require-hashes1247 passed, 28 skipped1241 passed, 33 skipped60 passed21 passednpm audit --omit=dev:0 vulnerabilitiesgit diff --checkpassed