feat(permission): integrate auto-review and hard guards

This commit is contained in:
云服务部-叶林立
2026-09-02 15:34:29 +08:00
parent a4807dde67
commit 180da95ab7
79 changed files with 4263 additions and 9203 deletions
+17
View File
@@ -0,0 +1,17 @@
{
// Bundle default. The installed user-level copy is seeded once and may then
// be edited by the user; project configuration cannot override it.
"version": 1,
"permission": {
"bash": {
"rm -rf /": "deny",
"rm -rf /*": "deny",
"rm -rf ~": "deny",
"rm -rf ~/*": "deny",
"sudo rm -rf /": "deny",
"sudo rm -rf /*": "deny",
"mkfs*": "deny",
"dd * of=/dev/*": "deny"
}
}
}