원클릭으로
plan
Produce runtime-viable fuzz targets and execution plan artifacts for synthesize/build stages.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Produce runtime-viable fuzz targets and execution plan artifacts for synthesize/build stages.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Classify reproduced crashes into harness bug, upstream bug, or inconclusive using evidence only.
Generate complete fuzz scaffold artifacts aligned to selected targets and execution plan.
Discover, update, and rank vulnerability candidates before execution planning.
Apply minimal evidence-driven build fixes in fuzz scaffold files for next build attempt.
Repair fuzz scaffold after build failures with strategy change and mapping consistency.
Repair scaffold for coverage replan cycles using seed and harness feedback as primary signals.
| name | plan |
| description | Produce runtime-viable fuzz targets and execution plan artifacts for synthesize/build stages. |
| compatibility | opencode |
| metadata | {"stage":"plan","owner":"tianheng"} |
Generate planning artifacts that choose practical targets and define execution priorities.
Use this skill in the plan stage for initial planning or re-planning.
fuzz/vuln_candidates.json (if present; read before target scoring)fuzz/target_analysis.json (if present)fuzz/antlr_plan_context.json (if present)list_definitions, read_definition, read_source, find_referencesrun_ast_preprocessor, extract_api_functions, build_library_callgraphinit_knowledge_base, retrieve_documents, comprehend_*fuzz/PLAN.mdfuzz/targets.jsonfuzz/execution_plan.jsonfuzz/vuln_candidates.json first when present. Treat pending high-priority candidates as the primary target source; coverage and complexity are only tie-breakers.score_total = 0.50*vuln_likelihood + 0.30*exploitability + 0.20*reachability_confidence - recent_yield_penalty.vuln_likelihood and exploitability dominate the ranking; all other dimensions are tie-breakers only.fuzz/targets.json as a strict non-empty array.fuzz/execution_plan.json with prioritized execution targets.fuzz/PLAN.md.fuzz/targets.json, each item must include non-empty name, api, lang, target_type, seed_profile, risk_type.risk_type must be carried forward from fuzz/vuln_candidates.json when a candidate is selected. Valid values: mem_oob_candidate, integer_overflow_candidate, use_after_free_candidate, null_deref_candidate, type_confusion_candidate. If no candidate maps, use none.fuzz/targets.json as advisory candidate input. The coordinator will normalize target identity, seed profile, and execution metadata before writing fuzz/selected_targets.json.api must describe an API identifier, not a harness path.api examples: fuzz/*.c, fuzz/*.cc, fuzz/*.cpp, fuzz/*.cxx, fuzz/*.java.name = LLVMFuzzerTestOneInput.include/, lib/, src/*.h). Internal/static functions (static keyword, file-local scope) require api_surface_exception with vuln_likelihood >= 0.75.test/, tests/, demo/, demos/, examples/, example/, deprecated/, legacy/, or contrib/ directories.Delete, Dealloc, Deallocate, Free, Destroy, Cleanup, Release, Dispose, Close, Uninit. These are resource management, not attack surface. Only select when vuln_likelihood >= 0.75 with crash evidence from production builds.
Check the file/source_hint field. Prefer public API equivalents from lib/ or src/ instead.
Only select a deprecated-path target when no public alternative exists; mark it with api_surface_exception and vuln_likelihood ≤ 0.3.fuzz/vuln_candidates.json has pending candidates, fuzz/PLAN.md must name the chosen candidate_id, target API, evidence IDs, and attack hint.fuzz/execution_plan.json must include execution_priority, must_run, target_name, expected_fuzzer_name, seed_profile.target_name should be API-centric and suffix-free (for example: decode).expected_fuzzer_name must map predictably to the harness/binary name (prefer <target_name>_fuzz or <target_name>_fuzzer).expected_fuzzer_name consistent with fuzz/harness_index.json and harness filename stem.min_required_built_targets (default >=2 when multiple execution targets exist).fuzz/selected_targets.json must include security_score_breakdown.fuzz/selected_targets.json is the normalized execution truth source. Keep target identity stable and API-centric.seed_families_suggested is valid when no specific advisory family guidance is justified.api_surface_exception:
vuln_likelihood >= 0.75reason and evidence_ids.Read and fix <path>[:line].fuzz/PLAN.md.find, grep, rg, cat, ls, head, tail, read-only sed).fuzz/PLAN.md exists and references a concrete primary target.fuzz/targets.json is strict-schema valid and non-empty.fuzz/execution_plan.json is consistent with selected runtime targets.fuzz/PLAN.md as the sole text of ./done (run echo 'fuzz/PLAN.md' > ./done; do not copy the file's contents).