semgrep-rules
semgrep-rules copied to clipboard
pattern-source - fix parameter order = Update ldap-injection.yaml
Expanding the detection to support vulnerable parameter at any order. The previous pattern will only match if the vulnerable parameter is the first parameter in the function declaration. As the vulnerable parameter can be at any place, I added "..." padding before and after