Menu bar defense against the PolinRider npm supply-chain attack on macOS.
5 layers of protection. One click to install. Always visible.
brew install --cask louayzouaoui1/tap/polinshield
PolinRider has compromised 1,951+ public GitHub repositories across 1,047+ owners. It's an active, DPRK-attributed supply-chain campaign tracked by OpenSourceMalware, doubling every ~5 weeks. It uses 4 parallel injection vectors β config files, malicious npm packages, .vscode/tasks.json, and even fake .woff2 fonts.
npm runs arbitrary code from any package you install. The #1 attack vector.
Malware silently appends payloads to postcss.config, tailwind.config, etc.
Once it has your git creds, it overwrites every branch on every repo you can push to.
Removes .env* from .gitignore so any committed env file leaks secrets.
Each layer blocks a different stage. Even if 4 fail, the 5th catches it.
Sets ignore-scripts=true in ~/.npmrc. Stops postinstall malware before it ever runs.
Adds known attacker domains to /etc/hosts. If reinfected, can't phone home.
Blocks commits containing malware signatures. Even infected files can't reach your remote.
Polls GitHub hourly. macOS notification on any unexpected force-push.
Searches your Desktop at 9am. Catches indicators that slip through other layers.
Native macOS app β feels like part of your system, not an Electron blob.
Always visible status, defense state, run scan, open dashboard.
π‘οΈ PolinShield Protected
βββββββββββββββββββββββββ
DEFENSES
β npm postinstall block
β /etc/hosts C2 block
β Git pre-commit hook
β Force-push watcher
β Daily malware scan
βββββββββββββββββββββββββ
LAST SCAN
β Clean 2h ago
βββββββββββββββββββββββββ
[ Run Scan Now ]
[ Open Dashboard ]
Scan history, force-push log, defense management.
π‘οΈ Protected Last scan 2h ago [Scan Now] βββββββββββ¬ββββββββββ¬ββββββββββ β DEFENSESβ SCANS β THREATS β β 5 / 5 β 42 β 0 β βββββββββββ΄ββββββββββ΄ββββββββββ Defense Layers β Block npm postinstall Active β DNS-block C2 servers Active β Git pre-commit hook Active β Force-push detector Active β Daily malware scan Active
brew install --cask louayzouaoui1/tap/polinshield
First launch shows a setup wizard: scan your Mac, install all defenses, done.
Or grab the latest .dmg from Releases.
Every line is auditable. The defenses are bash scripts you can read and run standalone. No tracking, no ads, no upsells.