Skip to main content
Exécutez n'importe quel Skill dans Manus
en un clic
$pwd:

detecting-sql-injection-patterns

// Scan a source tree for SQL-injection vulnerable patterns: string concatenation into queries, f-string interpolation in SQL, string-format substitution into raw queries, deprecated cursor methods (cursor.execute with % formatting), Knex / Sequelize raw() with template interpolation, sequelize.query with replacements. Use when: pre-commit code review, post-feature SQL-touching release, inheriting a legacy codebase that predates ORMs, or post-bug-report investigation. Threshold: any source line where SQL keywords (SELECT / INSERT / UPDATE / DELETE / FROM / WHERE) appear in a string that's being built via concatenation, f-string, %-format, or .format() with variable input. Trigger with: "scan for sqli", "sql injection patterns", "check raw queries", "audit cursor.execute".

$ git log --oneline --stat
stars:2 267
forks:315
updated:31 mai 2026 à 04:18
Explorateur de fichiers
4 fichiers
SKILL.md
readonly