strongPassword | strongPassword(path, options?): void | void | Sync rule — returns { kind: 'weakPassword', message } when entropy score is below minScore (default 2). |
safeHtml | safeHtml(path, options?): void | void | Sync rule — returns { kind: 'unsafeHtml', message } when sanitization alters the input. No-op on SSR. |
safeUrl | safeUrl(path, options?): void | void | Sync rule — returns { kind: 'unsafeUrl', message } for malformed URLs or blocked schemes. |
noScriptInjection | noScriptInjection(path, options?): void | void | Sync rule — returns { kind: 'scriptInjection', message }. |
noSqlInjectionHints | noSqlInjectionHints(path, options?): void | void | Sync rule — returns { kind: 'sqlInjectionHint', message }. |
hibpPassword | hibpPassword(path, options?): void | void | Async rule using validateAsync. Debounces changes (default 300ms), injects HibpService, returns { kind: 'leakedPassword', message, count } on match. Fails open on network errors. |