github:JohnXu22786/safety-net
securitygit
dsh 破坏性命令拦截闸门:解析 shell 语义、依据 41 条内置规则判定风险,将 rm -rf、git reset --hard、git push --force 等不可逆命令挡在确认关卡之前。
安装
dsh plugin --profile web add github:JohnXu22786/safety-net
沙箱测试
这个插件还没测过。提交测试 →
链接
GitHub · Homepage · npm
同类插件