-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathopenclaw.plugin.json
More file actions
47 lines (47 loc) · 1.77 KB
/
openclaw.plugin.json
File metadata and controls
47 lines (47 loc) · 1.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
"id": "shellward",
"name": "ShellWard",
"description": "First bilingual (EN/ZH) security plugin for OpenClaw — injection detection, dangerous operation blocking, PII/secret redaction (incl. Chinese ID card, phone, bank card), audit logging",
"version": "0.4.0",
"skills": ["./skills"],
"configSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"mode": {
"type": "string",
"enum": ["enforce", "audit"],
"default": "enforce",
"description": "enforce = block + log, audit = log only"
},
"locale": {
"type": "string",
"enum": ["auto", "zh", "en"],
"default": "auto",
"description": "auto = detect from system language"
},
"layers": {
"type": "object",
"properties": {
"promptGuard": { "type": "boolean", "default": true },
"outputScanner": { "type": "boolean", "default": true },
"toolBlocker": { "type": "boolean", "default": true },
"inputAuditor": { "type": "boolean", "default": true },
"securityGate": { "type": "boolean", "default": true },
"outboundGuard": { "type": "boolean", "default": true },
"dataFlowGuard": { "type": "boolean", "default": true },
"sessionGuard": { "type": "boolean", "default": true }
}
},
"injectionThreshold": {
"type": "number",
"default": 60,
"description": "Injection risk score threshold (0-100) to trigger block/alert"
}
}
},
"uiHints": {
"mode": { "label": "Security Mode", "help": "enforce blocks dangerous operations; audit only logs them" },
"locale": { "label": "Language", "help": "auto detects from system LANG; zh for Chinese; en for English" }
}
}