01 · GITHUB ACTIONS · SHA-256 고정
기본은 오프라인 무료 실행, 선택 시 Edge Ed25519 서명 게이트.
.github/workflows/vericull-sarif-gate.yml
# Produce $RUNNER_TEMP/vericull-scan.sarif from a pinned scanner step (never from PR checkout).
# R3-9: every step is chained with &&, so a failed download or checksum stops before the CLI runs.
curl -fsSL https://vericull.risconlabs.com/releases/vericull_cli.py -o "$RUNNER_TEMP/vericull_cli.py" &&
curl -fsSL https://vericull.risconlabs.com/data/forensic-dossiers.json -o "$RUNNER_TEMP/forensic-dossiers.json" &&
echo "8bcb4aee719c4fd944f9d4bae3bbfedd1a9e8567d2dcf945691d2e6afcceafe2 $RUNNER_TEMP/vericull_cli.py" | sha256sum -c - &&
echo "ba7a934322897c40ea441fb17c9c1592d64c0dd9a9eaa53322739c5416298c3e $RUNNER_TEMP/forensic-dossiers.json" | sha256sum -c - &&
python3 -I "$RUNNER_TEMP/vericull_cli.py" local-sarif --sarif "$RUNNER_TEMP/vericull-scan.sarif" --repo-root . --model "$RUNNER_TEMP/forensic-dossiers.json"
02 · 에어갭 엔클레이브 & 자체 생성 ED25519 키
외부 네트워크 없이 자체 RFC 8032 키를 생성하고 영수증에 서명하세요.
offline-enclave-sign.sh
python3 -I vericull_cli.py keygen --out enclave-ed25519.json
python3 -I vericull_cli.py audit --preset default --key-file enclave-ed25519.json --out signed-audit.json
python3 -I vericull_cli.py verify signed-audit.json --key "$(python3 -c 'import json;print(json.load(open("enclave-ed25519.json"))["pub_hex"])')"
03 · CI에서 실행하는 CORVEL DRY-LAB RTL 검사
Verilog/SV 소스를 검사하고 CI에서 집계한 회귀 시행 수를 입력하세요.
python3 -I vericull_cli.py rtl-prove \
--rtl rtl/axi_keyslot_ctrl.v \
--module axi_keyslot_ctrl \
--claim "if (awprot_priv && (awaddr_slot < 4'd8) && !key_locked[awaddr_slot])" \
--absent "32'hDEAD_BEEF" \
--passes "$RTL_PASSES" --attempts "$RTL_ATTEMPTS" \
--out rtl-check-receipt.json
04 · 다회 실행 새니타이저 랩 (VC-R04 WILSON ≥ 0.50)
제출된 새니타이저 로그를 집계하고 Wilson 기준을 적용하세요.
audit-sanitizer-logs.sh
python3 -I vericull_cli.py kasan-collect \
--case-id "CI-REQUEST-GUARD" \
--source src/request.c \
--vuln-class CWE-476 \
--claim "if (!request) return EINVAL;" \
--logs-dir runs/ \
--model forensic-dossiers.json \
--out sanitizer-audit.json