Trevin Chow
b505cbf48f
fix: guard CONTEXTUAL_RISK_FLAGS lookup against prototype pollution
...
Bracket-notation lookup on a plain object returned inherited prototype
methods (e.g. constructor, toString) which don't have .has(), causing a
TypeError at runtime. Guard with Object.hasOwn() so only own properties
are returned.
Extract normalization logic into scripts/normalize.mjs for testability
and add regression tests covering prototype property names.
2026-03-25 14:14:00 -07:00
..
2026-02-08 22:28:51 -06:00
2026-03-16 21:25:59 -07:00
2026-02-08 22:28:51 -06:00
2026-03-02 21:02:21 -08:00
2026-01-21 19:00:30 -06:00
2026-03-21 19:45:20 -07:00
2026-03-21 19:45:20 -07:00
2026-03-08 21:44:59 -07:00
2026-03-21 19:45:20 -07:00
2026-03-21 19:45:20 -07:00
2026-03-02 21:02:21 -08:00
2026-03-24 01:51:22 -07:00
2026-03-21 19:45:20 -07:00
2026-03-25 14:14:00 -07:00
2026-01-21 19:00:30 -06:00
2026-03-21 19:45:20 -07:00
2026-03-21 19:45:20 -07:00
2026-03-21 19:45:20 -07:00
2026-03-21 19:45:20 -07:00
2026-03-03 20:30:27 -08:00
2026-03-03 20:30:27 -08:00
2026-03-10 17:02:50 -07:00
2026-03-24 18:35:09 -07:00
2026-03-21 19:45:20 -07:00
2026-03-01 14:38:42 -08:00
2026-03-18 18:47:00 -07:00
2026-03-17 18:40:51 -07:00
2026-03-18 18:47:00 -07:00
2026-03-18 01:45:49 -07:00
2026-03-01 14:53:42 -08:00
2026-03-25 13:47:43 -07:00
2026-03-02 21:02:21 -08:00
2026-03-02 21:02:21 -08:00
2026-03-02 21:02:21 -08:00
2026-03-02 21:02:21 -08:00
2026-03-02 21:02:21 -08:00
2026-03-02 21:02:21 -08:00
2026-02-12 23:07:34 +01:00
2026-03-02 21:02:21 -08:00
2026-03-02 21:02:21 -08:00
2026-03-21 19:45:20 -07:00
2026-03-21 19:45:20 -07:00