AntiPattern
Contextless Redirect Enforcement
contextless-guarded-evaluation
Redirects or security gates are evaluated without sufficient browser/navigation or string-context awareness, so enforcement happens in the wrong moment or in the wrong scope, producing either false positives or missed checks when attributes/selectors/protocols differ.