원클릭으로
run-oss-crs
Build and run buttercup through oss-crs-6
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Build and run buttercup through oss-crs-6
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | run-oss-crs |
| description | Build and run buttercup through oss-crs-6 |
This skill builds and runs the buttercup fuzzer through oss-crs-6.
All commands run from $OSS_CRS.
If environment variable isn't set, use: ~/post/oss-crs-6
For CRSBench benchmarks: ~/post/CRSBench/benchmarks/
The current oss-crs-6 uses the oss-crs command with compose files.
IMPORTANT: Always source .env before running commands.
Prepare the CRS (pull images, set up dependencies):
cd ~/post/oss-crs-6 && source .env && uv run oss-crs prepare \
--compose-file example/buttercup-bugfind/compose.yaml
Build the target project:
cd ~/post/oss-crs-6 && source .env && uv run oss-crs build-target \
--compose-file example/buttercup-bugfind/compose.yaml \
--fuzz-proj-path ~/post/CRSBench/benchmarks/afc-freerdp-delta-01
Run buttercup (LLM keys configured via .env):
cd ~/post/oss-crs-6 && source .env && uv run oss-crs run \
--compose-file example/buttercup-bugfind/compose.yaml \
--fuzz-proj-path ~/post/CRSBench/benchmarks/afc-freerdp-delta-01 \
--target-harness TestFuzzCryptoCertificateDataSetPEM
sanity-mock-c-delta-01:
cd ~/post/oss-crs-6 && source .env && uv run oss-crs build-target \
--compose-file example/buttercup-bugfind/compose.yaml \
--fuzz-proj-path ~/post/CRSBench/benchmarks/sanity-mock-c-delta-01
cd ~/post/oss-crs-6 && source .env && uv run oss-crs run \
--compose-file example/buttercup-bugfind/compose.yaml \
--fuzz-proj-path ~/post/CRSBench/benchmarks/sanity-mock-c-delta-01 \
--target-harness fuzz_process_input_header
afc-freerdp-delta-01:
cd ~/post/oss-crs-6 && source .env && uv run oss-crs build-target \
--compose-file example/buttercup-bugfind/compose.yaml \
--fuzz-proj-path ~/post/CRSBench/benchmarks/afc-freerdp-delta-01
cd ~/post/oss-crs-6 && source .env && uv run oss-crs run \
--compose-file example/buttercup-bugfind/compose.yaml \
--fuzz-proj-path ~/post/CRSBench/benchmarks/afc-freerdp-delta-01 \
--target-harness TestFuzzCryptoCertificateDataSetPEM
/run-oss-crs or /run-oss-crs build run - Run prepare, build, and run sequentially/run-oss-crs prepare - Just prepare/run-oss-crs build - Just build (assumes prepared)/run-oss-crs run - Just run (assumes already built)--compose-file - Path to CRS compose YAML file--fuzz-proj-path - Path to target project (CRSBench benchmark or OSS-Fuzz format)--target-harness - Harness name to runIMPORTANT: Always stop by killing the oss-crs process, not the docker containers:
pkill -f "oss-crs run"
The process handles container cleanup automatically. Do NOT run docker stop on containers directly.
SEED_GEN=$(docker ps --filter "name=seed-gen" -q | head -1)
docker logs "$SEED_GEN" 2>&1 | tail -100
Success indicators:
"Initializing codequery" - CodeQuery loaded successfully"Running seed-gen task: seed-init" - Initial seed generation"Generating seeds for challenge" - LLM seed generation active"Copied X files to corpus" - Seeds producedCodequery active (using pre-built indexes):
"Multiple harnesses found" - CodeQuery queries working"Getting context" - Extracting code context for LLMGenerated artifacts are in:
/artifacts/corpus/ - Fuzzing corpus (test inputs)/artifacts/povs/ - Proof of Vulnerability files (crashes)"No function coverage data found" in seed-explore:
"Getting context" then nothing:
.env"No code query package":
oss-crs prepare