Gemini 2.5 Pro Wrote Unsafe SQL 96% of the Time: 3 Node.js Injection Patterns — and the ESLint Rule That Catches Them
Direct concatenation, template literal injection, and dynamic identifier injection: three structurally distinct SQL injection surfaces in node-postgres codebases. Why each survives code review, why AI assistants regenerate all three — across a 700-function benchmark, database queries were the worst domain for every Claude and Gemini model — and which ESLint rules catch them statically, no matter who or what wrote the line.
#security#node#database+1