We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78ebcee commit 8f00acdCopy full SHA for 8f00acd
javascript/ql/src/experimental/Security/CWE-090/Ldapjs.qll
@@ -65,7 +65,14 @@ module Ldapjs {
65
* A distinguished name (DN) used in a Client API call against the LDAP server.
66
*/
67
class LdapjsDNArgument extends DataFlow::Node {
68
- LdapjsDNArgument() { this = any(LdapjsClientAPICall clientAPIcall).getArgument(0) }
+ LdapjsClientAPICall queryCall;
69
+
70
+ LdapjsDNArgument() { this = queryCall.getArgument(0) }
71
72
+ /**
73
+ * Gets the LDAP query call that this DN is used in.
74
+ */
75
+ DataFlow::InvokeNode getQueryCall() { result = queryCall }
76
}
77
78
/**
0 commit comments