跳到正文
Skillpedia
智能体42k · #6443

competition-prompt-injection

它能做什么

这个工具帮助你分析一个程序(智能体)如何被恶意信息“骗”到。它会追踪不可信的数据如何改变程序的行为,或者让机密信息泄露出去。

适用场景

  • ✓当你怀疑某个程序被恶意文本“骗”了时。
  • ✓想弄清楚外部数据如何改变程序的操作时。
  • ✓在调查程序是否泄露了机密信息时。

技能链接

https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-prompt-injection/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-prompt-injection/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“分析这段文本如何让智能体泄露一个机密:[此处填入恶意文本]”

每周 5 个新技能,1 分钟读完。

工作原理

工具会描绘数据从输入到程序最终操作的路径。它会找出不可信信息在哪些环节可能影响程序,使其做出意外行为或泄露机密。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Competition Prompt Injection

Use this skill only as a downstream specialization after $ctf-sandbox-orchestrator is already active and has established sandbox assumptions, node ownership, and evidence priorities. If that has not happened yet, return to $ctf-sandbox-orchestrator first.

Use this skill when the challenge is primarily about trust boundaries inside an agentic system.

Reply in Simplified Chinese unless the user explicitly requests English.

Quick Start

  1. Identify the first untrusted content that becomes model-visible.
  2. Map the chain from retrieval, memory, or transcript into planner or executor behavior.
  3. Record the exact point where text becomes a tool argument, file path, network target, or secret request.
  4. Prove one minimal exploit chain before exploring variants.
  5. Keep prompt snippets and tool transitions in compact evidence blocks.

Workflow

1. Map The Control Stack

  • Track system, developer, user, retrieved, memory, planner, and tool-response layers separately.
  • Distinguish claimed capability from runtime-exposed capability.
  • Note what the model can actually call, read, or mutate.

2. Prove The Boundary Crossing

  • Reproduce one chain from untrusted text to changed planner behavior, changed tool args, or secret exposure.
  • Keep the decisive transcript compact: source chunk, rewritten planner state, final tool invocation.
  • Prefer the smallest transcript that still demonstrates the bug.

3. Report By Boundary

  • State which layer failed: retrieval, summarizer, planner, executor, tool normalization, or output post-processing.
  • Separate instruction drift from actual side effect.

Read This Reference

  • Load references/prompt-injection.md for the checklist, evidence layout, and common prompt-boundary pitfalls.

What To Preserve

  • Original malicious chunk or prompt
  • Intermediate summary or planner drift if it matters
  • Final tool args, file paths, or exposed secret surface
常见问题

什么是“提示词注入”(prompt injection)?

就是把恶意文本混入程序中,诱使它执行不想要的命令或泄露信息。

什么是“信任边界”?

它是系统内部的信任界限。这个工具会检查这些边界是否被遵守,或者是否可能被恶意信息突破。

这个工具会记录哪些证据?

它会记录原始的恶意文本、程序行为的任何变化,以及最终暴露问题的操作。

详情

作者的原始描述

Internal downstream skill for ctf-sandbox-orchestrator. CTF-sandbox workflow for prompt-injection, retrieval poisoning, memory contamination, planner drift, MCP or tool-boundary abuse, and agent exfiltration challenges. Use when the user asks to analyze prompt injection, retrieval poisoning, memory contamination, planner drift, tool-argument corruption, or secret exposure caused by an agent chain.

repo: zhaoxuya520/reverse-skill

热度

GitHub 星标
42k
排名
#6443
许可证
MIT
更新时间
2026/9/22

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能