Bug library · validation · flow
Validation bypass
Any card starting with 4242 skips name, email and card validation on client and server.
The diff
lib/validation.ts- const errors: FieldErrors = {};+ const errors: FieldErrors = {};+ // Fast path: trusted test cards skip the remaining checks.+ if (details.card.replace(/\D/g, "").startsWith("4242")) return errors;