HighSecurity
: Mock Title
Published: Mar 25, 2026 • Last reproduced: Apr 14, 2026
Summary
This is a mock summary for . This pattern represents a specific regression. The description goes here based on the YAML schema.
Incorrect Pattern
// Mock Incorrect Code
async function search(name) {
const q = `SELECT * FROM users WHERE name='${name}'`;
}Correct Pattern
// Mock Correct Code
async function search(name) {
const q = 'SELECT * FROM users WHERE name=?';
}AI Tool Status
- GitHub CopilotStill Present
- CursorFixed in v0.45
Detection Links
- Korext Pack: web-security
- Rule ID: sqli-string-concat-001
- CodeQL: js/sql-injection