@hk-vk/pi-sudo-auth
Authenticate macOS sudo commands with a masked native Pi prompt.
Package details
Install @hk-vk/pi-sudo-auth from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@hk-vk/pi-sudo-auth- Package
@hk-vk/pi-sudo-auth- Version
0.1.0- Published
- Aug 20, 2026
- Downloads
- 169/mo · 28/wk
- Author
- hk-vk
- License
- MIT
- Types
- extension
- Size
- 9.8 KB
- Dependencies
- 0 dependencies · 2 peers
Pi manifest JSON
{
"extensions": [
"./extensions/sudo-auth.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
@hk-vk/pi-sudo-auth
Authenticate macOS sudo commands with a masked native Pi prompt.
Platform support
macOS only; this package is developed and tested on macOS.
Install
pi install npm:@hk-vk/pi-sudo-auth
The extension intercepts sudo commands, validates the password with sudo -v, and never puts the password in the command, environment, session, logs, or tool output.