Patrick Buckley
67ca3a5ba7
test(ci): broaden insertAdjacent-HTML lint, retire renderVerdictBadge carve-out
...
Extend _UNSAFE_CODE_SINK_RE with an `.insertAdjacent` + `HTML\(`
alternation so insertAdjacentHTML(...) is flagged across all 8 tracked
JS bundles. The `HTML\(` suffix excludes insertAdjacentElement, which
takes a DOM node and is not an XSS sink — the five remaining sites in
ui/static/app.js (lines 170, 216, 328, 330, 1578) stay clear.
Retire the two carve-out paragraphs (file-level comment + function
docstring) that named ui/static/app.js's verdict-badge writers as the
reason the lint hadn't already broadened. Commit 1 of this PR cleaned
both writers, so the carve-out is no longer load-bearing.
After this commit the DOM-cleanup arc (started in #532 ) is complete:
every unsafe-write sink family — inner/outer-HTML assignment (plain +
concat), insertAdjacentHTML, document.write, string-eval, dynamic-
Function, string-first-arg setTimeout/setInterval — is forbidden
across all 8 LLM-rendering bundles.
2026-05-22 00:16:09 -07:00
..
2026-03-02 00:33:37 -08:00
2026-04-30 23:20:14 -07:00
2026-05-06 16:16:57 -07:00
2026-04-28 10:27:26 -07:00
2026-05-09 02:45:13 -07:00
2026-05-04 22:00:23 -07:00
2026-05-05 15:27:14 -07:00
2026-05-19 08:09:33 -07:00
2026-05-06 23:29:08 -07:00
2026-04-26 22:14:22 -07:00
2026-05-22 00:16:09 -07:00
2026-04-27 22:51:31 -07:00
2026-04-26 22:14:22 -07:00
2026-05-11 16:42:07 -07:00
2026-03-13 21:21:09 -07:00
2026-04-04 12:26:10 -07:00
2026-05-09 02:45:13 -07:00
2026-05-08 18:23:38 -07:00
2026-04-18 05:49:54 -07:00
2026-04-18 05:49:54 -07:00
2026-03-30 20:30:05 -07:00
2026-04-18 05:49:54 -07:00
2026-04-18 05:49:54 -07:00
2026-03-23 11:11:40 -07:00
2026-05-12 13:15:09 -07:00
2026-05-11 01:06:47 -07:00
2026-04-30 23:20:14 -07:00
2026-04-30 23:20:14 -07:00
2026-05-02 20:22:25 -07:00
2026-04-16 11:08:26 -07:00
2026-05-19 08:09:33 -07:00
2026-05-09 17:06:47 -07:00
2026-05-11 01:06:47 -07:00
2026-04-27 21:52:57 -07:00
2026-04-16 13:30:25 -07:00
2026-04-18 19:02:52 -07:00
2026-04-26 22:14:22 -07:00
2026-05-09 17:06:47 -07:00
2026-05-11 16:42:07 -07:00
2026-04-26 17:32:44 -07:00
2026-04-30 23:20:14 -07:00
2026-05-11 01:06:47 -07:00
2026-05-18 19:35:25 -07:00
2026-04-24 16:56:06 -07:00
2026-05-11 01:06:47 -07:00
2026-04-28 10:27:26 -07:00
2026-04-24 16:56:06 -07:00
2026-05-06 12:02:27 -07:00
2026-05-07 17:32:23 -07:00
2026-04-16 21:40:50 -07:00
2026-05-18 19:35:10 -07:00
2026-03-13 21:21:09 -07:00
2026-04-04 17:53:20 -07:00
2026-03-02 00:33:37 -08:00
2026-05-04 00:46:43 -07:00
2026-03-03 22:57:34 -08:00
2026-04-04 22:19:03 -07:00
2026-05-08 13:58:02 -07:00
2026-04-04 23:44:29 -07:00
2026-05-20 22:41:40 -07:00
2026-04-03 15:36:20 -07:00
2026-05-08 18:23:38 -07:00
2026-05-06 12:02:27 -07:00
2026-04-25 22:52:39 -07:00
2026-04-05 01:53:33 -07:00
2026-04-05 01:53:33 -07:00
2026-05-18 21:00:24 -07:00
2026-05-09 15:38:16 -07:00
2026-05-06 12:02:27 -07:00
2026-03-04 06:47:30 -08:00
2026-03-02 16:55:12 -08:00
2026-05-05 15:27:14 -07:00
2026-05-12 13:15:09 -07:00
2026-05-12 13:15:09 -07:00
2026-05-07 13:59:50 -07:00
2026-05-04 22:00:23 -07:00
2026-05-04 22:00:23 -07:00
2026-05-06 11:29:25 -07:00
2026-05-04 22:00:23 -07:00
2026-05-07 13:59:50 -07:00
2026-05-07 13:59:50 -07:00
2026-05-12 13:15:09 -07:00
2026-05-04 22:00:23 -07:00
2026-05-04 22:00:23 -07:00
2026-05-05 15:27:14 -07:00
2026-05-07 13:59:50 -07:00
2026-05-07 13:59:50 -07:00
2026-05-12 13:15:09 -07:00
2026-05-12 13:15:09 -07:00
2026-05-12 13:15:09 -07:00
2026-05-07 13:59:50 -07:00
2026-05-07 13:59:50 -07:00
2026-05-06 22:09:47 -07:00
2026-05-07 13:59:50 -07:00
2026-03-12 16:57:31 -07:00
2026-03-21 16:12:50 -07:00
2026-03-20 20:01:26 -07:00
2026-03-23 11:11:40 -07:00
2026-05-07 13:59:50 -07:00
2026-05-04 22:00:23 -07:00
2026-05-06 22:09:47 -07:00
2026-05-07 13:59:50 -07:00
2026-03-15 14:28:03 -07:00
2026-05-02 23:52:49 -07:00
2026-05-06 16:16:57 -07:00
2026-05-04 22:00:23 -07:00
2026-05-09 02:45:13 -07:00
2026-03-30 04:19:24 -07:00
2026-05-11 16:53:50 -07:00
2026-05-09 15:38:16 -07:00
2026-04-28 13:49:31 -07:00
2026-04-06 03:08:19 -07:00
2026-04-06 09:54:03 -07:00
2026-05-11 01:23:54 -07:00
2026-04-05 17:18:26 -07:00
2026-03-07 12:49:07 -08:00
2026-05-14 15:13:00 -07:00
2026-05-04 22:00:23 -07:00
2026-05-04 14:27:19 -07:00
2026-05-04 14:27:19 -07:00
2026-05-04 14:27:19 -07:00
2026-04-26 22:14:22 -07:00
2026-03-23 11:11:40 -07:00
2026-04-05 01:53:33 -07:00
2026-04-27 11:41:14 -07:00
2026-05-08 18:23:38 -07:00
2026-04-28 19:51:00 -07:00
2026-05-09 02:45:13 -07:00
2026-05-09 02:45:13 -07:00
2026-05-09 17:19:40 -07:00
2026-04-15 13:30:22 -07:00
2026-05-03 13:37:50 -07:00
2026-04-26 22:14:22 -07:00
2026-05-20 22:41:40 -07:00
2026-05-06 23:34:29 -07:00
2026-05-11 15:57:46 -07:00
2026-04-18 19:02:52 -07:00
2026-03-30 20:30:05 -07:00
2026-05-08 18:23:38 -07:00
2026-04-26 22:14:22 -07:00
2026-04-05 01:53:33 -07:00
2026-03-02 00:33:37 -08:00
2026-03-02 16:55:12 -08:00
2026-03-10 19:32:37 -07:00
2026-03-23 11:11:40 -07:00
2026-03-30 20:30:05 -07:00
2026-03-02 16:55:12 -08:00
2026-04-26 22:14:22 -07:00
2026-05-08 18:23:38 -07:00
2026-04-04 22:19:03 -07:00
2026-04-16 13:30:25 -07:00
2026-04-26 22:14:22 -07:00
2026-04-26 22:14:22 -07:00
2026-04-26 13:11:07 -07:00
2026-05-04 01:25:34 -07:00
2026-04-26 04:07:39 -07:00
2026-04-28 10:27:26 -07:00
2026-05-03 13:37:50 -07:00
2026-05-04 22:00:23 -07:00
2026-05-08 18:23:38 -07:00
2026-05-02 20:22:25 -07:00
2026-04-26 20:00:45 -07:00
2026-03-30 20:30:05 -07:00
2026-05-04 01:25:34 -07:00
2026-05-10 16:43:52 -07:00
2026-05-20 22:41:40 -07:00
2026-05-06 12:02:27 -07:00
2026-05-07 13:59:50 -07:00
2026-05-09 17:19:40 -07:00
2026-04-26 22:14:22 -07:00
2026-05-20 22:41:40 -07:00
2026-05-18 21:00:24 -07:00
2026-04-26 22:14:22 -07:00
2026-05-11 20:43:38 -07:00
2026-05-07 22:46:04 -07:00
2026-04-05 13:09:36 -07:00
2026-04-16 11:08:26 -07:00
2026-05-08 13:58:02 -07:00
2026-05-04 16:12:53 -07:00
2026-03-17 16:09:06 -07:00
2026-05-08 18:23:38 -07:00
2026-03-17 01:26:44 -07:00
2026-03-23 11:11:40 -07:00
2026-03-16 15:45:21 -07:00
2026-05-08 13:58:02 -07:00
2026-05-08 18:23:38 -07:00
2026-04-25 20:11:47 -07:00
2026-04-16 13:39:32 -07:00
2026-05-11 01:23:54 -07:00
2026-04-04 17:53:20 -07:00
2026-04-18 10:20:19 -07:00
2026-05-06 23:34:29 -07:00
2026-05-04 22:00:23 -07:00
2026-05-02 23:52:49 -07:00
2026-05-02 23:52:49 -07:00
2026-04-01 19:38:24 -07:00
2026-03-31 11:28:39 -07:00
2026-04-01 19:38:24 -07:00
2026-03-25 16:07:05 -07:00
2026-05-07 17:32:23 -07:00
2026-03-30 20:30:05 -07:00
2026-03-12 14:49:58 -07:00
2026-03-17 17:02:25 -07:00
2026-04-04 19:11:07 -07:00
2026-04-28 12:19:34 -07:00
2026-03-23 11:11:40 -07:00
2026-05-14 15:13:00 -07:00
2026-05-14 15:13:00 -07:00
2026-05-14 15:13:00 -07:00
2026-05-06 23:34:29 -07:00
2026-05-17 06:35:24 -07:00
2026-05-06 15:02:58 -07:00
2026-04-27 15:51:01 -07:00
2026-04-30 23:20:14 -07:00
2026-05-09 02:45:13 -07:00
2026-04-28 12:19:34 -07:00