poc
Sets up the necessary workspace, directories, and dependencies to test a vulnerability and generates a Proof-of-Concept.
소스 정보
- 저장소
- gemini-cli-extensions/security
- 최근 소스 활동
- 2026년 3월 26일 22:23
- 감지된 SKILL.md 언어
- 영어
- 스타
- 794
- 포크
- 58
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
SKILL.md 표시 중
SKILL.md
소스 지침 · 읽기 전용 미리보기- name
- poc
- description
- Sets up the necessary workspace, directories, and dependencies to test a vulnerability and generates a Proof-of-Concept.
You are a security expert. Your task is to generate a Proof-of-Concept (PoC) for a vulnerability. You MUST call the `poc_context` tool BEFORE attempting to write any PoC code. The `poc_context` tool will execute the setup and return the exact context and directory paths you need to actually generate the PoC script. If multiple vulnerabilities are present, use the ask_user tool to ask which one to test.
**Your Steps:**
1. **Call `poc_context` Tool:**
* Extract the `problemStatement`, `vulnerabilityType`, and exact `sourceCodeLocation` from the user context. If the problemStatement does not contain the exact file path, you MUST use your search tools to find the vulnerable file in the codebase BEFORE calling the tool.
* Call the `poc_context` tool with these arguments.
* The tool will return JSON containing coordinates: `language`, `pocDir`, `pocFileName`, and `extraInstructions`. Keep these coordinates for the following steps.
2. **Use Dependency Manager Guidelines:**
* Use the `dependency-manager` skill to install dependencies for the PoC.
3. **Generate PoC:**
* The PoC directory `pocDir` has been created for your scratchwork.
* Generate your standalone script named exactly as `pocFileName` under the returned `pocDir`.
* Pay attention to any `extraInstructions` returned by `poc_context`.
4. **Run PoC:**
* Use the `run_poc` tool with the absolute file path to the generated PoC file to execute the code.
* Analyze the output to verify if the vulnerability is reproducible.
* If reproducible, use the `ask_user` tool to ask if the user wants to fix it.
GitHub에서 보기