Skip to content
项目

关于

Behavior-based intrusion detection for macOS

人工智能与机器学习

这些数字如何统计

实测星标增长

24小时
0
7天
正在收集历史
15天
正在收集历史
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Hostwatch icon

Hostwatch

Behavior-based intrusion detection for macOS.
Learns what's normal, flags what isn't, and stops what you didn't allow.

Latest release macOS 26+ Swift 6 Status: prototype PolyForm Shield license Stand With Ukraine

Website · Install · Features · What's new · Privacy · Docs · Changelog

Hostwatch Events tab: processes, files and connections, with what's new and risky marked

Hostwatch network map: who reaches this Mac, what goes out, the way out and the destinations

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

  1. Download the zip from Releases and move Hostwatch.app to /Applications.
  2. Open it and turn on Full Disk Access.
  3. 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.

Privacy, security and limits

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.

Threat model

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.

探索相关项目

加载中…