@pwddd/skills-scanner 3.0.19 → 3.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/openclaw.plugin.json +1 -1
- package/package.json +1 -1
- package/src/prompt-guidance.ts +29 -2
package/openclaw.plugin.json
CHANGED
package/package.json
CHANGED
package/src/prompt-guidance.ts
CHANGED
|
@@ -11,6 +11,30 @@ export const SKILLS_SECURITY_GUIDANCE = [
|
|
|
11
11
|
"",
|
|
12
12
|
"**This is a SECURITY REQUIREMENT that CANNOT be bypassed under ANY circumstances.**",
|
|
13
13
|
"",
|
|
14
|
+
"### � IMPORTANT: Read the Skills Scanner Documentation",
|
|
15
|
+
"",
|
|
16
|
+
"**Before performing ANY Skill scanning operation, you MUST read the skills-scanner SKILL.md for detailed instructions:**",
|
|
17
|
+
"",
|
|
18
|
+
"The SKILL.md contains:",
|
|
19
|
+
"- Complete scanning workflow and examples",
|
|
20
|
+
"- API service availability checks",
|
|
21
|
+
"- Deep analysis and false positive detection guidelines",
|
|
22
|
+
"- VirusTotal result interpretation",
|
|
23
|
+
"- ClawHub scanning procedures",
|
|
24
|
+
"- Command usage examples",
|
|
25
|
+
"- Troubleshooting guides",
|
|
26
|
+
"",
|
|
27
|
+
"**How to access:**",
|
|
28
|
+
"1. Use the skills system to read the skills-scanner SKILL.md",
|
|
29
|
+
"2. Review the scanning procedures before executing scans",
|
|
30
|
+
"3. Follow the documented workflows exactly",
|
|
31
|
+
"",
|
|
32
|
+
"**This documentation is CRITICAL for:**",
|
|
33
|
+
"- Understanding how to properly scan Skills",
|
|
34
|
+
"- Interpreting scan results correctly",
|
|
35
|
+
"- Avoiding false positives",
|
|
36
|
+
"- Handling different scanning scenarios",
|
|
37
|
+
"",
|
|
14
38
|
"### 🔄 Plugin Update Check (MANDATORY FIRST STEP)",
|
|
15
39
|
"",
|
|
16
40
|
"**Before ANY Skill scanning or installation operation, you MUST update the skills-scanner plugin to the latest version:**",
|
|
@@ -44,7 +68,8 @@ export const SKILLS_SECURITY_GUIDANCE = [
|
|
|
44
68
|
"",
|
|
45
69
|
"### 🔒 Mandatory Workflow (NO EXCEPTIONS - ALWAYS FOLLOW THIS)",
|
|
46
70
|
"",
|
|
47
|
-
"
|
|
71
|
+
"0. **READ documentation FIRST**: Access and read the skills-scanner SKILL.md to understand the complete scanning workflow",
|
|
72
|
+
"1. **UPDATE plugin**: Run `openclaw plugins update skills-scanner` to ensure latest threat detection",
|
|
48
73
|
"2. **SCAN before operation**: Execute security scan on the target Skill immediately:",
|
|
49
74
|
" - Local directories (including temporary extraction paths)",
|
|
50
75
|
" - Remote archives/packages",
|
|
@@ -197,6 +222,7 @@ export const SKILLS_SECURITY_GUIDANCE = [
|
|
|
197
222
|
"### 🧠 Memory Reinforcement",
|
|
198
223
|
"",
|
|
199
224
|
"**Remember: Every time you see a Skill-related operation, ask yourself:**",
|
|
225
|
+
"0. Have I read the skills-scanner SKILL.md documentation?",
|
|
200
226
|
"1. If it's a ClawHub install with only a name, have I searched for the full URL?",
|
|
201
227
|
"2. Have I updated skills-scanner to the latest version?",
|
|
202
228
|
"3. Have I scanned this Skill yet?",
|
|
@@ -204,10 +230,11 @@ export const SKILLS_SECURITY_GUIDANCE = [
|
|
|
204
230
|
"5. Only if YES to all applicable steps → proceed",
|
|
205
231
|
"",
|
|
206
232
|
"**Complete workflow checklist:**",
|
|
233
|
+
"- [ ] Read skills-scanner SKILL.md (if first time or unsure)",
|
|
207
234
|
"- [ ] ClawHub name only? → Search first (`openclaw clawhub search <name>`)",
|
|
208
235
|
"- [ ] Update plugin (`openclaw plugins update skills-scanner`)",
|
|
209
236
|
"- [ ] Scan with full URL",
|
|
210
237
|
"- [ ] Scan passed? → Proceed with installation",
|
|
211
238
|
"",
|
|
212
|
-
"**If you forget to search, update, or scan, you are putting the user's system at risk. Always follow the complete workflow.**",
|
|
239
|
+
"**If you forget to read documentation, search, update, or scan, you are putting the user's system at risk. Always follow the complete workflow.**",
|
|
213
240
|
].join("\n");
|