Structured code review through the shared OpenClaw agent-skills installation.
日本語の概要は準備中です。原文の説明を表示しています。
Use when an OpenClaw maintainer or owner is reviewing a ClawHub malicious-skill profile proposal PR: checking `proposals/<GHSA-ID>/clawscan.yml`, reading the private vulnerability context without leaking it, running the SkillTrustBench Profile Gate or equivalent local benchmark, updating the accepted baseline, and promoting an accepted candidate into `internal/profiles/clawhub/clawscan.yml`.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Use this owner-side workflow for a public PR that proposes a candidate ClawHub
profile at proposals/<GHSA-ID>/clawscan.yml after a private vulnerability
report. The goal is to validate the candidate, keep sensitive details private,
and, if accepted, promote the public profile behavior into the bundled
internal/profiles/clawhub/clawscan.yml.
proposals/<GHSA-ID>/clawscan.yml. Do not trust it until reviewed.Read the current repo and PR state.
git status --short --branch before editing.proposals/<GHSA-ID>/clawscan.yml plus any baseline summary commit
produced by the maintainer gate.clawhub profile.internal/profiles/clawhub/clawscan.yml,
internal/profiles/clawhub/prompt.md, or
internal/profiles/clawhub/output.schema.json.Read the private report privately.
Use the private vulnerability report only to understand:
clawhub profile misses or under-detects itKeep public comments high-level, such as "validated against the private report" or "needs private-case follow-up"; do not quote private details.
Validate the candidate profile.
Prefer the manual GitHub Actions workflow when available:
SkillTrustBench Profile Gate
Dispatch it with the PR number and proposal path. It should run:
clawscan benchmark SkillTrustBench \
--ids https://huggingface.co/datasets/cuhk-zhuque/SkillTrustBench-results/resolve/main/data/evaluation_subset_10pct.jsonl \
--config proposals/<GHSA-ID>/clawscan.yml \
--profile clawhub \
--output ./artifacts/skilltrustbench-candidate.json
If running locally, use the same command. The --ids source is the public
SkillTrustBench leaderboard subset and is mutually exclusive with --limit
and --offset.
Review the benchmark artifact.
Check:
benchmark.id is cuhk-zhuque/SkillTrustBenchbenchmark.split is benchmarkbenchmark.idsCount is 556benchmark.idsSha256 matches the planned subset hash
903a036e4b7b16ee28e22d5d9db57a00b3764cfe41e43144acad67921e5196c2Update the accepted baseline summary.
Use the repo script so the compact baseline is generated from the full candidate artifact:
go run ./scripts/update-skilltrustbench-baseline \
--artifact ./artifacts/skilltrustbench-candidate.json \
--output benchmarks/skilltrustbench-leaderboard-10pct/<YYYY-MM-DD>.json \
--profile clawhub \
--profile-source proposals/<GHSA-ID>/clawscan.yml \
--subset-case-ids-sha256 903a036e4b7b16ee28e22d5d9db57a00b3764cfe41e43144acad67921e5196c2 \
--workflow-url <workflow-url>
If the PR merges, the newest dated JSON file in
benchmarks/skilltrustbench-leaderboard-10pct/ is the latest accepted
baseline for the bundled clawhub profile. The script fails if the
candidate artifact's selected-ID hash does not match the planned subset. No
post-merge rerun is required.
Decide.
If rejected:
If accepted:
clawhub profile behavior into
internal/profiles/clawhub/clawscan.ymlbenchmarks/skilltrustbench-leaderboard-10pct/
from the candidate artifact in the same PRproposals/<GHSA-ID>/clawscan.yml according to the
issue/PR instruction; default to preserving it as public proposal trail
unless the maintainer explicitly chooses to remove itinternal/profiles/clawhub/prompt.md or
internal/profiles/clawhub/output.schema.json only when that is the
accepted changeVerify the promoted built-in profile.
Run at least:
go test -count=1 ./...
go vet ./...
go run ./cmd/clawscan profiles -v
go run ./cmd/clawscan --help
For benchmark proof after promotion, run:
clawscan benchmark SkillTrustBench \
--ids https://huggingface.co/datasets/cuhk-zhuque/SkillTrustBench-results/resolve/main/data/evaluation_subset_10pct.jsonl \
--profile clawhub \
--output ./artifacts/skilltrustbench-clawhub.json
Use a smaller proof only when explicitly accepted; the official gate uses the subset ID source above.
Update the PR.
The maintainer promotion commit usually touches:
internal/profiles/clawhub/clawscan.yml
benchmarks/skilltrustbench-leaderboard-10pct/<YYYY-MM-DD>.json
It may also touch:
internal/profiles/clawhub/prompt.md
internal/profiles/clawhub/output.schema.json
docs/
tests
Do not include private artifacts, malicious payload details, or generated
dist/ output in ordinary promotion commits unless the issue explicitly asks
for them.
End with:
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Structured code review through the shared OpenClaw agent-skills installation.
日本語の概要は準備中です。原文の説明を表示しています。
Use when running or explaining the ClawScan CLI, including one-off agent-skill scans, benchmark runs, scanner fixtures, judge harness commands, env var validation, and interpreting clawscan-run-v1 and clawscan-benchmark-v1 artifacts.
日本語の概要は準備中です。原文の説明を表示しています。
Use when a researcher, maintainer, or contributor found or suspects a malicious skill on ClawHub and needs a private reporting workflow: opening a GitHub private vulnerability report, preparing a proposal-only PR, creating `proposals/<GHSA-ID>/clawscan.yml`, running ClawScan against the malicious skill, and explaining what evidence belongs in private versus public channels.
日本語の概要は準備中です。原文の説明を表示しています。