-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopencode.json
More file actions
51 lines (51 loc) · 1.05 KB
/
opencode.json
File metadata and controls
51 lines (51 loc) · 1.05 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
{
"$schema": "https://opencode.ai/config.json",
"permission": {
"skill": {
"*": "allow"
},
"bash": {
"sqlite3": "allow",
"npm": "allow",
"node": "allow",
"npx": "allow",
"git": "allow",
"ls": "allow",
"mkdir": "allow",
"touch": "allow",
"rm": "deny",
"cp": "allow",
"mv": "deny",
"cat": "allow",
"grep": "allow",
"sed": "allow",
"awk": "allow",
"head": "allow",
"tail": "allow",
"find": "deny",
"curl": "allow",
"wget": "allow",
"tar": "allow",
"unzip": "allow",
"zip": "allow",
"chmod": "allow",
"chown": "deny",
"df": "allow",
"du": "allow",
"ps": "allow",
"top": "allow",
"kill": "deny",
"rm -rf": "deny",
"rm -r /": "deny",
"mkfs": "deny",
"dd": "deny",
":(){:|:&};:": "deny",
"chmod 777": "deny",
"chown -R": "deny",
"wget |": "deny",
"curl |": "deny",
"> /dev/sda": "deny"
},
"edit": "allow"
}
}