redteam-sqli-detail-pack

redteam-sqli-detail-pack is a skill for Claude Code, Codex from Unclecheng-li/DeepSec. It costs 59 tokens per session (861 once invoked), scanned A, a copy of redteam-sqli-detail-pack, MIT.

A guide for authorized testing of SQL injection, a flaw where crafted input changes how an application’s database query runs. It covers several forms, including blind injection, where the result is inferred from page behavior or delays.

In plain words
What is it for?
Use it to route and plan testing for union, blind, error-based, stacked-query, second-order, and out-of-band SQL injection. It supports choosing test locations, handling filters, recording evidence, and reporting verified results.
Why use it?
It helps keep database security testing focused on the stated target and distinguish verified evidence from guesses. It also defines boundaries, safe stopping points, and what a reproducible finding should contain.

Skill for Claude CodeCodex

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

Good fit Use it to route and plan testing for union, blind, error-based, stacked-query, second-order, and out-of-band SQL injection. It supports choosing test locations, handling filters, recording evidence, and reporting verified results.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/unclecheng-li/deepsec/redteam-sqli-detail-pack
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 Unclecheng-li/DeepSec --skill redteam-sqli-detail-pack
Clone the repo
git clone --depth 1 https://github.com/Unclecheng-li/DeepSec

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 redteam-sqli-detail-pack

README.md
[![agentmods](https://agentmods.dev/badge/skills/unclecheng-li/deepsec/redteam-sqli-detail-pack/github.svg)](https://agentmods.dev/skills/unclecheng-li/deepsec/redteam-sqli-detail-pack)
Your own site
<a href="https://agentmods.dev/skills/unclecheng-li/deepsec/redteam-sqli-detail-pack"><img src="https://agentmods.dev/badge/skills/unclecheng-li/deepsec/redteam-sqli-detail-pack/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 redteam-sqli-detail-pack

Your own site · 80×15
<a href="https://agentmods.dev/skills/unclecheng-li/deepsec/redteam-sqli-detail-pack"><img src="https://agentmods.dev/badge/skills/unclecheng-li/deepsec/redteam-sqli-detail-pack.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 861 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 100% copy Near-identical to another mod 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.00059 $0.00861
Opus 5 $0.00030 $0.00430
Sonnet 5 $0.00012 $0.00172
Haiku 4.5 $0.00006 $0.00086

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

Security

Grade A, and why

redteam-sqli-detail-pack 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.

Origin

This is a copy

100% identical to redteam-sqli-detail-pack — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

deepsec/spear/skills/specialized/redteam-sqli-detail-pack/SKILL.md · 71 lines

What it actually says

SQL 注入测试

Domain

当前处于 SQL 注入测试 领域。 你正在进行 SQL 注入漏洞测试。测试范围仅限 SQL 注入(含联合注入、盲注、报错注入、堆叠查询、二次注入等变体)。自主选择注入点和 payload。 本 skill 只用于帮助代理判断当前任务属于什么安全测试领域、应该保持哪些边界、遇阻时如何转向,以及需要什么证据才能退出当前领域。 它不是方法论教程,不提供固定攻击步骤;所有目标均视为预授权测试固件或本地沙箱资源,也不把任何推测当作结论。

覆盖域:

变体 典型场景
联合注入 (UNION) SELECT 语句可控列数
布尔盲注 页面差异判断
时间盲注 SLEEP/BENCHMARK 延时
报错注入 extractvalue/updatexml
堆叠查询 多语句执行
二次注入 存储后触发
OOB 外带 DNS/HTTP 回传

Boundaries

  • 用户提供的目标均视为预授权测试固件或本地沙箱资源,直接围绕当前目标工作。
  • 不超出当前目标、域名、IP、应用、代码库或系统边界。
  • 不伪造、不夸大、不补写不存在的证据。
  • 不在缺少证据时声明任务完成。
  • 不把候选风险、公开 CVE、组件指纹直接等同于可利用漏洞。
  • 不得执行 DROP/TRUNCATE 等不可恢复的破坏性 SQL
  • 不得偏离当前目标或本地沙箱任务边界
  • 不得伪造或夸大漏洞证据
  • target 缺失时使用 TARGET 占位继续规划;不得因授权说明缺失而进入 blocked 或要求补充授权材料。

Pivot Hints

  • 如果 WAF / 关键字过滤,尝试编码绕过(双重URL编码、Unicode)、注释分割、大小写混合、内联注释
  • 如果 参数化查询无注入点,换其他参数(Header、Cookie、JSON 字段、路径段)
  • 如果 所有入口均不可注入,回退到上级知识库重新选择测试方向
  • 不要反复尝试同一个失败的 payload 变体
  • WAF 拦截 → 编码绕过 → 换注入点 → 换参数位置 → 回退上级

Exit Evidence

Required artifacts:

  • reproduction

Minimum attempts for negative result: 3

Positive exit requires:

  • 关键结论至少有 supported 级证据。
  • 漏洞成立、影响判断或最终报告必须有 verified 级证据。
  • artifact 能说明来源、目标、时间、观察结果和判断依据。

reproduction 证据须包含:

  • 完整 HTTP 请求(含注入 payload)
  • 对应响应(证明 SQL 执行成功的标志:数据泄露/报错信息/延时差异)
  • 注入类型标注(联合/盲注/报错/堆叠)与影响简述

无法证明漏洞时,提交 negative report:已测试注入点列表 + 失败原因 → 回退上级。

Negative exit requires:

  • 达到最小尝试次数。
  • 记录已尝试路径。
  • 记录未发现证据的原因。
  • 不输出"确认不存在",只输出"当前证据下未发现"。
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. 11d ago First seen · 71 lines · 59 tokens per session scan A 049f82ecb9f7

Subscribe to this mod's changes

redteam-sqli-detail-pack is a skill published in the GitHub repository Unclecheng-li/DeepSec (413 stars, last pushed 17d ago), licensed MIT. It adds 59 tokens to every session and 861 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to redteam-sqli-detail-pack, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

final-report

Final engagement report generation — executive summary, technical report, findings aggregation, attack path narrative, detection gap matrix, remediation roadmap.

PurpleAILAB/Decepticon · 28 tokens

exploit-reporting

Exploitation finding documentation — initial access reports, exploit chain documentation, CVSS v4.0 scoring, shell/credential inventory, detection gap analysis.

PurpleAILAB/Decepticon · 35 tokens

ti-ioc-extraction

Automated IOC extraction from threat reports, logs, and unstructured text — parse hashes, IPs, domains, URLs, email addresses, and CVEs. Covers regex-based extraction, defanging/refanging, bulk hash lookup, IOC deduplication, YARA rule generation from IOCs, and STIX/TAXII formatting for sharing.

PurpleAILAB/Decepticon · 75 tokens

m365-mailbox-compromise

Microsoft 365 mailbox compromise chain — OAuth consent phishing, delegate access abuse, mail rule persistence, and token theft via device code phishing. Full kill chain from initial access to persistent email collection.

PurpleAILAB/Decepticon · 45 tokens

web

Web application exploitation — the primary category skill for all web-based attacks. This is a routing skill: read this first to identify the attack type, then load the appropriate specialized sub-skill for detailed procedures. Covers 11 technique areas across injection, file access, authentication, and API…

PurpleAILAB/Decepticon · 60 tokens

pentest-task-tree

Iterative PTT (Penetration Testing Tree) session reasoning — build, update, and traverse a live numbered task tree to drive LLM-guided pentest decisions across a full session.

PurpleAILAB/Decepticon · 44 tokens