offensive-toctou
SnailSploit/Claude-Red/Skills/exploit-dev/offensive-toctou
检测并利用时间竞争条件漏洞
Time-of-Check / Time-of-Use (TOCTOU) race condition exploitation methodology across binary, kernel, filesystem, web, and container layers. Covers symbolic-link races (open/access/stat split), file-descriptor races, fopen/realpath traversal races, /proc and procfs races, FUSE-backed slow-fs races to widen the window, ptrace and signal races, kernel double-fetch / userspace pointer races, container/runc/symlink escape primitives, kubernetes admission/authz TOCTOU, web auth-vs-authz TOCTOU, JWT-claim TOCTOU at gateway vs service, payment/idempotency races, and modern race-amplification techniques (single-packet attack, slow loris, FUSE pause, cgroup freeze, scheduler shaping). Use when you've identified a 'check then act' pattern in code, when fuzzing for race conditions, or when exploiting concurrency bugs in privileged binaries / kernel / orchestrators.
把下面的话发给 Claude Code、Codex 或 Cursor。智能体会先检查内容,经你确认再安装。
请帮我安装这个 Agent Skill:https://github.com/SnailSploit/Claude-Red/tree/main/Skills/exploit-dev/offensive-toctou 1. 先读取该目录下的 SKILL.md 和其他文件,检查是否有可疑内容(执行未知脚本、读取密钥、向外发送数据等),用中文告诉我它会做什么、需要哪些权限; 2. 等我确认后,再把整个目录安装到 ~/.claude/skills/offensive-toctou/(如果你不是 Claude Code,安装到你自己约定的 skills 目录); 3. 安装后告诉我怎么触发它。
安装到个人 Skill 目录(对所有项目生效)。只想在当前项目用,改为 .claude/skills/。
git clone --depth 1 --filter=blob:none --sparse https://github.com/SnailSploit/Claude-Red.git /tmp/offensive-toctou-src cd /tmp/offensive-toctou-src && git sparse-checkout set "Skills/exploit-dev/offensive-toctou" mkdir -p ~/.claude/skills && cp -r "Skills/exploit-dev/offensive-toctou" ~/.claude/skills/offensive-toctou
Skill 可以让智能体执行脚本。安装第三方 Skill 前务必看一遍内容,详见「安全」一课。
SKILL.md
在 GitHub 查看正在从 GitHub 读取……