Gate any shell command or script behind biometric auth. AI agents cannot bypass this β they can't physically touch your fingerprint sensor.
you type: shelllock ./deploy.sh
β
Touch ID prompt appears
β
β authenticated β script runs
β failed β nothing happens
Use cases:
- Protect deploy scripts from eager AI agents (Cursor, Copilot)
- Gate destructive commands (
rm -rf,git push --force) - Secure sensitive operations (DB migrations, prod access)
brew tap vdutts7/tap
brew install shelllockgit clone https://github.com/vdutts7/shelllock-macos.git
cd shelllock-macos
make installBuild manually
make build
# Or directly
swiftc -O -o shelllock Sources/shelllock.swiftSDK mismatch fix:
sudo rm -rf /Library/Developer/CommandLineTools
xcode-select --install# Basic
shelllock ./deploy.sh
# Custom prompt
shelllock -m "Deploy to production?" ./deploy.sh
# Inline command
shelllock -c "npm run build && npm test"Add to top of any script:
#!/bin/bash
if [[ "${SHELLLOCK_VERIFIED:-}" != "1" ]]; then
exec env SHELLLOCK_VERIFIED=1 shelllock -m "Run this script?" "$0" "$@"
fi- applock-macos β Touch ID gate for
.appbundles
