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

推荐订阅源

Microsoft Azure Blog
Microsoft Azure Blog
aimingoo的专栏
aimingoo的专栏
F
Fortinet All Blogs
Blog — PlanetScale
Blog — PlanetScale
GbyAI
GbyAI
MongoDB | Blog
MongoDB | Blog
月光博客
月光博客
The Cloudflare Blog
量子位
T
Tailwind CSS Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
B
Blog
MyScale Blog
MyScale Blog
T
The Blog of Author Tim Ferriss
The GitHub Blog
The GitHub Blog
G
Google Developers Blog
D
DataBreaches.Net
V
Visual Studio Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Last Week in AI
Last Week in AI
U
Unit 42
博客园 - 聂微东
有赞技术团队
有赞技术团队
A
About on SuperTechFans

Hacker News: Front Page

SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads Introducing Claude Opus 4.7 Qwen Studio The Future of Everything is Lies, I Guess: Where Do We Go From Here? 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 Ancient DNA reveals pervasive directional selection across West Eurasia [pdf] AI cybersecurity is not proof of work 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. A Better Ludum Dare; Or, How to Ruin a Legacy 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] Unexpected €54k billing spike in 13 hours: Firebase browser key without API restrictions used for Gemini requests 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 Codex Hacked a Samsung TV
GitHub - paniclock/paniclock: Instantly disable Touch ID ...
seanieb · 2026-04-18 · via Hacker News: Front Page

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.