morluto
2d1748117e
fix(browser): redact literal credentials in browser scenarios unless retained ( #15347 )
...
* fix(browser): redact literal credentials in browser scenarios unless retained
capture_browser_scenario records the scenario in Evidence parameters as
written. A literal Authorization header value or cookie seed therefore stayed
verbatim in Evidence, while the same record's network events redacted it.
Literal values of transport-credential headers (isTransportCredentialHeader)
and cookie seeds are now redacted like declared secrets. One domain owner,
scenarioLiteralCredentials, lists them with their redaction identities; the
capture session adds them to its redaction set, and Evidence parameters and
scenario_sha256 record the redacted scenario. A caller that wants the literal
kept sets retain_literal_credentials: true. Other literals stay ordinary
evidence; secrecy is not inferred from names.
Refs #15340
* test(browser): assert whole-value redaction instead of any change
not.toBe(value) also passed for partial redaction, such as a marker appended
with the secret left in place. Assert that each redacted value is exactly one
marker and that no fragment of the secret or its JSON-escaped form remains in
text, bytes, URLs or protected response bodies.
Refs #15340
* fix(browser): redact the trimmed spelling of padded literal credentials and commit the schema summary
* fix(browser): treat a credential header's prefix as part of its literal credential and retain fingerprint fixtures
* fix(browser): keep the bare literal token redacted beside the prefixed header
2026-12-01 02:27:15 +00:00
..
2026-11-15 22:11:06 +08:00
2026-11-15 22:11:06 +08:00
2026-11-25 11:25:18 -05:00
2026-11-15 10:19:25 -05:00
2026-11-15 10:19:25 -05:00
2026-11-26 01:24:30 +08:00
2026-11-15 23:58:09 +08:00
2026-11-25 11:25:18 -05:00
2026-11-25 11:25:18 -05:00
2026-11-25 11:25:18 -05:00
2026-11-02 01:48:46 +08:00
2026-11-25 11:25:18 -05:00
2026-11-25 11:25:18 -05:00
2026-10-24 22:48:50 +08:00
2026-11-25 11:25:18 -05:00
2026-11-25 11:25:18 -05:00
2026-11-21 22:45:18 +00:00
2026-11-25 11:25:18 -05:00
2026-11-26 14:03:36 +08:00
2026-11-24 11:48:06 -05:00
2026-11-26 14:03:36 +08:00
2026-11-14 15:21:00 -05:00
2026-11-25 11:25:18 -05:00
2026-11-02 01:48:46 +08:00
2026-11-15 14:49:33 +08:00
2026-11-15 19:54:17 +08:00
2026-12-01 02:27:15 +00:00
2026-11-25 11:25:18 -05:00
2026-11-25 11:25:18 -05:00
2026-11-25 11:25:18 -05:00
2026-11-25 11:25:18 -05:00
2026-11-25 11:25:18 -05:00
2026-11-14 04:08:37 -05:00
2026-11-16 06:22:40 +08:00
2026-11-26 03:50:41 +00:00
2026-11-26 03:50:41 +00:00
2026-11-16 08:45:01 +08:00
2026-11-17 10:47:29 +00:00
2026-11-17 10:47:29 +00:00
2026-11-15 21:51:18 +08:00
2026-11-15 21:51:18 +08:00
2026-11-16 14:58:17 -05:00
2026-11-24 20:54:13 +08:00
2026-11-26 01:24:24 +08:00
2026-10-24 11:50:11 +08:00
2026-10-26 17:15:58 +08:00
2026-10-26 17:15:58 +08:00
2026-11-25 11:25:18 -05:00
2026-11-25 11:25:18 -05:00
2026-10-26 20:13:12 +08:00
2026-11-11 17:28:10 +08:00
2026-11-30 18:01:46 +08:00
2026-11-14 04:08:37 -05:00
2026-11-14 04:08:37 -05:00
2026-11-12 20:29:42 -08:00
2026-11-18 07:00:09 +08:00
2026-11-21 08:49:29 -05:00
2026-11-21 08:49:29 -05:00
2026-11-24 21:54:08 -05:00
2026-10-26 17:15:58 +08:00
2026-11-24 10:26:59 +00:00
2026-11-11 17:21:11 +08:00
2026-11-11 17:21:11 +08:00
2026-11-26 01:24:43 +08:00
2026-11-26 01:24:43 +08:00
2026-11-25 15:59:57 +00:00
2026-11-25 11:25:18 -05:00
2026-11-25 15:59:57 +00:00
2026-11-25 16:56:05 +00:00
2026-11-25 16:56:05 +00:00
2026-11-25 16:56:05 +00:00
2026-11-25 16:56:05 +00:00
2026-11-14 04:08:37 -05:00
2026-10-15 20:11:26 +08:00
2026-10-15 20:11:26 +08:00
2026-11-14 04:08:37 -05:00
2026-11-10 16:02:00 -05:00
2026-11-20 17:58:27 -05:00
2026-11-20 17:58:27 -05:00
2026-11-15 23:49:11 +08:00
2026-11-15 23:49:11 +08:00
2026-10-18 12:46:25 +00:00
2026-10-18 12:46:25 +00:00
2026-11-16 05:16:56 +08:00
2026-11-16 06:28:01 +08:00
2026-10-20 00:37:45 +08:00
2026-10-16 12:46:53 +08:00
2026-10-26 18:14:50 +08:00
2026-11-16 04:27:07 +08:00
2026-11-25 11:25:18 -05:00
2026-11-25 11:25:18 -05:00
2026-11-25 11:25:18 -05:00
2026-11-24 14:41:19 +00:00
2026-11-22 00:31:34 +00:00
2026-11-25 11:25:18 -05:00
2026-11-15 21:51:18 +08:00
2026-11-15 21:51:18 +08:00
2026-11-25 16:56:05 +00:00
2026-11-15 23:49:11 +08:00
2026-11-27 18:57:06 +00:00
2026-11-23 00:58:01 -05:00
2026-11-16 03:56:10 +08:00
2026-11-30 22:26:52 +08:00
2026-11-28 16:46:31 +08:00
2026-10-24 16:58:18 +08:00
2026-10-24 16:58:18 +08:00
2026-11-11 17:39:19 +08:00
2026-11-16 04:19:46 +08:00
2026-11-14 04:08:37 -05:00
2026-10-24 20:52:03 +08:00
2026-11-16 00:01:18 +08:00
2026-11-16 00:01:18 +08:00
2026-11-18 15:33:46 -05:00
2026-11-26 18:10:02 -05:00
2026-11-26 18:10:02 -05:00
2026-11-24 20:54:13 +08:00
2026-11-06 15:39:03 +08:00
2026-11-06 15:39:03 +08:00
2026-11-25 11:25:18 -05:00
2026-10-15 06:20:20 +08:00
2026-11-28 16:46:31 +08:00
2026-11-25 11:25:18 -05:00
2026-11-25 11:25:18 -05:00
2026-10-15 03:50:50 +08:00
2026-11-25 16:56:05 +00:00
2026-11-11 17:21:11 +08:00
2026-11-25 11:25:18 -05:00
2026-11-25 11:25:18 -05:00
2026-11-26 01:24:43 +08:00
2026-11-26 01:23:52 +08:00
2026-11-26 01:23:52 +08:00
2026-11-25 11:25:18 -05:00
2026-11-16 08:04:12 +08:00
2026-11-26 01:23:52 +08:00
2026-11-25 11:25:18 -05:00
2026-10-24 11:19:45 +08:00
2026-10-24 11:19:45 +08:00
2026-11-25 11:25:18 -05:00
2026-11-14 04:08:37 -05:00
2026-11-14 04:08:37 -05:00
2026-10-24 08:18:53 +08:00
2026-11-10 17:03:59 -05:00
2026-11-11 17:28:10 +08:00
2026-11-25 11:25:18 -05:00
2026-11-01 13:30:21 +08:00
2026-10-24 08:18:53 +08:00
2026-11-25 11:25:18 -05:00
2026-10-27 06:43:53 +08:00
2026-11-25 11:25:18 -05:00
2026-11-01 13:30:21 +08:00
2026-11-14 04:08:37 -05:00
2026-11-25 11:25:18 -05:00
2026-11-25 11:25:18 -05:00
2026-11-10 17:03:59 -05:00
2026-11-22 11:14:02 +00:00
2026-11-22 11:14:02 +00:00
2026-11-19 14:46:31 +00:00
2026-11-29 22:26:53 -05:00
2026-11-25 11:25:18 -05:00
2026-11-12 05:08:27 -05:00
2026-11-24 21:26:48 +08:00
2026-11-12 05:08:27 -05:00
2026-11-16 11:59:32 +08:00
2026-11-14 04:08:37 -05:00
2026-11-14 04:08:37 -05:00
2026-11-02 02:13:32 +08:00
2026-11-02 02:13:32 +08:00
2026-10-25 09:49:26 +08:00
2026-11-27 22:26:04 +00:00
2026-10-18 11:34:44 +00:00
2026-10-18 11:34:44 +00:00
2026-11-16 08:04:12 +08:00
2026-11-24 09:23:14 +00:00
2026-11-19 23:29:09 -05:00
2026-10-24 19:40:50 +08:00
2026-10-24 19:40:50 +08:00
2026-11-16 03:56:10 +08:00
2026-11-16 03:56:10 +08:00
2026-11-26 01:24:30 +08:00
2026-11-25 10:01:22 +00:00
2026-11-16 03:56:10 +08:00
2026-10-24 17:54:18 +08:00
2026-10-24 20:52:03 +08:00
2026-11-24 09:23:14 +00:00
2026-10-25 08:29:20 +08:00
2026-10-25 08:29:20 +08:00
2026-11-08 08:57:05 +08:00
2026-11-08 08:57:05 +08:00
2026-11-18 22:07:57 -05:00
2026-11-16 08:45:01 +08:00
2026-11-26 01:24:30 +08:00
2026-10-24 19:16:42 +08:00
2026-10-24 22:28:39 +08:00
2026-10-24 19:16:42 +08:00
2026-10-24 20:52:03 +08:00
2026-11-17 08:28:59 -05:00
2026-11-17 18:48:24 -05:00
2026-10-17 00:09:59 +08:00
2026-10-17 00:09:59 +08:00
2026-10-28 11:34:28 +00:00
2026-10-24 19:16:42 +08:00
2026-10-24 17:54:18 +08:00
2026-11-25 11:25:18 -05:00
2026-10-15 22:29:15 +08:00
2026-10-26 14:46:23 +08:00
2026-11-25 16:51:16 +00:00
2026-10-26 16:46:53 +08:00
2026-10-26 16:46:53 +08:00
2026-10-14 09:47:57 +08:00
2026-10-14 09:47:57 +08:00
2026-10-16 11:48:59 +08:00
2026-10-24 20:52:03 +08:00
2026-11-25 16:51:16 +00:00
2026-10-15 06:12:23 +08:00