Skip to content

Commit 57f41bc

Browse files
docs: add malicious skill reporting skill
1 parent b8db4a8 commit 57f41bc

3 files changed

Lines changed: 152 additions & 1 deletion

File tree

‎skills/clawscan-cli/SKILL.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: clawscan-cli
3-
description: Use when running or explaining the ClawScan CLI, including one-off agent-skill scans, benchmark runs, scanner fixtures, judge harness commands, env var validation, or interpreting clawscan-run-v1 and clawscan-benchmark-v1 artifacts.
3+
description: 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.
44
---
55

66
# ClawScan CLI
Lines changed: 147 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,147 @@
1+
---
2+
name: report-clawhub-malicious-skill
3+
description: >-
4+
Use when a researcher, maintainer, or contributor found or suspects a
5+
malicious skill on ClawHub and needs a private reporting workflow: opening a
6+
GitHub private vulnerability report, preparing a proposal-only PR, creating
7+
`proposals/<GHSA-ID>/clawscan.yml`, running ClawScan against the malicious
8+
skill and SkillTrustBench, and explaining what evidence belongs in private
9+
versus public channels.
10+
---
11+
12+
# Report ClawHub Malicious Skill
13+
14+
## Overview
15+
16+
Use this workflow to help someone report a malicious ClawHub skill and propose
17+
a ClawScan profile change that catches it. Keep sensitive details private and
18+
make the public PR contain only the candidate ClawScan config.
19+
20+
## Safety Boundary
21+
22+
Separate private evidence from public contribution material:
23+
24+
- Put live malicious skill URLs/slugs, impact, exploit details, reproduction
25+
notes, and private ClawScan artifacts in GitHub private vulnerability
26+
reporting.
27+
- Do not paste secrets, exploit payloads, private artifacts, or live bypass
28+
details into public issues, public PR text, README edits, or config comments.
29+
- Do not ask the reporter to execute the suspicious skill. ClawScan should scan
30+
a local copy as data; it should not run the skill's behavior.
31+
- If the reporter does not have a GHSA/private report id yet, have them open
32+
the private report first and wait for the identifier before opening the public
33+
proposal PR.
34+
35+
## Workflow
36+
37+
1. Open a GitHub private vulnerability report.
38+
39+
Ask the reporter to include:
40+
41+
- affected ClawHub skill URLs or slugs
42+
- why the current `clawhub` profile missed it
43+
- why the proposed ClawScan config catches it
44+
- local ClawScan artifact paths or attached artifacts
45+
- any private reproduction context maintainers need
46+
47+
2. Create a proposal-only branch and config.
48+
49+
The public PR should add only:
50+
51+
```text
52+
proposals/<GHSA-ID>/clawscan.yml
53+
```
54+
55+
The file must define a `clawhub` profile. Start from the current profile and
56+
change only what is needed to catch the reported case:
57+
58+
```yaml
59+
version: 1
60+
profiles:
61+
clawhub:
62+
scanners:
63+
- skillspector
64+
- virustotal
65+
- clawscan-static
66+
judge:
67+
command: >
68+
# candidate judge command, if changed
69+
```
70+
71+
Do not edit the official bundled profile files in the proposal PR:
72+
73+
- `internal/profiles/clawhub/clawscan.yml`
74+
- `internal/profiles/clawhub/prompt.md`
75+
- `internal/profiles/clawhub/output.schema.json`
76+
77+
3. Prove the candidate catches the reported skill locally.
78+
79+
Use a local copy of the suspicious skill:
80+
81+
```bash
82+
clawscan /path/to/suspect-skill \
83+
--config proposals/<GHSA-ID>/clawscan.yml \
84+
--profile clawhub \
85+
--output ./artifacts/reported-skill-candidate.json
86+
```
87+
88+
If useful, compare against the built-in profile:
89+
90+
```bash
91+
clawscan /path/to/suspect-skill \
92+
--profile clawhub \
93+
--output ./artifacts/reported-skill-current.json
94+
```
95+
96+
The public PR should not include the private artifacts unless maintainers say
97+
the contents are safe to publish. Reference them in the private report.
98+
99+
4. Run a local benchmark smoke when practical.
100+
101+
This does not replace maintainer validation, but it helps catch obvious
102+
regressions before opening the PR:
103+
104+
```bash
105+
clawscan benchmark SkillTrustBench \
106+
--config proposals/<GHSA-ID>/clawscan.yml \
107+
--profile clawhub \
108+
--limit 10 \
109+
--output ./artifacts/skilltrustbench-candidate-smoke.json
110+
```
111+
112+
5. Open the public PR.
113+
114+
Keep the PR text minimal:
115+
116+
- state that a private vulnerability report exists
117+
- point to `proposals/<GHSA-ID>/clawscan.yml`
118+
- do not include sensitive skill details
119+
- say maintainers should run the official `SkillTrustBench Profile Gate`
120+
121+
6. Explain maintainer validation.
122+
123+
Maintainers run the official gate against the proposal:
124+
125+
```bash
126+
clawscan benchmark SkillTrustBench \
127+
--config proposals/<GHSA-ID>/clawscan.yml \
128+
--profile clawhub \
129+
--output ./artifacts/skilltrustbench-candidate.json
130+
```
131+
132+
The proposal's `clawhub` profile shadows the built-in profile for that run.
133+
Maintainers review the private report, upload/preserve the benchmark
134+
artifact, update the README benchmark block, and port accepted behavior into
135+
the bundled `clawhub` profile in a follow-up change.
136+
137+
## Output Shape
138+
139+
When walking someone through the process, end with:
140+
141+
- private report checklist
142+
- exact proposal file path
143+
- candidate config draft or edits needed
144+
- local ClawScan commands to run
145+
- public PR checklist
146+
- clear note that maintainers own the official SkillTrustBench gate and final
147+
built-in profile port
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
interface:
2+
display_name: "Report ClawHub Malicious Skill"
3+
short_description: "Report malicious ClawHub skills with ClawScan proof"
4+
default_prompt: "Use $report-clawhub-malicious-skill to prepare a private malicious-skill report and candidate ClawScan config."

0 commit comments

Comments
 (0)