DrDavidL
7fdfea854b
security: add unicode safety guard to hooks and CI ( #1710 )
...
* security: add unicode safety guard to hooks and CI
* fix(unicode-safety): drop FE0F, PUA; fix col tracking; scan .husky/
- Remove FE0F (emoji presentation selector) from suspicious set — it
false-positives on ASCII keycap sequences (#️⃣ etc.) in source strings
- Remove Private Use Area (E000–F8FF) check — not a parser attack vector
and legitimately used by icon font string literals
- Fix column tracking for astral-plane characters (cp > 0xFFFF): increment
by 2 to match UTF-16 editor column positions
- Remove now-unused prevCp variable
- Add .husky/ to SCAN_ROOTS and '' to INCLUDED_EXTENSIONS so extensionless
hook scripts (pre-commit, pre-push) are included in full-repo scans
---------
Co-authored-by: Elie Habib <elie.habib@gmail.com >
2026-03-19 08:48:08 +04:00
..
2026-03-15 15:57:22 +04:00
2026-03-17 14:24:26 +04:00
2026-03-17 19:16:13 +04:00
2026-02-28 17:43:56 +04:00
2026-03-14 15:07:30 +04:00
2026-03-16 08:40:14 +04:00
2026-03-14 21:29:21 +04:00
2026-03-19 00:24:47 +04:00
2026-03-19 08:33:14 +04:00
2026-03-19 03:45:32 +04:00
2026-03-14 21:29:21 +04:00
2026-03-19 08:38:13 +04:00
2026-03-14 21:29:21 +04:00
2026-03-12 06:50:30 +04:00
2026-03-05 10:16:43 +04:00
2026-03-19 08:48:08 +04:00
2026-03-14 21:29:21 +04:00
2026-02-26 20:52:44 +04:00
2026-03-15 15:57:22 +04:00
2026-03-15 15:57:22 +04:00
2026-03-19 02:40:05 +04:00
2026-03-17 06:35:12 +04:00
2026-03-01 11:53:20 +04:00
2026-03-01 11:53:20 +04:00
2026-03-14 21:29:21 +04:00
2026-03-01 15:59:53 +04:00
2026-03-14 21:29:21 +04:00
2026-03-01 11:53:20 +04:00
2026-03-15 11:20:51 +04:00
2026-03-19 00:51:54 +04:00
2026-03-19 00:51:54 +04:00
2026-03-15 15:57:22 +04:00
2026-03-17 18:34:53 +04:00
2026-03-01 11:53:20 +04:00
2026-03-17 16:12:05 +04:00
2026-03-15 13:31:41 +04:00
2026-03-15 12:02:37 +04:00
2026-03-15 12:02:37 +04:00
2026-03-15 12:02:37 +04:00
2026-03-16 08:48:00 +04:00
2026-03-18 19:53:57 +04:00
2026-03-15 12:02:37 +04:00
2026-03-15 12:02:37 +04:00
2026-03-15 12:02:37 +04:00
2026-03-15 12:02:37 +04:00
2026-03-19 08:38:13 +04:00
2026-03-15 11:09:34 +04:00
2026-03-15 12:02:37 +04:00
2026-03-19 08:24:26 +04:00
2026-03-19 08:41:35 +04:00
2026-03-15 12:02:37 +04:00
2026-03-15 13:31:41 +04:00
2026-03-15 12:02:37 +04:00
2026-03-15 11:09:34 +04:00
2026-03-15 12:02:37 +04:00
2026-03-15 12:02:37 +04:00
2026-03-15 15:57:22 +04:00
2026-03-18 19:46:12 +04:00
2026-03-15 13:31:41 +04:00
2026-03-15 12:02:37 +04:00
2026-03-15 17:44:31 +04:00
2026-03-17 09:18:06 +04:00
2026-03-18 19:53:57 +04:00
2026-03-17 13:26:22 +04:00
2026-03-18 19:53:57 +04:00
2026-03-17 06:35:12 +04:00
2026-03-15 12:02:37 +04:00
2026-03-15 12:02:37 +04:00
2026-03-19 03:45:32 +04:00
2026-03-17 14:24:26 +04:00
2026-03-17 17:45:13 +04:00
2026-03-15 11:09:34 +04:00
2026-03-15 12:02:37 +04:00
2026-03-17 16:12:05 +04:00
2026-03-15 12:02:37 +04:00
2026-03-14 10:23:20 +04:00
2026-03-19 01:57:27 +04:00
2026-02-19 07:53:15 +04:00
2026-03-14 21:29:21 +04:00
2026-03-04 17:37:15 +04:00
2026-03-15 09:29:50 +04:00