Skip to content

[2026 by GPT-5.6 Sol] Use exact URL origins in desktop credential-service mock assertions - #2027

Merged
integry merged 1 commit into
1953-epic-desktop-transport-apifrom
2026/gpt-5.6-sol-use-exact-url-origins-in--20260831-1838-6br
Aug 31, 2026
Merged

integry merged 1 commit into
1953-epic-desktop-transport-apifrom
2026/gpt-5.6-sol-use-exact-url-origins-in--20260831-1838-6br

Conversation

@propr-dev

@propr-dev propr-dev Bot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

AI Implementation Summary

Closes #2026

Branch: 2026/gpt-5.6-sol-use-exact-url-origins-in--20260831-1838-6br
Commits: ✅ Changes committed (08e138f)


AI Processing Completed

Execution Details:

Summary:
Implemented the exact-origin assertion fix in credential-service.test.ts.

  • Reuses a fixed attacker origin for probing and filtering.
  • Parses request URLs and compares exact .origin.
  • Proves attacker-origin requests were observed before checking all omit authorization.
  • Preserves existing credential non-forwarding assertions.

Validation:

  • Focused credential-service tests: 68 passed
  • Desktop tests: 149 passed
  • Desktop/UI typecheck: passed
  • git diff --check: passed
  • CodeQL CLI was unavailable in the environment, so local CodeQL analysis could not be run.

Changed files: apps/desktop/src/credential-service.test.ts only.

Detailed Logs:

  • Conversation: 29 messages
  • Session: 01a0591e-d47d-7b50-b0e4-cf158d3896af

Log files stored at:

  • conversation: /tmp/claude-logs/issue-2026-2026-08-31T18-44-04-908Z-conversation.json
  • output: /tmp/claude-logs/issue-2026-2026-08-31T18-44-04-908Z-output.txt
Latest Conversation Messages

This PR was created automatically by ProPR after processing issue #2026.


💡 Need changes?

Comment on this PR to request refinements — the AI agent monitors comments and will update the implementation based on your feedback. Keep iterating until you're satisfied!

…ntial-servic

Implemented by ProPR AI using gpt-5.6-sol model.

Implementation completed successfully.
@integry

integry commented Aug 31, 2026

Copy link
Copy Markdown
Owner

/review

@propr-dev

propr-dev Bot commented Aug 31, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ AI Code Review Complete requested by @integry

Posted 1 review:

View Task Details

@integry integry removed the AI label Aug 31, 2026
@propr-dev

propr-dev Bot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor Author

🔍 AI Code Review — codex:gpt-5.6-sol

Overall Evaluation

The PR correctly strengthens the credential-forwarding regression test by replacing prefix matching with exact URL-origin comparison and preventing a vacuous assertion. It is ready to merge from a code-review perspective, conditional on the two pending checks completing successfully.

✅ Exact origin matching — new URL(request.url).origin === attackerOrigin avoids treating lookalike hosts as attacker-origin requests.

✅ Non-vacuous authorization check — The test first confirms that at least one attacker-origin request occurred, then verifies every such request omitted authorization.

Merge blockers

No merge blockers.

Suggestions

These are optional follow-ups and are not sent to /fix.

No suggestions.

Score

The focused change fully meets the objective without introducing a verified regression, and all completed current-head checks pass. Two checks remain pending, but there are no known failures or code blockers.

Score: 9/10


🤖 Review Details

  • Model: GPT-5.6 Sol
  • Time: 20s
  • Tokens: 21,399 (21,000 in / 399 out)
  • Cost: $0.06

View Task


💡 Next step: Comment /fix to address F# merge blockers only.
F# IDs increment across review comments and remain permanent, so selectors such as /fix F3 F5 stay unambiguous across cycles. Suggestions require a separate ordinary follow-up request.

🤖 Review by ProPR

@integry
integry merged commit 6bf201d into 1953-epic-desktop-transport-api Aug 31, 2026
21 checks passed
@integry
integry deleted the 2026/gpt-5.6-sol-use-exact-url-origins-in--20260831-1838-6br branch September 1, 2026 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant