sqli

sqli is a skill for Claude Code, Codex from sanjaysaini1952/BugBounty-Arsenal. It costs 0 tokens per session (881 once invoked), scanned A, original, MIT.

A guide for testing SQL injection, where input is interpreted as part of a database query. It covers error messages, response differences, timing changes, stored inputs, sorting fields, and some NoSQL cases.

In plain words
What is it for?
Use it to test query parameters, form data, JSON bodies, headers, sort fields, stored values, and database-specific blind or UNION-style behaviors.
Why use it?
It helps find inputs that can alter database queries and produce unexpected errors, responses, delays, or data access. It compares test results with a normal response to spot differences.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to test query parameters, form data, JSON bodies, headers, sort fields, stored values, and database-specific blind or UNION-style behaviors.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sanjaysaini1952/bugbounty-arsenal/sqli
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add sanjaysaini1952/BugBounty-Arsenal --skill sqli
Clone the repo
git clone --depth 1 https://github.com/sanjaysaini1952/BugBounty-Arsenal

Made for: Claude Code, Codex.

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 sqli

README.md
[![agentmods](https://agentmods.dev/badge/skills/sanjaysaini1952/bugbounty-arsenal/sqli/github.svg)](https://agentmods.dev/skills/sanjaysaini1952/bugbounty-arsenal/sqli)
Your own site
<a href="https://agentmods.dev/skills/sanjaysaini1952/bugbounty-arsenal/sqli"><img src="https://agentmods.dev/badge/skills/sanjaysaini1952/bugbounty-arsenal/sqli/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 sqli

Your own site · 80×15
<a href="https://agentmods.dev/skills/sanjaysaini1952/bugbounty-arsenal/sqli"><img src="https://agentmods.dev/badge/skills/sanjaysaini1952/bugbounty-arsenal/sqli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 881 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00000 $0.00881
Opus 5 $0.00000 $0.00441
Sonnet 5 $0.00000 $0.00176
Haiku 4.5 $0.00000 $0.00088

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

Security

Grade A, and why

sqli scanned grade A with 0 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 11d ago.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/hunting/sqli/SKILL.md · 67 lines

How it starts

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

SQL Injection Hunting Skill — 15 Test Cases

Load when: SQLi, SQL injection, database error, blind SQLi.

26. Error-based SQLi probe (easy)

For each parameter (GET, POST, JSON body, headers), append ', ", \, '), ')). Diff responses. Report parameters that emit SQL errors or 500s differing from baseline.

27. Boolean-based blind SQLi (medium)

Send ' AND 1=1-- - and ' AND 1=2-- -. If responses differ deterministically, confirm blind SQLi and extract DB version.

28. Time-based blind SQLi (medium)

Send ' AND SLEEP(5)-- - (MySQL), '; WAITFOR DELAY '0:0:5'-- (MSSQL), ' AND pg_sleep(5)-- - (Postgres). Compare response times.

29. UNION-based SQLi column count (medium)

Use ORDER BY 1--, ORDER BY 2--, ... until error, then UNION SELECT NULL,NULL,... to identify column count and reflected column.

30. Second-order SQLi (hard)

Inject ' || (SELECT version())-- into fields stored then later used in queries (username, file path, log message). Trigger the second query.

31. SQLi via ORDER BY / column names (medium)

Test injection in sort parameters (?sort=name). Try name,(CASE WHEN 1=1 THEN 1 ELSE 2 END).

32. NoSQL injection in MongoDB (easy)

Send {"$ne": null}, {"$gt": ""}, {"$regex": ".*"} in JSON login fields. Report auth bypass.

33. SQLi via JSON parameters (medium)

If API accepts {"filter": {"id": 1}}, replace value with {"$gt": 0} (NoSQL) or "1 OR 1=1" (SQL passthrough).

34. Out-of-band SQLi via DNS (hard)

On MySQL with LOAD_FILE or MSSQL with xp_dirtree, exfil data through DNS lookups to Burp Collaborator domain.

35. SQLi in stored procedures (hard)

If parameters feed into stored procs, test '; EXEC sp_who-- (MSSQL) and provider-specific escapes.

36. SQLi via header values (medium)

Test User-Agent, X-Forwarded-For, Referer for SQLi. Common in logging/analytics tables.

37. SQLi in LIMIT / OFFSET (hard)

Inject 1 PROCEDURE ANALYSE() after LIMIT in MySQL; test OFFSET (SELECT...) patterns.

Read the full file on GitHub · 67 lines

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. 11d ago First seen · 67 lines · 0 tokens per session scan A 374d28a0677e

Subscribe to this mod's changes

sqli is a skill published in the GitHub repository sanjaysaini1952/BugBounty-Arsenal (2 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 881 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens