@duanz/pi-pi-cmd-guard

拦住会毁东西的命令:cat .env、裸 env、systemctl restart pi-web

Packages

Package details

extension

Install @duanz/pi-pi-cmd-guard from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@duanz/pi-pi-cmd-guard
Package
@duanz/pi-pi-cmd-guard
Version
1.0.0
Published
Nov 5, 2026
Downloads
267/mo · 267/wk
Author
duanz
License
MIT
Types
extension
Size
5.1 KB
Dependencies
0 dependencies · 0 peers
Pi manifest JSON
{
  "extensions": [
    "./index.ts"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.