ShieldGuard is a lightweight macOS desktop app that checks whether installed package managers are configured to prefer packages that are at least 1 week old.
It is intentionally simple:
- No menu bar app
- No background polling
- No always-on service
- Just a clean window with manual checks and fixes
ShieldGuard only checks package managers that are installed on your machine:
npm->~/.npmrccontainsmin-release-age=7pnpm->~/Library/Preferences/pnpm/rccontainsminimum-release-age=10080uv->~/.config/uv/uv.tomlcontainsexclude-newer = "7 days"bun->~/.bunfig.tomlcontains[install] minimumReleaseAge = 604800
If a package manager is not installed, ShieldGuard skips it entirely.
Check nowbutton to refresh statusFix allbutton to add required lines for all installed managers- Per-manager
Add ...buttons - Per-manager
Open in Finderlinks for manual inspection
- macOS 14+
- Xcode Command Line Tools (Swift toolchain)
cd /Users/harryobrien/coding/ShieldGuard
swift build
swift run ShieldGuardAppopen /Users/harryobrien/coding/ShieldGuard/dist/ShieldGuard.app- ShieldGuard writes files atomically and stores backups in:
~/Library/Application Support/ShieldGuard/backups
- This tool is a configuration helper, not a complete software supply chain security solution.
- Optional project-level Bun config support (
bunfig.tomlin working repos) - Optional export/report mode for CI compliance checks
MIT (recommended for public release; add a LICENSE file before tagging v1.0.0).
