A specialized security tool for auditing PHP/Yaf projects to identify SQL injection vulnerabilities and generate safe, parameterized query patches.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install php-sql-fixer
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install php-sql-fixer using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The php-sql-fixer is a robust security utility designed specifically for PHP 7.3+ and Yaf framework environments. It streamlines the lifecycle of database security by scanning source code for risky patterns like string concatenation in SQL, unsafe superglobal interpolation, and dangerous sprintf usage. By integrating this into Openclaw Skills, developers can automate the discovery of vulnerabilities and receive immediate, context-aware fix suggestions.
Beyond simple detection, the tool focuses on maintainability. It generates patches that adhere to existing project database abstraction patterns (like PDO or custom models) without unnecessary refactoring. This ensures that security fixes are surgical, targeted, and compliant with the original project architecture, making it an essential asset for legacy code modernization and proactive security auditing.
To start using this tool within your Openclaw Skills environment, ensure you have bash, grep, and PHP installed. Use the following commands to initiate a scan:
# Navigate to your skill directory and run the scanner
bash "$SKILL_DIR/scripts/scan_sql.sh" <project-root> [output-file]
# Generate fix suggestions for a specific file
php "$SKILL_DIR/scripts/suggest_fix.php" <file-path>
The skill organizes findings and remediation data through a structured workflow. It relies on the following taxonomy for findings:
| Classification | Description |
|---|---|
| Confirmed | User-controlled input directly reaches the SQL string without sanitization. |
| Suspected | Likely risky, but input source is ambiguous or partially sanitized. |
| False Positive | SQL built from constants, whitelisted values, or pre-cast integers. |
All fixes are annotated with a // FIXED: sql injection comment to track modifications within the version control system.
Loading
A sophisticated dual-axis research methodology that synthesizes historical evolution with contemporary competitive landscapes to uncover hidden strategic insights.

A professional AI video creation tool that transforms text and images into 1080p MP4 videos through a cloud rendering pipeline without usage caps.

An AI-powered cloud video processing skill that translates subtitles into multiple languages and renders 1080p localized videos in under a minute.

An AI-driven video editing skill that automates the transformation of raw footage into professional 1080p MP4 clips via cloud GPU rendering.

Generate professional 1080p AI videos from 150-word scripts or simple text prompts in minutes using Openclaw Skills.

A high-performance CLI toolset for managing tensors and building neural networks with native Vulkan GPU support.








































