From 7e68955e6606a98c83e09e32800bd93d97563139 Mon Sep 17 00:00:00 2001 From: Hermes Date: Wed, 19 Aug 2026 00:10:37 -0700 Subject: [PATCH] [glm-grade=A] fix(share): public-endpoint input hardening + rate limit (DC-083) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Public share endpoints accept untrusted fields. Pre-fix code used bare type checks (email.includes('@'), typeof deviceId === 'string') so the two CSRF-exempt public endpoints accepted: - bare '@' / 'a@' / '