customize
Ce qu’il fait
Cette compétence guide l'adaptation d'un pipeline d'exemple qui utilise des agents IA pour trouver et vérifier des failles de sécurité. Elle aide à changer le type de bug, le langage ou la méthode de détection. Elle s'adresse aux équipes de sécurité qui veulent réutiliser ce pipeline pour leurs propres cibles.
Quand l’utiliser
- ✓Quand vous voulez orienter le pipeline de vulnérabilités vers des applications web ou un autre langage.
- ✓Quand vous devez changer le type de bug recherché par le pipeline.
- ✓Quand vous voulez adapter le pipeline à un domaine comme les contrats intelligents ou les systèmes de machine learning.
Lien du skill
https://github.com/anthropics/defending-code-reference-harness/blob/main/.claude/skills/customize/SKILL.mdCopiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.
Comment l’utiliser
Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.
Message prêt à coller
Pour Claude Code, Codex ou Cursor : lancez-la dans le dossier du projet et le skill est installé.
Téléchargez le SKILL.md et placez-le dans le dossier de skills de votre agent.
Exemple de demande à votre IA
“Peux-tu adapter ce pipeline de sécurité pour qu'il cherche des bugs dans mon application web au lieu du code C ?”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
L'agent lit d'abord le pipeline, pose des questions sur votre cible, puis réécrit uniquement les parties propres à l'exemple en C et C++.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis 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
Questions fréquentes
Ne fonctionne-t-il qu'avec C et C++ ?
Non. L'exemple est en C et C++, et la compétence explique comment remplacer le langage et le type de bug.
L'agent me pose-t-il d'abord des questions ?
Oui. Il lit le pipeline, puis vous interroge sur les parties que vous voulez modifier.
Est-ce un changement rapide ?
Cela dépend de l'ampleur de la modification, car certaines parties du pipeline sont génériques et d'autres spécifiques.
Détails
Description originale de l’auteur
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.
Popularité
- Étoiles GitHub
- 7.7k
- Position au classement
- #13100
- Licence
- —
- Mis à jour
- 06/08/2026
Commentaires
- …
Autres skills de ce dépôt
dnr-hunt
7.7kAide votre agent à chercher dans les journaux web des signes d'attaque sans alerte de départ, puis à rédiger un compte rendu des incidents confirmés.
dnr-respond
7.7kAide votre agent à traiter une alerte ou un indicateur de sécurité précis, en vérifiant si une attaque a réussi et jusqu'où elle s'est propagée.
patch
7.7kAide votre agent à rédiger des correctifs de code candidats pour des failles de sécurité vérifiées, enregistrés sous forme de différentiels à relire par une personne.
quickstart
7.7kDonne à votre agent un guide court d'une boîte à outils de sécurité et répond aux questions sur l'usage de ses outils.
Skills similaires
reverse-engineer-anything
422kAide votre agent à analyser les applications et paquets livrés, pour expliquer leurs fonctions, comparer des versions ou guider une reconstruction, avec REA.
1password
394kAide votre agent à configurer l'interface en ligne de commande de 1Password, à se connecter, et à lire ou injecter des secrets sans afficher leurs valeurs dans le chat.
healthcheck
394kAide votre agent à auditer l'ordinateur ou le serveur qui fait tourner OpenClaw pour détecter des risques de sécurité, comme SSH, le pare-feu, les mises à jour et les sauvegardes, puis à proposer des corrections sûres.