About
Behavior-based intrusion detection for macOS
AI & Machine LearningMeasured star growth
- in 24h
- +1
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Original
Hostwatch
Behavior-based intrusion detection for macOS.
Learns what's normal, flags what isn't, and stops what you didn't allow.
Website · Install · Features · What's new · Privacy · Docs · Changelog
Screenshots show made-up demo data.
Why
Attacks now come through code you trust. In 2026 one poisoned editor extension cost GitHub 3,800 repositories. A compromised npm package exposed Grafana Labs. A fake job interview cost Binance $6.3 billion.
Hostwatch watches what runs, what it touches and where it connects. Small signs become one story. It never deletes anything.
What it does
- 👀 See – live activity, every running process, and Time Travel back through history.
- 🧠 Learn – a learning day, then only the unusual reaches you.
- 🚨 Spot – stories that link small signs, a network map, known threats.
- 🛡️ Stop – package guard, launch and file protection, firewall, Claude Code guard.
- ✨ Ask AI – Claude or Apple's on-device model explains anything. You decide.
Every protection has Watch, Ask and Strict. The package guard is on from the start, launch and file protection start in Watch, and the firewall is off until you turn it on. All features
What's new
0.25.0 (0.25.1: smooth minimize from Patterns and Protection)
- 🙋 One window for questions – connections, launches and files: a burst fills a list, not ten windows.
- 🗒️ Decision Log – every decision you made, with its time.
- 🤫 Quiet – questions don't take your typing, and a burst chimes once.
- 🪟 Smooth minimize – the window no longer redraws on every connection.
- 🗺️ Unblocking on the map clears the red at once.
0.24.0 (0.24.1: smoother Needs You and Rules)
- 🙋 Fewer questions – Needs You down by a third.
- 🧮 Fewer patterns – similar commands and local ports grouped.
- 📡 Port scans from this Mac become a story.
- 🪟 One design system across every window.
Earlier versions: changelog.
Install
- Download the zip from Releases and move
Hostwatch.appto/Applications. - Open it and turn on Full Disk Access.
- Enter your administrator password once. Done.
macOS 26 or later. Signed and notarized by Apple.
How it works
┌──────────────────────────────────┐ ┌───────────────────────────────────────┐
│ Collector (root, background) │ │ Hostwatch.app (you) │
│ │ │ │
│ Endpoint Security processes, │ activity ───────► │ learns patterns, keeps the baseline, │
│ files, holds │ │ connects stories, records history │
│ tcpdump DNS answers │ │ │
│ NetworkStats every connection │ │ │
│ │ │ HUD · window · Time Travel │
│ firewall relay (pf) │ ◄─── allow / stop │ Ask AI · MCP for Claude Code │
│ │ │ │
│ Watch Closely recorder │ profile ────────► │ Watch Closely window │
└──────────────────────────────────┘ └───────────────────────────────────────┘
one Unix socket, Hostwatch's own code only
The collector watches. The app decides. What you protect waits for the app's answer.
Privacy
- Everything stays on your Mac, encrypted.
- Only these leave it: the AI you choose, the update check, threat and package lists (downloads only), the firewall's self-check, and an opt-in package age check.
- Passwords and tokens are masked before anything is recorded.
- The firewall never decrypts traffic.
Limitations
- A working prototype, not a commercial product.
- The firewall doesn't cover programs running as root, or VMs with bridged or NAT networking.
- Containers are judged by destination only.
Development
Build and test: For developers. Contributing: rules.
License
Free for everyone, at home and at work, under the PolyForm Shield License 1.0.0. The one limit: don't use it to build a competing product.
Server and cloud editions for companies are coming: [email protected]. Versions up to 0.11.1 stay under MIT.
Explore related projects
Loading…