惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Hugging Face - Blog
Hugging Face - Blog
GbyAI
GbyAI
Engineering at Meta
Engineering at Meta
有赞技术团队
有赞技术团队
博客园 - 【当耐特】
H
Hackread – Cybersecurity News, Data Breaches, AI and More
WordPress大学
WordPress大学
博客园_首页
美团技术团队
H
Help Net Security
MongoDB | Blog
MongoDB | Blog
宝玉的分享
宝玉的分享
大猫的无限游戏
大猫的无限游戏
小众软件
小众软件
J
Java Code Geeks
A
About on SuperTechFans
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
IT之家
IT之家
T
The Blog of Author Tim Ferriss
Microsoft Azure Blog
Microsoft Azure Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
B
Blog
雷峰网
雷峰网
爱范儿
爱范儿

Hacker News

GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis Bonsai 1-bit WebGPU - a Hugging Face Space by webml-community Moving a large-scale metrics pipeline from StatsD to OpenTelemetry / Prometheus GitHub - Nightmare-Eclipse/RedSun: The Red Sun vulnerability repository GitHub - SethPyle376/hiraeth: Local AWS emulator focused on fast integration testing, with SQS support, SQLite-backed state, and a debug-friendly web UI. GitHub - macOS26/Agent: Any AI, replaces Claude Code, Cursor, OpenClaw. Over 18 LLM providers (Claude, OpenAI, Gemini, Ollama, Zai, HF, Qwen) wired into a native Mac app that writes code, builds Xcode projects, bumps versions, manages git, automates Safari, use AppleScript, JS or Accessibility, extend Agent! w/ MCP Servers, run tasks from your iPhone via Messages. YouTube now lets you turn off Shorts I Made a Terminal Pager Burgers | マクドナルド公式 Commands — HackerNews CLI documentation ChatGPT for Excel PiCore - Raspberry Pi Port of Tiny Core Linux Live Nation illegally monopolized ticketing market, jury finds Google Broke Its Promise to Me. Now ICE Has My Data. Founding Engineer at Adaptional | Y Combinator CRISPR takes important step toward silencing Down syndrome’s extra chromosome GitHub - saffron-health/libretto: The AI toolkit for building reliable browser automations US v. Heppner (S.D.N.Y. 2026) no attorney-client privilege for AI chats [pdf] Retrofitting JIT Compilers into C Interpreters IPv6 – Google The Accursèd Alphabetical Clock Cybersecurity Looks Like Proof of Work Now Fragments: April 14 Cal.com Goes Closed Source: Why AI Security Is Forcing Our Decision | Cal.com - Scheduling Software for Online Bookings Laravel raised money and now injects ads directly into your agent When moving fast, talking is the first thing to break Too much Discussion of the XOR swap trick – Heather Cafe Introduction to Spherical Harmonics for Graphics Programmers The Grand Line
GitHub - paniclock/paniclock: Instantly disable Touch ID ...
seanieb · 2026-04-18 · via Hacker News

PanicLock

PanicLock is a macOS menu bar utility that instantly disables Touch ID and locks the screen with a single click or closing your laptop lid.

PanicLock fills a gap macOS leaves open: there is no built-in way to instantly disable Touch ID when it matters. Biometrics are convenient day-to-day, and sometimes preferable when you need speed or want to avoid your password being observed. But in sensitive situations, law enforcement and border agents in many countries can compel a biometric unlock in ways they cannot with a password. PanicLock gives you a one-click menu bar button, a customizable hotkey, or an automatic lock-on-lid-close option that immediately disables Touch ID and locks your screen, restoring password-only protection without killing your session or shutting down.

Download PanicLock

Features

  • One-click panic lock — Click the menu bar icon or press a hotkey to instantly lock
  • Lock on Close — Optionally lock and disable Touch ID when you close the lid
  • Temporarily disables Touch ID — Forces password-only unlock
  • Auto-restore — Original Touch ID settings restored after unlock
  • Keyboard shortcut — Configure a global hotkey (e.g., ⌃⌥⌘L)
  • Launch at login — Start automatically when you log in

Install

Homebrew

brew install paniclock/tap/paniclock

Manual Download

Download the latest DMG from the releases page.

Requirements

  • macOS 14.0 (Sonoma) or later
  • Mac with Touch ID

Usage

Action Result
Left-click icon Trigger panic lock immediately
Right-click icon Open menu (Preferences, Uninstall, Quit)

Lock on Close

When enabled in Preferences, closing your Mac's lid will automatically disable Touch ID and lock your screen. Touch ID stays disabled until you re-login with your password. If your screen locks for other reasons (screensaver, display sleep, etc.), Touch ID will still work as normal.

First Launch

On first use, you'll be prompted for your admin password to install the privileged helper. This is a one-time setup.

Building from Source

  1. Clone this repository
  2. Open PanicLock.xcodeproj in Xcode
  3. Set your Development Team in both targets (PanicLock and PanicLockHelper)
  4. Update Team ID in Info.plist (SMPrivilegedExecutables) and Info-Helper.plist (SMAuthorizedClients)
  5. Build and run

Uninstall

Homebrew:

brew uninstall paniclock

From the app: Right-click → "Uninstall PanicLock..." → Enter admin password

Manual:

sudo launchctl bootout system/com.paniclock.helper
sudo rm -f /Library/PrivilegedHelperTools/com.paniclock.helper
sudo rm -f /Library/LaunchDaemons/com.paniclock.helper.plist
rm -rf /Applications/PanicLock.app

How It Works

PanicLock uses a privileged helper (installed via SMJobBless) to modify Touch ID timeout settings:

  1. Reads current timeout via bioutil -r -s
  2. Sets timeout to 1 second via bioutil -w -s -o 1
  3. Locks screen via pmset displaysleepnow
  4. Restores original timeout after ~2 seconds

PanicLock only disables Touch ID. If you have other unlock methods enabled — Apple Watch unlock, security keys, etc. — your Mac can still be unlocked using those.

Security

  • Minimal privileges — Helper only runs 3 hardcoded commands (bioutil, pmset)
  • Code-signed XPC — Helper verifies connecting app's bundle ID + team ID + certificate
  • No network activity — App is 100% offline, no telemetry or analytics
  • No data collection — Only stores preferences (icon style, keyboard shortcut)
  • Open source — Full code available for audit

Note: PanicLock only disables Touch ID. If you have other unlock methods enabled, Apple Watch unlock, security keys, etc., your Mac can still be unlocked using those.

Releasing

The release script handles building, signing, notarizing, and packaging:

./scripts/release.sh

Features:

  • Extracts version from Xcode project automatically
  • Signs with Developer ID for distribution outside the App Store
  • Submits to Apple for notarization (can take minutes to hours)
  • Creates a notarized DMG for distribution
  • Supports parallel notarizations — each version gets its own build/release/<version>/ directory

Workflow:

  1. Bump MARKETING_VERSION in Xcode
  2. Run ./scripts/release.sh — builds and submits for notarization
  3. Run again later to check status and continue when approved
  4. Final output: build/release/<version>/PanicLock-<version>.dmg

License

MIT License — See LICENSE for details.

Contributing

Contributions welcome! Please open an issue or pull request.