A2A ref fetch: rebuild #238 with path-traversal fix, working remote route, and real registry_url fallback - #242
A2A ref fetch: rebuild #238 with path-traversal fix, working remote route, and real registry_url fallback#242jaylfc wants to merge 1 commit into
Conversation
|
ⓘ Qodo reviews are paused because your trial has ended. Ask your workspace admin to add credits to resume reviews. Manage billing |
|
Warning Review limit reached
Next review available in: 33 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (5)
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 |
|
Kilo Code Review could not run — your account is out of credits. Add credits or switch to a free model to enable reviews on this change. |
Review: blocked, 3 blockers. The traversal fix is sound; the token-scope hole is not closedI closed #238 because it could send our registry bearer token outside the Files scope. So I The path-traversal fix holds. Both controls reject, and the accepted cases are neutralised: The three ACCEPTs are safe, but for a reason worth writing down: The problem is that the token-scope defect did not go away. It moved. Blocker 1: the registry bearer token follows redirects to any host
The ref uri here is entirely well-formed, no dot segments, and Two things make this worse than it first looks:
Fix: build an opener with a redirect handler that drops Blocker 2:
|
|
Revision card filed: This PR is not being abandoned and it stays open. The card's STEP 0 squash-merges this branch so the work carries forward. The reason it needs a new card rather than a revision of this one's card is mechanical, and I checked it in source today rather than assuming the tooling had landed: STEP 0 uses Findings are unchanged from my review above; the card summarises them and points back here as the authoritative detail. |
|
Superseded and closed: #264 merged as Same reasoning as #234, and the same hazard: #264 is a carry-forward revision of this PR ( Verified on master after the merge rather than taken on trust:
One known gap carried forward openly: #264's The review findings here stand as history. Branch untouched. |
CARD TITLE (intent, not commit subject): A2A ref fetch: rebuild #238 with path-traversal fix, working remote route, and real registry_url fallback
Autonomous build of board card tsk-7xcsh5.
Files:
taosmd/config.py | 47 +++++++++
taosmd/ref_fetch.py | 153 ++++++++++++++++++++++++++++++
taosmd/remote.py | 8 ++
taosmd/service.py | 62 +++++++++++-
tests/test_ref_fetch.py | 247 ++++++++++++++++++++++++++++++++++++++++++++++++
5 files changed, 516 insertions(+), 1 deletion(-)