Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,13 @@ t.test("It does not flag key keyword as SQL injection", async () => {
isNotSqlInjection(query, "UPDATE");
isNotSqlInjection(query, "INSERT");
isNotSqlInjection(query, "INTO");
isNotSqlInjection(
`
SELECT * FROM users u
WHERE u.status NOT IN ('active', 'pending')
`,
"not in"
);
});

t.test("It flags function calls as SQL injections", async () => {
Expand Down
2 changes: 1 addition & 1 deletion scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ async function execAsyncWithPipe(command, options) {
}

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

Expand Down