customize
하는 일
이 스킬은 AI 에이전트로 보안 버그를 찾고 검사하는 샘플 파이프라인을 다른 목적에 맞게 바꾸는 과정을 안내합니다. 버그 유형, 언어, 탐지 방식을 바꾸는 데 도움을 줍니다. 이 파이프라인을 자신의 대상에 맞춰 다시 쓰려는 보안 팀을 위한 스킬입니다.
사용하는 경우
- ✓웹 앱이나 다른 언어를 대상으로 취약점 파이프라인을 쓰고 싶을 때.
- ✓파이프라인이 찾는 버그 유형을 바꿔야 할 때.
- ✓스마트 컨트랙트나 머신러닝 시스템 같은 분야에 맞게 파이프라인을 복제하고 싶을 때.
스킬 링크
https://github.com/anthropics/defending-code-reference-harness/blob/main/.claude/skills/customize/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“이 보안 파이프라인을 C 코드 대신 내 웹 앱의 버그를 찾도록 고쳐 줄 수 있나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 먼저 파이프라인을 읽고, 대상에 대해 질문한 뒤, 원래 C와 C++ 예제에 특화된 부분만 다시 씁니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Customize the vuln-pipeline
This pipeline ships as an opinionated C/C++ + AddressSanitizer demo. Its real shape is more general: an agent crafts an input, runs a target in a sandbox, a detector fires, a second agent verifies, a third agent analyzes exploitability. Every noun in that sentence can be swapped. Your job is to interview the user, figure out which nouns they want to swap, and rewrite the relevant files.
The existing C/C++ code is the worked example. You don't need a playbook for each domain — read what's there, understand what's generic vs. ASAN-specific, and adapt.
STEP 1 — Read the pipeline (do this BEFORE asking anything)
Skim these files so your questions are grounded:
README.md— pipeline overview (recon → find → grade → judge → report)harness/cli.py— orchestration; shows how stages wire together and what lands on diskharness/find.py,harness/grade.py,harness/report.py— the three container-agent loops; mostly generic plumbingharness/prompts/find_prompt.py,harness/prompts/grade_prompt.py— the C/C++-specific parts; bug taxonomy, quality tiers, grading rubricharness/prompts/report_prompt.py,harness/prompts/report_grader_prompt.py— also C/C++-specific; exploitability sections (primitive, heap layout, escalation path) and the rubric that scores themharness/prompts/judge_prompt.py— triage prompt; keys on ASAN excerpts and memory-safety crash classesharness/prompts/system_prompt.py— authorization block; hard-codes "C/C++ target" and "sanitizer output"harness/asan.py— stack-trace parser for dedup/judge signatures; ASAN-specific regexharness/artifacts.py—CrashArtifact,GraderVerdict,JudgeVerdict,ReportVerdictdata contractsharness/config.py,targets/drlibs/config.yaml— target config schematargets/README.md— how a target directory is structured (Dockerfile + config.yaml + entry wrapper)
You don't need agent.py, docker_ops.py, recon.py, judge.py, or novelty.py in detail — they're generic plumbing (judge/novelty domain-specificity lives in the prompts and the asan parser, not the flow). One caution: part of harness/ doubles as shared infrastructure — dnr_harness/ (the detection-and-response pipeline) imports agent.py, sandbox.py, docker_ops.py, agent_image.py's build/ensure_base, auth.py, cli.py's resolve_target_dir/terminate_subprocesses, and prompts/system_prompt.py's load_engagement_context. A domain port should touch only the domain-specific files (the prompts, asan.py, artifacts.py, target Dockerfiles); treat any edit to the shared files as a change to both pipelines.
STEP 2 — Interview the user
Use AskUserQuestion to gather requirements. Start with broad context, then narrow to technical specifics based on what they say.
Round 1 — Context (always ask these first, together)
Two open-ended questions to understand who you're talking to and what they're after. Expect most answers to come via Other as free text — the options are there to prompt thinking, not to constrain.
Question A — Operating context
- header:
Context - question:
What's your operating environment? Who will run this pipeline and why? - options: a few archetypes as inspiration — e.g. "Pentesting firm — client engagements, need reportable findings", "Internal appsec team — scan our own services in CI", "Smart-contract auditor — pre-deployment reviews", "Security researcher — hunting novel bug classes". These tell you what output format, grading rigor, and workflow integration matter.
Question B — Goal
- header:
Goal - question:
Describe in your own words what you want this pipeline to find. What kind of target, what kind of bugs? - options: 2–3 concrete examples (e.g. "Web vulnerabilities like SQLi/XSS in HTTP services", "Reentrancy and access-control bugs in Solidity contracts", "Deserialization RCE in Java microservices").
The context answer calibrates your follow-ups: a pentesting firm probably cares about CVSS scoring and SARIF output; a researcher may want differential testing and novel detection signals; an internal team likely wants CI integration and low false-positive rates.
Round 2 — Technical follow-ups (adaptive — derive from round-1 answers)
Parse their round-1 answers against the axes of variation below. For each axis left ambiguous, ask a targeted follow-up. Batch up to 4 questions per AskUserQuestion call. Common follow-ups:
- **Det
자주 묻는 질문
C와 C++에서만 작동하나요?
아니요. 샘플은 C와 C++이지만, 이 스킬은 다른 언어와 버그 유형으로 바꾸는 방법을 설명합니다.
에이전트가 먼저 질문하나요?
네. 에이전트는 파이프라인을 읽은 뒤 바꾸고 싶은 부분에 대해 질문합니다.
빠르게 바꿀 수 있는 작업인가요?
얼마나 많이 바꾸고 싶은지에 따라 다릅니다. 파이프라인에는 범용적인 부분과 특화된 부분이 함께 있기 때문입니다.
상세 정보
작성자의 원본 설명
Adapt this C/C++ ASAN vulnerability pipeline to a different vulnerability class, target shape, language, or detection mechanism. Use when the user wants to port, migrate, retarget, customize, or fork the pipeline for something other than C/C++ memory-safety bugs — web apps, smart contracts, deserialization, ML systems, or any other domain.
인기도
- GitHub 스타
- 7.7k
- 순위
- #13100
- 라이선스
- —
- 업데이트
- 2026. 8. 6.
댓글
- …
이 저장소의 다른 스킬
dnr-hunt
7.7k에이전트가 경보 없이 웹 로그에서 공격의 흔적을 찾고, 발견한 사건을 정리하도록 돕습니다.
dnr-respond
7.7k에이전트가 보안 경보나 침해 지표 하나를 검토해 공격이 성공했는지, 어디까지 퍼졌는지 확인하도록 돕습니다.
patch
7.7k에이전트가 검증된 보안 발견 사항의 코드 수정안을 diff 파일로 작성해, 사람이 검토할 수 있게 돕습니다.
quickstart
7.7k에이전트가 보안 스캔 도구 모음을 짧게 소개하고, 도구 사용법에 대한 질문에 답하도록 돕습니다.