Skip to content

fix: harden OAuth callbacks and packaged notifications - #75

Merged
leecyang merged 1 commit into
LingXi-Org:mainfrom
lyyzka:codex/oauth-callback-hardening
Aug 27, 2026
Merged

fix: harden OAuth callbacks and packaged notifications#75
leecyang merged 1 commit into
LingXi-Org:mainfrom
lyyzka:codex/oauth-callback-hardening

Conversation

@lyyzka

@lyyzka lyyzka commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Summary

  • validate OAuth return URLs by parsed scheme, hostname, effective port, credentials, and path boundaries
  • bind mobile OAuth callbacks to a cryptographically random, expiring, single-use nonce
  • load the packaged Electron notification renderer through app://lingxiloop
  • add regression coverage for URL spoofing, nonce mismatch/expiry/replay, and the notification URL

Validation

  • npm test (291 passed)
  • npm run lint
  • npm run typecheck
  • npm run server:typecheck
  • npm run build

Closes #70
Closes #71
Closes #72

@leecyang
leecyang merged commit e9409a9 into LingXi-Org:main Aug 27, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant