sqli
Skill0 starsChanged 6 days agoMITView on GitHub
Focused hunt for SQL injection: error-based, boolean-based, time-based, and out-of-band, across URL params, JSON/XML bodies, headers, and GraphQL arguments. Use when the focus is SQLi on a web target. Not for NoSQL injection (report as variant), SSTI (use ssti), or blind guessing without response diffs.
7 other projects use a version of this.
Adopted by
Most recently taken up by
- mahumadad/quarrytheir own version, first seen Nov 8, 2026
- SubhiSec/claude-ai-cyber-security-skillstheir own version, first seen Oct 25, 2026
- cdxiaodong/cain-agenttheir own version, first seen Oct 8, 2026
- zyphr-labs/bounty-harnesstheir own version, first seen Aug 26, 2026
- langbyyi/websec-skillstheir own version, first seen Jun 12, 2026
- sunilgentyala/OmniRedtheir own version, first seen Jun 4, 2026
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- cdxiaodong/cain-agent★ 953same name
- SubhiSec/claude-ai-cyber-security-skills★ 45same name
- 0xGhostCAT/claude-ai-cyber-security-skills★ 41same name
- sunilgentyala/OmniRed★ 5same name
- langbyyi/websec-skills★ 4same name
- zyphr-labs/bounty-harness★ 1same name
- mahumadad/quarry★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository25 other files it gives its agents.
- access-controlSkill
- atoSkill
- business-logicSkill
- cloudSkill
- cmd-injectionSkill
- fuzzingSkill
- graphqlSkill
- huntSkill
- info-leakSkill
- jwtSkill
- known-cvesSkill
- llm-securitySkill
- oauthSkill
- open-redirectSkill
- osintSkill
- param-pollutionSkill
- raceSkill
- reconSkill
- reportSkill
- request-smugglingSkill
- ssrfSkill
- sstiSkill
- upload-traversalSkill
- xssSkill
- xxeSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 1 is distinctive, and 3 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 30
Every context: GET/POST params, JSON values (and keys!), XML, headers (Cookie, X-Forwarded-For, UA, Referer, sorting params like …
- Distinctive: line 34
Read the error carefully: DB vendor + syntax position.
- Very specific: line 41
Prefer OOB over time when a canary channel exists (DNS/HTTP callback with data in subdomain: ||(SELECT ...)||.canary.com style) — cleaner …
- Very specific: line 44
If sqlmap is installed, confirm a single endpoint: sqlmap -r request.txt --risk=1 --level=2 --batch.
“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
SQL Injection
When to use
- "Hunt SQLi on X", "test these params for SQLi"
- OWASP coverage: A03, CWE-89
When NOT to use
- Template engines (use
ssti), OS commands (usecmd-injection)
Inputs
- Target + params list; ideally a known-good baseline request per endpoint
Rationalizations to reject
- "Response changed, so it's SQLi" — a changed response is a lead. SQLi is proven by a controlled differential (boolean pair) or a database-level effect (error, delay, OOB), not by generic diffs.
- "sqlmap said so" — verify the finding manually with one request pair before reporting; tools report blind false positives.
- "Sleep(5) worked once" — repeat once; network jitter isn't SQLi. Two consecutive controlled delays with matching baseline = proven.
Methodology
1. Injection point enumeration
Every context: GET/POST params, JSON values (and keys!), XML, headers (Cookie, X-Forwarded-For, UA, Referer, sorting params like ?order=name), GraphQL arguments, path segments. Sort/order/filter params are top candidates.
2. Error-based first (cheapest proof)
'"`\alone; then with syntax payloads:'-- -,"))-- -,'+AND+'1'='1.- Read the error carefully: DB vendor + syntax position. A driver error in the response is already a finding candidate — confirm with one clean reproduction.
3. Boolean-based
- Pair payloads:
AND 1=1vsAND 1=2(adapted to context: quote, paren, comment terminator). Diff full responses (hash, not just size). One true-pair = confirmed.
4. Time-based (only when blind)
- Single short delay probe (
SLEEP(2)/WAITFOR DELAY '0:0:2'/pg_sleep(2)per vendor). Compare against baseline timing. Max 2 repeats. Shared infra — keep it minimal. - Prefer OOB over time when a canary channel exists (DNS/HTTP callback with data in subdomain:
||(SELECT ...)||.canary.comstyle) — cleaner proof, no delay impact.
5. Tool confirmation (optional, scoped)
If sqlmap is installed, confirm a single endpoint: sqlmap -r request.txt --risk=1 --level=2 --batch. Never point sqlmap site-wide. Its findings still need the manual pair above for the report.
6. Vendors and context quirks
- MySQL:
`backticks,#comments; Postgres:::casts,$$dollar quoting; MSSQL:WAITFOR, stacked queries common; SQLite: limited functions,||concat; Oracle:FROM dual. - JSON:
"1'"string breakouts; numeric JSON:1 AND 1=1without quotes. - Second-order: input stored now, executed in a later query (reports/exports) — note as leads if suspected.
Reporting
findings/sqli-<date>.md + coverage table endpoint | param | context | technique | proven?. Severity by impact: extracted data / auth bypass = high/critical; blind confirmed = high.
Focus discipline
NoSQL/Mongo injection found → report in the same file but tag [NoSQL variant]. OS command via DB functions → lead for cmd-injection.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

