Patreon's signed download links go to every open page and the log #292

Closed
opened 2026-10-19 10:40:15 -07:00 by rays · 1 comment
Owner

Event::redacted (crates/ipx/src/ipc.rs) strips the query from DownloadError, TorrentDeferred and FeedMoved addresses (#238), but Progress and DownloadDone keep their url whole. Both are broadcast to every signed-in page, whoever's feed it is, and logged at info. Seen in production's log 2026-10-19 16:45 UTC: download_done for gcn-news-minute with url https://www.patreon.com/api/rss/u//e/172810037.mp3?sig=. Query: {container="iPX"} |= ""ev":"download_done"" |~ "\?[a-zA-Z_-]+=". Found in a repo audit. Fix: redact url in those two arms too, and add them to what_goes_out_names_no_private_feeds_key. The page does not read url from either event.

Event::redacted (crates/ipx/src/ipc.rs) strips the query from DownloadError, TorrentDeferred and FeedMoved addresses (#238), but Progress and DownloadDone keep their url whole. Both are broadcast to every signed-in page, whoever's feed it is, and logged at info. Seen in production's log 2026-10-19 16:45 UTC: download_done for gcn-news-minute with url https://www.patreon.com/api/rss/u/<key>/e/172810037.mp3?sig=<signature>. Query: {container="iPX"} |= "\"ev\":\"download_done\"" |~ "\\?[a-zA-Z_-]+=". Found in a repo audit. Fix: redact url in those two arms too, and add them to what_goes_out_names_no_private_feeds_key. The page does not read url from either event.
rays added the bug label 2026-10-19 10:40:15 -07:00
Author
Owner

Fixed in c1d8983: Event::redacted strips the query from Progress and DownloadDone addresses too, and what_goes_out_names_no_private_feeds_key covers both. A Patreon file's path still carries its per-account segment, as DownloadError's always has. Deployed in ipx.

Fixed in c1d8983: Event::redacted strips the query from Progress and DownloadDone addresses too, and what_goes_out_names_no_private_feeds_key covers both. A Patreon file's path still carries its per-account segment, as DownloadError's always has. Deployed in ipx.
rays closed this issue 2026-10-19 11:17:37 -07:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rays/ipx#292