本文へスキップ
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に貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-prompt-injection/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に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
よくある質問

「プロンプトインジェクション」とは何ですか?

悪意のあるテキストをプログラムに紛れ込ませ、望まない命令を実行させたり、情報を漏らさせたりする攻撃のことです。

「信頼境界」とは何ですか?

システム内で、どこまでを信頼してよいかの境界線のことです。このツールは、その境界が守られているか、悪意のある情報によって突破されていないかを確認します。

ツールは証拠として何を記録しますか?

元の悪意のあるテキスト、プログラムの動作の変化、そして問題が明らかになった最終的な動作を記録します。

詳細

作者による元の説明

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

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル