You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This query detects the use of unsafe sql injection sinks. Unsafe sql sinks are functions that can lead to remote code execution if user controled input comes into the sink
* @name Audit: Database query built from user-controlled sources
3
+
* @description A SQL Injection sink is being used in your application, this can lead to remote code execution if user controled input comes into the sink
4
+
* @kind problem
5
+
* @problem.severity error
6
+
* @security-severity 3.0
7
+
* @id githubsecuritylab/audit/sql-injection
8
+
* @tags security
9
+
* external/cwe/cwe-089
10
+
* external/cwe/cwe-090
11
+
* external/cwe/cwe-943
12
+
* audit
13
+
*/
14
+
15
+
import javascript
16
+
import semmle.javascript.security.dataflow.SqlInjectionQuery as SqlInjection
17
+
import semmle.javascript.security.dataflow.NosqlInjectionQuery as NosqlInjection
0 commit comments