fix: pin untrusted Python media fetches - #30
Conversation
|
Independent review of child SHA What's rightPer-hop The header policy is stricter than I asked for: caller-supplied
Finding —
|
|
Re-review of
The docstring is the part I'd most want kept: it states plainly that a broad One operational consequence, deliberate but worth routingThis is fail-closed on a previously working path: any deployment using QQ chunked uploads stops working until an operator sets StatusCodeQL, ruff, lints, uv.lock, contributors, and common-ancestor checks are green; the Python test slices and docs-site job were still pending when I looked. Green CI remains a precondition. Earlier non-blocking notes stand: Nothing merged. Parent pointer PR reviewed separately. |
|
Closing without merge because the platform is moving to the latest official NousResearch/hermes-agent version instead of maintaining this fork-specific outbound HTTP implementation. Pieverse-Eng/purrfect-claw-platform#1786 and its tracker NousResearch#1732 have been closed as superseded/not planned. The official upstream already carries the shared URL-safety client, connect-time DNS/IP validation, and redirect guards for the channel media paths; remaining OpenAI/provider image work is tracked upstream in NousResearch#54553 and NousResearch#45537. We therefore will not ship or maintain this separate |
Outcome
Adds one strict Python outbound HTTP boundary and migrates every remote-fetch/upload path tracked by Pieverse-Eng/purrfect-claw-platform#1732.
files.slack.commyqcloud.comsuffixes fail closedQQ_COS_UPLOAD_HOSTS/cos_upload_hostsfor legitimate chunked uploads over 10 MBVerification
ruff check .: passedty check tools/safe_http.py: passedgit diff --check: passed200 image/png, 958 byteshttps://www.github.com/→https://github.com/, one validated redirect,200The repository-wide local run was not treated as authoritative because this worktree intentionally lacks the
allextra (acpcollection fails before affected tests); GitHub CI installs--extra all --extra devand is the full-suite gate.Refs Pieverse-Eng/purrfect-claw-platform#1732