File size: 1,907 Bytes
399b80c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "security_policies": {
    "global": {
      "allow_shell_commands": true,
      "allow_network_access": true,
      "allow_file_access": true,
      "blocked_commands": {
        "common": ["rm", "-rf", "shutdown", "reboot", "poweroff", "halt"],
        "linux": ["mkfs", "dd", "iptables", "systemctl", "init", "kill", "-9", "pkill"],
        "darwin": ["diskutil", "dd", "pfctl", "launchctl", "killall"],
        "windows": ["del", "format", "rd", "rmdir", "/s", "/q", "taskkill", "/f"]
      },
      "sandbox_enabled": false
    },
    "backend": {
      "shell": {
        "allow_shell_commands": true,
        "allow_file_access": true,
        "blocked_commands": {
          "common": ["rm", "-rf", "shutdown", "reboot", "poweroff", "halt"],
          "linux": [
            "mkfs", "mkfs.ext4", "mkfs.xfs",
            "dd",
            "iptables", "ip6tables", "nftables",
            "systemctl", "service",
            "fdisk", "parted", "gdisk",
            "mount", "umount",
            "chmod", "777",
            "chown", "root",
            "passwd",
            "useradd", "userdel", "usermod",
            "kill", "-9", "pkill", "killall"
          ],
          "darwin": [
            "diskutil",
            "dd",
            "pfctl",
            "launchctl",
            "dscl",
            "chmod", "777",
            "chown", "root",
            "passwd",
            "killall",
            "pmset"
          ],
          "windows": [
            "del", "erase",
            "format",
            "rd", "rmdir", "/s", "/q",
            "diskpart",
            "reg", "delete",
            "net", "user",
            "taskkill", "/f",
            "wmic"
          ]
        },
        "sandbox_enabled": false
      },
      "mcp": {
        "sandbox_enabled": false
      },
      "web": {
        "allow_network_access": true,
        "allowed_domains": []
      }
    }
  }
}