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가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
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
- Identify the first untrusted content that becomes model-visible.
- Map the chain from retrieval, memory, or transcript into planner or executor behavior.
- Record the exact point where text becomes a tool argument, file path, network target, or secret request.
- Prove one minimal exploit chain before exploring variants.
- 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.mdfor 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.
인기도
- GitHub 스타
- 42k
- 순위
- #6443
- 라이선스
- MIT
- 업데이트
- 2026. 9. 22.
댓글
- …
이 저장소의 다른 스킬
competition-ad-certificate-abuse
42k에이전트가 디지털 인증서 시스템에 대한 공격을 분석하도록 돕습니다. 인증서가 접근 권한을 얻는 데 어떻게 악용될 수 있는지 조사합니다.
competition-agent-cloud
42k에이전트가 AI와 클라우드 시스템의 보안 과제를 분석하도록 돕습니다. 프롬프트, 도구, 클라우드가 어떻게 악용될 수 있는지 조사합니다.
competition-android-hooking
42k에이전트가 안드로이드 애플리케이션을 조사하도록 돕습니다. 앱이 내부적으로 어떻게 작동하는지, 어떻게 변경되거나 악용될 수 있는지 분석합니다.
competition-browser-persistence
42k에이전트가 웹사이트가 브라우저에 정보를 저장하는 방식을 분석하도록 돕습니다. 쿠키와 기타 데이터를 조사해 세션이 어떻게 작동하는지 이해합니다.
비슷한 스킬
add-model-provider
394k에이전트가 안전한 설정 명령으로 새 AI 모델 제공자를 OpenClaw에 연결하고, API 키를 평문으로 두지 않으며, 실시간 테스트를 실행하도록 돕습니다.
acp-router
394k에이전트가 OpenClaw를 통해 Claude Code나 Cursor 같은 코딩 도우미에 작업을 전달해, 작업이 그 도구에서 실행되도록 돕습니다.
browser-automation
394k에이전트가 로그인, 탭, 페이지 응답이 멈췄을 때의 복구를 포함해 웹 페이지를 단계별로 조작하도록 가르칩니다.