Validate legacy standalone login envelopes - #1554
Conversation
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a352ac5477
ℹ️ 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".
|
@codex address that feedback |
|
Additional security requirement for the P1 fix: do not accept a queued legacy claim solely because the old tracked source later disappears. An internal publisher could pre-seed a spoofed destination and wait for logout. On re-evaluation, require independent destination authority: on a normal player-facing proxy, the proxy's current player server and actual UUID must match the claim; on a dedicated voting proxy, require confirmed destination presence (otherwise leave the cached work pending). A competing or unconfirmed legacy claim must never become valid just from absence of the source. |
Summary
Testing
|
fcbe0e6 to
a807ed4
Compare
AI disclosure: This commit was created with assistance from ChatGPT.
a807ed4 to
7dadd1d
Compare
|
@codex review |
|
Codex Review: Didn't find any major issues. Keep it up! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
Summary
Security impact
This closes the validated Codex Security finding “Legacy login envelopes bypass presence validation”:
https://chatgpt.com/codex/cloud/security/findings/67ce1cfbc0c08191842d0918ce0c9cb8?sev=critical%2Chigh
Legacy envelopes can no longer select a destination or cached-vote UUID merely by supplying those values. Player-facing proxies derive authority from their native live session. Dedicated proxies fail closed unless modern presence independently confirms the destination.
Review follow-up
The modern-source to legacy-destination race is handled without a delayed pending claim: the player-facing proxy's current route takes precedence over stale backend presence, so a legitimate transfer is accepted immediately once the proxy shows the destination. A queued spoofed destination cannot become valid merely because the old source later logs out.
Regression coverage
PLUGINMESSAGINGuses the proxy-authoritative server and UUID.PLUGINMESSAGINGrejects a mismatched UUID.Validation
mvn -B -f VotingPlugin/pom.xml packagepassed on the final tree before the single clean commit was published.7dadd1d812.AI disclosure: This pull request was created with assistance from ChatGPT.