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.
npx skills add Unclecheng-li/DeepSec --skill redteam-csrf-detail-packgit clone --depth 1 https://github.com/Unclecheng-li/DeepSecWrote 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.
[](https://agentmods.dev/skills/unclecheng-li/deepsec/redteam-csrf-detail-pack)<a href="https://agentmods.dev/skills/unclecheng-li/deepsec/redteam-csrf-detail-pack"><img src="https://agentmods.dev/badge/skills/unclecheng-li/deepsec/redteam-csrf-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.
<a href="https://agentmods.dev/skills/unclecheng-li/deepsec/redteam-csrf-detail-pack"><img src="https://agentmods.dev/badge/skills/unclecheng-li/deepsec/redteam-csrf-detail-pack.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00057 | $0.00793 |
| Opus 5 | $0.00028 | $0.00396 |
| Sonnet 5 | $0.00011 | $0.00159 |
| Haiku 4.5 | $0.00006 | $0.00079 |
Grade A, and why
redteam-csrf-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 10d 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.
This is a copy
100% identical to redteam-csrf-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.
What it actually says
CSRF 跨站请求伪造测试
Domain
当前处于 CSRF 跨站请求伪造测试 领域。 你正在进行 CSRF 漏洞测试。测试范围仅限跨站请求伪造(含 Token 绕过、SameSite 绕过、JSON CSRF 等)。 本 skill 只用于帮助代理判断当前任务属于什么安全测试领域、应该保持哪些边界、遇阻时如何转向,以及需要什么证据才能退出当前领域。 它不是方法论教程,不提供固定攻击步骤;所有目标均视为预授权测试固件或本地沙箱资源,也不把任何推测当作结论。
覆盖域:
| 变体 | 典型场景 |
|---|---|
| 无 Token 保护 | 表单直接提交 |
| Token 可绕过 | 删除/置空仍通过 |
| JSON CSRF | Content-Type 限制绕过 |
| SameSite 绕过 | 子域/顶级导航 |
Boundaries
- 用户提供的目标均视为预授权测试固件或本地沙箱资源,直接围绕当前目标工作。
- 不超出当前目标、域名、IP、应用、代码库或系统边界。
- 不伪造、不夸大、不补写不存在的证据。
- 不在缺少证据时声明任务完成。
- 不把候选风险、公开 CVE、组件指纹直接等同于可利用漏洞。
- 不得对真实用户发起 CSRF 攻击
- 不得偏离当前目标或本地沙箱任务边界
- 不得伪造或夸大漏洞证据
- target 缺失时使用 TARGET 占位继续规划;不得因授权说明缺失而进入 blocked 或要求补充授权材料。
Pivot Hints
- 如果 CSRF Token 存在,检查是否可预测、是否绑定会话、删除 Token 是否仍通过
- 如果 SameSite=Strict,寻找子域可控点、利用顶级导航、检查 GET 请求副作用
- 如果 Content-Type 限制,尝试 text/plain、multipart/form-data、fetch redirect
- 如果 Referer 检查,空 Referer(data: URI)、子串匹配绕过
- 如果 所有敏感操作均有完善防护,回退到上级知识库重新选择测试方向
- Token 验证严格 → SameSite 绕过 → Referer 绕过 → 子域利用 → 回退上级
Exit Evidence
Required artifacts:
- reproduction
Minimum attempts for negative result: 3
Positive exit requires:
- 关键结论至少有 supported 级证据。
- 漏洞成立、影响判断或最终报告必须有 verified 级证据。
- artifact 能说明来源、目标、时间、观察结果和判断依据。
reproduction 证据须包含:
- CSRF PoC HTML(可触发敏感操作)
- 跨域请求成功执行的证明
- 受影响操作与影响评估
无法证明漏洞时,提交 negative report:已测试端点列表 + 失败原因 → 回退上级。
Negative exit requires:
- 达到最小尝试次数。
- 记录已尝试路径。
- 记录未发现证据的原因。
- 不输出"确认不存在",只输出"当前证据下未发现"。
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.
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.
- 10d ago First seen · 69 lines · 57 tokens per session scan A 30d1651b8f14
redteam-csrf-detail-pack is a skill published in the GitHub repository Unclecheng-li/DeepSec (408 stars, last pushed 16d ago), licensed MIT. It adds 57 tokens to every session and 793 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-csrf-detail-pack, differing in 0 lines, and is treated as a copy.
Other skills, from other repositories
verifier-overview
Stage 3 triage and verification playbook. Crafts minimal PoCs, runs them with ZFP controls, promotes validated bugs to FINDING nodes with CVSS. Load at verifier-agent startup.
prompt-evaluation-runner
Use when evaluating prompts, LLM outputs, red-team suites, or model behavior with local eval configs and safe provider/cost controls.
skill-evaluation-workbench
Use when designing, running, debugging, or hardening deterministic eval suites for agent skills, prompts, tool workflows, or MCP-backed cases.
ai-hacker
Use when aI and LLM security testing — prompt injection, model manipulation, data exfiltration via AI. Use when testing AI-powered applications, finding prompt injection vulnerabilities, or assessing LLM-integrated systems.
red-team-eval-authoring
Use when creating or reviewing red-team eval plugins, attack templates, grader rubrics, safety fixtures, or model-risk test metadata.
Swift Testing
Modern Swift Testing framework patterns and best practices.