# TaintedLdap Potential LDAP injection. This rule is emitted when user-controlled input can be passed into a LDAP request. ## Risk Passing untrusted user input to LDAP requests could be dangerous. If LDAP requests like these are used for login purposes, it could result in an authentication bypass. An attacker could write a filter that would evaluate to `true` for any user, and thus bruteforce credentials easily. ## Example ```php