offensive-sqli
SQL injection auditing and verification methodology covering error-based, boolean/time-based blind, out-of-band (OOB) detection, database-specific syntax differences (PostgreSQL, MySQL, MSSQL, Oracle, SQLite), second-order SQLi, ORM query builder pitfalls, and parameterized query remediation. Use when auditing web endpoints, database queries, or reviewing source code for SQL injection flaws.
How do I install this agent skill?
npx skills add https://github.com/smartworldarafath/rea_skill --skill offensive-sqliIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill provides a methodology for SQL injection auditing and vulnerability verification. It is instructional in nature and does not contain malicious code, hidden instructions, or data exfiltration patterns. It is categorized as low risk because it involves processing external data such as source code and web responses, which provides a potential surface for indirect prompt injection attacks.
- Socketwarn
1 alert: gptSecurity
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
SQL Injection Audit (offensive-sqli)
Authorization & Scope Notice: This skill is part of the REA_Skill + claude-red Unified Security & Reverse Engineering Suite. It is designed strictly for authorized security assessments, defensive architecture reviews, vulnerability triage, bug bounty verification, and remediation engineering on software, infrastructure, and assets you own or have explicit permission to test.
Overview
SQL injection auditing and verification methodology covering error-based, boolean/time-based blind, out-of-band (OOB) detection, database-specific syntax differences (PostgreSQL, MySQL, MSSQL, Oracle, SQLite), second-order SQLi, ORM query builder pitfalls, and parameterized query remediation. Use when auditing web endpoints, database queries, or reviewing source code for SQL injection flaws.
Operational Workflow
- Surface & Architecture Inventory
- Identify all entrypoints, trust boundaries, parsers, and configuration files relevant to SQL Injection Audit (
webdomain). - Combine static code/binary inspection (via REA MCP tools,
rg, AST analysis, or decompilation) with runtime configuration verification.
- Identify all entrypoints, trust boundaries, parsers, and configuration files relevant to SQL Injection Audit (
- Hypothesis & Vulnerability Verification
- Test each security invariant systematically against known CWE and OWASP patterns.
- Record concrete evidence: affected file/procedure, line numbers or binary offsets, request/response trace, and root cause.
- Impact & Reachability Triage
- Evaluate whether the issue is reachable across trust boundaries, whether defense-in-depth controls mitigate it, and compute an accurate CVSS v3.1 / v4.0 score.
- Remediation & Regression Verification
- Implement or provide production-ready, copy-pasteable remediation code.
- Write an automated regression test or verification command to prove the flaw is resolved with 0 regressions.
Audit & Verification Checklist
| Phase | Check | Verification Method | Expected Secure State |
|---|---|---|---|
| 1. Discovery | Enumerate all web surfaces and dependencies | Source search / REA binary & bundle inspection | Complete inventory of trust boundaries |
| 2. Input & State | Validate parser behavior, type safety, and state transitions | Boundary testing & static taint analysis | Strict schema validation and invariant checks |
| 3. Auth & Isolation | Verify caller identity, tenant isolation, and least privilege | Horizontal/vertical privilege matrix check | Explicit deny-by-default enforcement |
| 4. Defense-in-Depth | Inspect secondary controls, logging, and compiler/runtime flags | Config & header/binary flag audit | Full hardening and telemetry enabled |
| 5. Remediation | Apply fix and execute automated regression test | npm test / toolchain build & test suite | 0 vulnerabilities, 0 build errors |
Integration with REA MCP & Tooling
- Static & Binary Analysis: Pair with
rea-universal-orchestrator,rea-binary-disassembly,rea-web-bundle-recovery, orrea-mobile-app-recoverywhen source code is unavailable. - Interactive Scoping: Invoke
/rea-grill-mebefore large-scale assessments to clarify scope, target environments, and acceptance criteria. - Reporting: Pair with
offensive-reportingto format findings with CVSS vectors, CWE mappings, and remediation patches.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/smartworldarafath/rea_skill/offensive-sqli">View offensive-sqli on skillZs</a>