---
name: "sqlmap-automated-injection-testing"
description: "Detect and verify SQL injection vulnerabilities across HTTP requests with sqlmap."
metadata:
  author: "sqlmapproject"
  version: "1.0.0"
  runtime_compatibility:
    - "codex"
    - "claude-code"
    - "cursor"
    - "windsurf"
triggers:
  - "run sqlmap scan"
  - "test sql injection sqlmap"
  - "audit request with sqlmap"
permissions:
  fs_read: true
  fs_write: "workspace"
  shell_exec: false
  net_access: false
---

# sqlmap Automated SQL Injection Testing Engine

Automates SQL injection testing using sqlmap: boolean-based blind, time-based blind, error-based, UNION query injection, database fingerprinting, and risk evaluation.

## When to Invoke
Invoke this skill whenever you need to:
- run sqlmap scan
- test sql injection sqlmap
- audit request with sqlmap

## Execution SOP & Rules
1. Run sqlmap only against authorized test environments with explicit permission.
2. Use -r request.txt to inspect complex multi-header or JSON API request payloads.
3. Tune scan parameters: --level=2 --risk=1 to prevent unintended data corruption.
4. Verify findings manually and implement parameterized queries to resolve identified flaws.

## Verification Checklist
- Run local linting, syntax validation, and type-checks before reporting completion.
- Ensure all created or modified files adhere to workspace boundaries and avoid uncommitted secrets.
- Verify tests or build commands exit cleanly with return code 0.
