customize
Fungsinya
Skill ini memandu adaptasi pipeline contoh yang memakai agen AI untuk menemukan dan memeriksa bug keamanan. Skill ini membantu Anda mengganti jenis bug, bahasa, atau metode deteksi. Skill ini ditujukan untuk tim keamanan yang ingin memakai ulang pipeline untuk target mereka.
Kapan dipakai
- βSaat Anda ingin mengarahkan pipeline kerentanan ke aplikasi web atau bahasa lain.
- βSaat Anda perlu mengubah jenis bug yang dicari pipeline.
- βSaat Anda ingin membuat fork pipeline untuk domain seperti smart contract atau sistem machine learning.
Link skill
https://github.com/anthropics/defending-code-reference-harness/blob/main/.claude/skills/customize/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βBisakah Anda mengadaptasi pipeline keamanan ini agar mencari bug di aplikasi web saya, bukan di kode C?β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent membaca pipeline terlebih dahulu, mengajukan pertanyaan tentang target Anda, lalu hanya menulis ulang bagian yang spesifik untuk contoh asli dalam C dan C++.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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
Pertanyaan umum
Apakah ini hanya berfungsi untuk C dan C++?
Tidak. Contohnya memakai C dan C++, dan skill ini menjelaskan cara mengganti bahasa dan jenis bug lain.
Apakah agent akan mengajukan pertanyaan lebih dulu?
Ya. Agent membaca pipeline, lalu mewawancarai Anda tentang bagian yang ingin diubah.
Apakah ini perubahan yang cepat?
Tergantung seberapa jauh Anda ingin mengubahnya, karena sebagian pipeline bersifat umum dan sebagian lainnya spesifik.
Detail
Deskripsi asli dari pembuat
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.
Popularitas
- Bintang GitHub
- 7.7k
- Peringkat
- #13100
- Lisensi
- β
- Diperbarui
- 6/8/2026
Komentar
- β¦
Skill lain dari repositori ini
dnr-hunt
7.7kMembantu agent Anda memburu log web tanpa peringatan di tangan, mencari tanda serangan dan menuliskan insiden yang ditemukan.
dnr-respond
7.7kMembantu agent Anda menangani satu peringatan atau indikator keamanan, dengan memeriksa apakah serangan berhasil dan seberapa jauh jangkauannya.
patch
7.7kMembantu agent Anda menyusun kandidat perbaikan kode untuk temuan keamanan yang sudah diverifikasi, disimpan sebagai diff untuk ditinjau seseorang.
quickstart
7.7kMemberi agent Anda panduan singkat untuk toolkit pemindaian keamanan dan menjawab pertanyaan tentang cara memakai alatnya.
Skill serupa
reverse-engineer-anything
422kMembantu agent Anda memeriksa aplikasi dan paket yang sudah dirilis untuk menjelaskan fitur, membandingkan versi, atau memandu pembangunan ulang dengan alat REA.
1password
394kMembantu agent Anda mengatur CLI 1Password, masuk, serta membaca atau menyisipkan rahasia tanpa menampilkan nilainya di chat.
healthcheck
394kMembantu agent Anda mengaudit komputer atau server OpenClaw dari risiko keamanan seperti SSH, firewall, pembaruan, dan cadangan, lalu menyarankan perbaikan aman.