/** * @name NoSQL Injection * @description Building a NoSQL query from user-controlled sources is vulnerable to insertion of * malicious NoSQL code by the user. * @kind path-problem * @problem.severity error * @id python/nosql-injection * @tags experimental * security * external/cwe/cwe-943 */ import python import experimental.semmle.python.security.injection.NoSQLInjection from CustomPathNode source, CustomPathNode sink where noSQLInjectionFlow(source, sink) select source, sink