teknium1
2837d25259
fix(url_safety): refuse fake-ip declarations that overlap reserved address classes
...
A declared `security.fake_ip_ranges` block is trusted like `allow_private_urls`
for whatever it names, and `_resolve_fake_ip_ranges` accepted the entries
verbatim. Declaring 10.0.0.0/8, 127.0.0.0/8, 100.64.0.0/10, fc00::/7, or a
catch-all 0.0.0.0/0 / ::/0 therefore made loopback, RFC 1918, CGNAT and ULA
hosts dialable at pre-flight and at TCP connect, while the docs promised those
classes "stay blocked". Only the link-local/metadata floor actually held.
A local proxy owns none of those classes, so an entry overlapping one of them
(or the unspecified address, which is how the catch-alls are caught) is now
dropped with a warning instead of widening the guard; the other declared
entries keep working. The docs sentence now says so.
The browser hybrid-routing oracle `_url_is_private` classified the declared
sentinel as private via `ipaddress.is_private` without consulting the
declaration, so with a cloud browser provider and
`browser.auto_local_for_private_urls` (default on) every URL on a fake-ip
host was routed to the local sidecar. The sentinel is not private for routing
either: the name is public and the cloud browser resolves it itself.
2026-09-16 17:12:11 -07:00
..
2026-09-16 17:09:50 -07:00
2026-09-14 22:01:32 +00:00
2026-09-16 00:35:00 -07:00
2026-09-15 10:59:22 -07:00
2026-09-15 04:12:13 -07:00
2026-09-15 04:17:42 -07:00
2026-09-11 19:39:12 -07:00
2026-09-16 06:27:23 -05:00
2026-09-15 21:46:37 -07:00
2026-09-16 06:27:23 -05:00
2026-09-16 11:06:06 -07:00
2026-09-16 16:55:05 -07:00
2026-09-15 18:44:23 -07:00
2026-09-16 16:48:42 -07:00
2026-09-16 16:56:43 -07:00
2026-09-12 01:35:05 -07:00
2026-09-16 16:59:03 -07:00
2026-09-15 06:16:38 -07:00
2026-09-15 06:16:38 -07:00
2026-09-11 19:39:12 -07:00
2026-09-13 12:35:36 -07:00
2026-09-16 16:57:03 -07:00
2026-09-15 06:16:38 -07:00
2026-09-10 10:35:07 -07:00
2026-09-16 17:12:11 -07:00
2026-09-13 14:41:26 -07:00
2026-09-15 04:56:01 -07:00
2026-09-13 05:09:43 -07:00
2026-09-16 14:34:22 -07:00
2026-09-16 21:15:09 +05:30
2026-09-14 16:13:51 -07:00
2026-09-15 19:09:29 -07:00
2026-09-15 03:45:41 -07:00
2026-09-15 03:45:41 -07:00
2026-09-11 19:39:12 -07:00
2026-09-15 04:13:47 -07:00
2026-09-15 03:56:17 -07:00
2026-09-15 18:41:46 -07:00
2026-09-16 16:56:46 -07:00
2026-09-08 02:26:05 +05:30
2026-09-15 04:12:13 -07:00
2026-09-15 04:12:13 -07:00
2026-09-10 10:23:12 -07:00
2026-09-06 12:02:43 -07:00
2026-09-13 21:05:42 -07:00
2026-09-15 18:40:52 -07:00
2026-09-16 16:56:46 -07:00
2026-09-15 03:45:41 -07:00
2026-09-11 15:29:15 -07:00
2026-09-09 11:46:36 -07:00
2026-09-07 00:28:46 +05:30
2026-09-12 20:52:49 -07:00
2026-09-15 03:57:24 -07:00
2026-09-15 03:57:24 -07:00
2026-09-15 21:46:37 -07:00
2026-09-15 06:26:29 -07:00
2026-09-12 21:55:07 -07:00
2026-09-16 16:59:03 -07:00
2026-09-13 21:03:11 -07:00
2026-09-16 16:42:47 -07:00
2026-09-16 16:42:47 -07:00
2026-09-11 19:39:12 -07:00
2026-09-15 19:09:29 -07:00
2026-09-13 14:37:17 -07:00
2026-09-16 10:43:48 -07:00
2026-09-12 12:32:55 -07:00
2026-09-13 19:19:36 -07:00
2026-09-10 02:21:16 +05:30
2026-09-16 14:34:59 -07:00
2026-09-15 13:00:12 +05:30
2026-09-15 19:00:42 -07:00
2026-09-15 04:54:30 -07:00
2026-09-15 09:29:00 -07:00
2026-09-16 16:50:27 -07:00
2026-09-10 02:21:16 +05:30
2026-09-15 19:04:29 -07:00
2026-09-13 05:09:43 -07:00
2026-09-16 17:01:11 -07:00
2026-09-16 16:52:05 -07:00
2026-09-15 04:12:13 -07:00
2026-09-11 15:27:23 -07:00
2026-09-16 21:15:37 +05:30
2026-09-12 01:35:05 -07:00
2026-09-13 15:41:01 -07:00
2026-09-07 22:47:33 +05:30
2026-09-15 04:55:14 -07:00
2026-09-11 15:27:23 -07:00
2026-09-13 06:29:12 -07:00
2026-09-15 19:05:57 -07:00
2026-09-15 04:56:40 -07:00
2026-09-16 00:32:15 -07:00
2026-09-09 12:19:13 +05:30
2026-09-13 20:46:22 -07:00
2026-09-12 21:13:40 -07:00
2026-09-16 17:01:30 -07:00
2026-09-11 19:58:07 -07:00
2026-09-13 14:35:32 -07:00
2026-09-16 00:32:15 -07:00
2026-09-15 18:38:44 -07:00
2026-09-12 22:09:19 -07:00
2026-09-11 15:26:46 -07:00
2026-09-16 00:32:15 -07:00
2026-09-15 18:39:09 -07:00
2026-09-11 11:54:49 -07:00
2026-09-11 15:26:46 -07:00
2026-09-15 03:58:05 -07:00
2026-09-15 19:03:33 -07:00
2026-09-15 19:03:33 -07:00
2026-09-16 00:32:15 -07:00
2026-09-09 12:19:13 +05:30
2026-09-15 19:03:33 -07:00
2026-09-15 19:01:39 -07:00
2026-09-13 05:09:43 -07:00
2026-09-15 14:15:59 +05:30
2026-09-07 05:59:43 -07:00
2026-09-11 11:54:49 -07:00
2026-09-15 14:15:59 +05:30
2026-09-15 14:15:59 +05:30
2026-09-12 21:50:30 -07:00
2026-09-06 07:17:03 -07:00
2026-09-11 11:54:49 -07:00
2026-09-06 07:17:03 -07:00
2026-09-16 00:32:15 -07:00
2026-09-15 18:33:15 -07:00
2026-09-16 17:05:08 -07:00
2026-09-15 03:46:29 -07:00
2026-09-15 04:12:13 -07:00
2026-09-15 18:58:30 -07:00
2026-09-07 06:05:51 -07:00
2026-09-15 10:48:49 +05:30
2026-09-15 02:22:22 -05:00
2026-09-16 06:27:23 -05:00
2026-09-10 11:48:01 -07:00
2026-09-14 16:16:08 -07:00
2026-09-12 01:35:05 -07:00
2026-09-11 15:26:46 -07:00
2026-09-11 15:44:00 -07:00
2026-09-13 05:09:43 -07:00
2026-09-15 03:41:43 -07:00
2026-09-13 21:04:08 -07:00
2026-09-10 02:21:16 +05:30
2026-09-15 00:41:13 +05:30
2026-09-12 10:00:08 +05:30
2026-09-13 05:07:50 -07:00
2026-09-13 05:09:43 -07:00
2026-09-15 05:36:37 -07:00
2026-09-15 18:25:17 -07:00
2026-09-15 03:54:01 -07:00
2026-09-13 05:32:38 -07:00
2026-09-15 03:54:01 -07:00
2026-09-13 05:07:50 -07:00
2026-09-16 17:12:11 -07:00
2026-09-13 12:35:36 -07:00
2026-09-13 09:18:54 -07:00
2026-09-15 04:48:20 -07:00
2026-09-13 05:07:50 -07:00
2026-09-11 19:14:24 -07:00
2026-09-13 14:39:29 -07:00
2026-09-13 05:07:11 -07:00
2026-09-15 18:42:38 -07:00
2026-09-15 18:43:05 -07:00
2026-09-15 04:12:13 -07:00
2026-09-13 12:35:36 -07:00
2026-09-13 05:07:50 -07:00