You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Use exact URL origins in desktop credential-service mock assertions #2026
Correct the single high CodeQL alert inherited by the desktop transport epic from commit d75cda981c9f5baba06504a4949ad9a7aa7d50bf. Target only branch 1953-epic-desktop-transport-api; do not target or merge to main, and do not modify existing child PRs #1989, #2023, or #2025.
Scope the implementation to apps/desktop/src/credential-service.test.ts unless a tiny test helper is essential. At the current assertion near line 658, replace request.url.startsWith('https://attacker.example.test') with URL parsing and exact .origin equality. Define one fixed attacker origin and reuse it for the probe URL and filtering. Keep the authorization non-forwarding assertion, and make it explicitly non-vacuous by proving at least one attacker-origin request was observed before asserting every such request has authorization === null.
This is a test/mock correctness fix, not a production URL-policy change. Do not weaken, dismiss, suppress, or baseline the js/incomplete-url-substring-sanitization alert. Add a focused negative assertion if useful to prove lookalike hosts such as attacker.example.test.evil.invalid do not match the exact origin. Run the focused credential-service tests, desktop tests/typecheck, git diff --check, and CodeQL. Keep the PR narrowly scoped and report the exact changed files.
Activity
propr-dev commentedon Aug 31, 2026
🤖 AI processing has started for this issue using codex agent with gpt-5.6-sol model.
I'll analyze the problem and work on a solution. This may take a few minutes.
Processing Details:
codexgpt-5.6-sol2026/gpt-5.6-sol-use-exact-url-origins-in--20260831-1838-6br1953-epic-desktop-transport-apiissue-2026-20260831-1838-gpt-5.6-sol-6br🔍 Track Task Execution
fix(ai): Resolve issue #2026 - Use exact URL origins in desktop crede…
integry commentedon Aug 31, 2026
Completed by #2027, merged into the transport epic as 6bf201d. Exact one-file review found no blockers and all current-head checks passed.