-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.example.json
More file actions
70 lines (70 loc) · 1.82 KB
/
settings.example.json
File metadata and controls
70 lines (70 loc) · 1.82 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{
"hooks": {
"PreToolUse": [
{
"matcher": "Bash",
"hooks": [
{
"type": "command",
"command": "$HOME/.claude/scripts/dangerous-command-guard.sh",
"timeout": 5,
"statusMessage": "Scanning for dangerous commands..."
},
{
"type": "command",
"command": "$HOME/.claude/scripts/network-guard.sh",
"timeout": 5,
"statusMessage": "Checking network safety..."
},
{
"type": "command",
"command": "$HOME/.claude/scripts/data-exfil-guard.sh",
"timeout": 5,
"statusMessage": "Checking for data exfiltration..."
},
{
"type": "command",
"command": "$HOME/.claude/scripts/pkg-security-check.sh",
"timeout": 10,
"statusMessage": "Checking package security..."
}
]
},
{
"matcher": "WebFetch",
"hooks": [
{
"type": "command",
"command": "$HOME/.claude/scripts/network-guard.sh",
"timeout": 5,
"statusMessage": "Checking URL safety..."
}
]
},
{
"matcher": "Read",
"hooks": [
{
"type": "command",
"command": "$HOME/.claude/scripts/prompt-injection-scanner.sh",
"timeout": 5,
"statusMessage": "Scanning for prompt injection..."
}
]
}
],
"PostToolUse": [
{
"matcher": "Bash",
"hooks": [
{
"type": "command",
"command": "$HOME/.claude/scripts/post-install-audit.sh",
"timeout": 15,
"statusMessage": "Running post-install security audit..."
}
]
}
]
}
}