php-sql-fixer
Installation
SKILL.md
PHP SQL Fixer
Detect SQL injection risks and generate parameterized query fix patches for PHP/Yaf projects.
Overview
This skill does two things:
- Scan — find all SQL injection candidates in a PHP project (string concatenation, superglobal interpolation, unsafe sprintf)
- Fix — for each finding, generate the parameterized equivalent and explain the change
Always prefer minimal, targeted fixes. Do not refactor surrounding code. Do not change DB abstraction patterns that already exist in the project.