fix(security): harden OIDC replay media-type protocol - #273
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthroughOIDC replay guard가 Content-Type을 정규화하고 ChangesOIDC replay 계약
Estimated code review effort: 3 (Moderate) | ~20 minutes Merge Risk: 🟡 Moderate · up to The PR hardens OIDC replay media-type validation, but the exact head is not merge-ready because required application CI fails on the inherited nanoid dependency vulnerability; merge should wait for the separate remediation and a fresh successful CI run. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@coderabbitai review Review exact current head |
Rate Limit Exceeded
|
|
@coderabbitai review Review exact head |
Rate Limit Exceeded
|
Purpose
Harden both sides of Noema's internal OIDC replay-guard JSON protocol. The Durable Object request boundary and caller response boundary authenticate the exact JSON media type before parsing or replay-state decisions.
Exact identities
933471b954512710bb9635f18f45fe8f323adcff2e9475007545a0c760061ab8e30a9050e28d0680fix/oidc-replay-content-type-boundarySecurity contract
application/json, case-insensitively.415before claim storage; rejected input cannot consume replay state.201withaccepted:true; replay is only HTTP409withaccepted:false; other statuses fail closed.The branch is merged with protected
mainafter #270. Its current four-path diff is limited tosrc/oidc-replay.tsand focused protocol tests. Applicationci,reviewer-ci, protected-base-eligibleSecurity Scan, and fresh review must all succeed on unchanged current head before merge. Historical or pending evidence is non-passing.No replay-state relaxation, audit waiver, protection bypass, release, or deployment claim.