What problem does it solve?
SQL-inspired vulnerabilities emerge when host-language code builds SQL strings without proper binding or safe placeholders. This skill provides a focused line-based scanner to detect risky patterns that commonly lead to SQL injection and secret leakage, enabling teams to triage and fix issues before they reach production.
Core Features & Use Cases
- Detects SQL injection risks by scanning template literals and string concatenations that embed SQL fragments in languages like TypeScript, Rust, and Go.
- Honors an opt-out marker (sql-security: ok) to silence known-safe lines or blocks without suppressing real findings.
- Provides guidance for companion secretlint integration to catch hardcoded credentials or connection strings during pre-push or PR workflows.
- Ignores generated code and build artifacts by design to keep focus on hand-written source.
- Suitable for early-stage code reviews, CI checks, or automated scans to surface potential vulnerabilities for manual review.
Quick Start
Run the scanner against your project source to surface SQL-injection candidates for manual review.