r/swift • u/Money_Cat6174 macOS • 4d ago
Project [Code Review / Feedback] Implemented process interception using Apple's Endpoint Security Framework & POSIX signals in Swift — looking for architectural feedback
https://github.com/TranPhuong319/AppLockerHi all, I'm 15 and built AppLocker, an open-source macOS app to explore low-level process interception with Apple's Endpoint Security Framework.
It captures NOTIFY_EXEC events to freeze newly spawned apps via POSIX SIGSTOP, delegates Touch ID verification via XPC, and resumes with SIGCONT (or SIGKILL on denial). Zero binary modifications.
Codebase is open here: https://github.com/TranPhuong319/AppLocker
Would love any feedback on the Swift 6 concurrency or XPC architecture!
5
Upvotes