All Claude Code modsjoshkerr/claude-mods
pkexec-guard
Routes `sudo` in Bash calls to a password prompt the person can answer: pkexec on a Linux desktop, an osascript administrator dialog on macOS, and Windows sudo's UAC prompt on Windows.
pkexec-guard reaches L2 (writes or runs) and passed claude plugin validate.
- Events hooked: 1
- API methods referenced: 3
- Access from classified calls: L2, writes or runs: runs processes, reads env vars, draws
- Static scan, not a runtime test
Install hint
/plugin install pkexec-guard --marketplace joshkerr/claude-modsFrom the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later.
Access
L2 Writes or runsruns processes, reads env vars, drawsValidation
PassedView the source on GitHub Back to the list
What the scan recorded
- Observed events
- Bash calls
- Hooks
tool.call {tool=Bash}- API calls
$.env.get, $.process.run, $.ui.toast- Validation
- Passed
- Scanned revision
b1b5b10afe8f- Marketplace warnings
- claude-mods
These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. What a mod can access and how the scan works.
More from joshkerr/claude-mods
- herdr-statuslineA band above the prompt showing the herdr workspace and pane, the working directory, and the git branch with…
- long-task-notifierShows a live timer for long-running Bash commands and background tasks, then toasts, chimes and sends a deskt…
Badge for your README
Authors can show the latest scan result in their README. Each badge links to this page.
[](https://mods.aidojo.si/mods/joshkerr--claude-mods--pkexec-guard/)
[](https://mods.aidojo.si/mods/joshkerr--claude-mods--pkexec-guard/)