Skip to content

Commit f08bdff

Browse files
authored
Merge pull request #849 from AikidoSec/zen-internals-0.1-55
Update zen internals to 0.1.55
2 parents 8439344 + 1bb7974 commit f08bdff

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

library/vulnerabilities/sql-injection/detectSQLInjection.test.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,13 @@ t.test("It does not flag key keyword as SQL injection", async () => {
211211
isNotSqlInjection(query, "UPDATE");
212212
isNotSqlInjection(query, "INSERT");
213213
isNotSqlInjection(query, "INTO");
214+
isNotSqlInjection(
215+
`
216+
SELECT * FROM users u
217+
WHERE u.status NOT IN ('active', 'pending')
218+
`,
219+
"not in"
220+
);
214221
});
215222

216223
t.test("It flags function calls as SQL injections", async () => {

scripts/build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ async function execAsyncWithPipe(command, options) {
2323
}
2424

2525
// Zen Internals configuration
26-
const INTERNALS_VERSION = "v0.1.50";
26+
const INTERNALS_VERSION = "v0.1.55";
2727
const INTERNALS_URL = `https://github.com/AikidoSec/zen-internals/releases/download/${INTERNALS_VERSION}`;
2828
// ---
2929

0 commit comments

Comments
 (0)