explaingit

tobiasstrebitzer/keybridge

Analysis updated 2026-05-18

2TypeScriptAudience · developerComplexity · 3/5LicenseSetup · moderate

TLDR

keybridge lets an AI agent run npm publish while a human approves each publish with a Touch ID tap, using a Mac's Secure Enclave for security.

Mindmap

mindmap
  root((keybridge))
    What it does
      Touch ID approves npm publish
      Works for AI agents
      Invisible verification window
    Tech stack
      TypeScript
      Node.js
      macOS Secure Enclave
      WebAuthn
    Use cases
      Publish from Claude Code
      Multi account npm publishing
      Bulk package publishing
    Audience
      Developers
    Setup
      npx keybridge login
      npx keybridge enroll

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Let Claude Code publish an npm package while you approve with Touch ID.

USE CASE 2

Publish npm packages from an unattended script without a browser popping up.

USE CASE 3

Manage npm publishing across multiple accounts with separate browser profiles.

What is it built with?

TypeScriptNode.jsmacOSWebAuthnMCP

How does it compare?

tobiasstrebitzer/keybridgeanuj-kumary/your-github-contributionsarashthr/hugo-flow
Stars222
LanguageTypeScriptTypeScriptTypeScript
Last pushed2026-06-07
MaintenanceMaintained
Setup difficultymoderatemoderatemoderate
Complexity3/52/53/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

macOS only, requires Node 22.18+, Xcode Command Line Tools, and a one-time npm login plus Touch ID enrollment.

In plain English

keybridge is a macOS command line tool that lets you publish npm packages using only a Touch ID tap, even when the publish is triggered by an AI coding agent such as Claude Code rather than a human typing commands directly. Npm requires a web based identity verification step for accounts protected by two factor authentication, and that step normally needs a real browser window and a person clicking through it. When an automated agent tries to run npm publish without a person present, that verification fails and the publish simply errors out. keybridge solves this by intercepting npm's own machine readable handoff for that verification step and completing it inside an invisible, windowless browser view on your Mac. Instead of using a password or a browser prompt, it answers the verification using a security key stored in your Mac's Secure Enclave, a hardware chip built for storing sensitive keys safely, and that key only produces a signature after you physically touch Touch ID. Because of this, a human approval step remains required even though everything else is automated. There is no visible browser window at any point except a small login sheet the first time you sign in, or the Touch ID prompt itself, and it clearly states what package and account it is about to publish under. The tool ships as both a standalone command line utility and as a Claude Code plugin, which adds a setup command, blocks agents from running raw npm publish commands directly, and lets you simply ask Claude to publish a package. It also supports multiple npm accounts, each with its own separate browser profile and stored login token, and a five minute window where several packages can be published in a row after a single Touch ID tap. This tool works only on macOS, since it depends on Apple's Secure Enclave and native browser components. On other operating systems the verification step falls back to opening your regular browser. It is aimed at developers who publish npm packages, especially those using AI coding agents, and who want a safe way to keep a human in the loop without typing a password every time.

Copy-paste prompts

Prompt 1
Help me install and set up keybridge for publishing npm packages with Touch ID.
Prompt 2
Ask Claude to publish this package using keybridge.
Prompt 3
Explain how keybridge keeps a human in the loop when an AI agent runs npm publish.
Prompt 4
Show me how to switch npm accounts with keybridge and enroll a new one.

Frequently asked questions

What is keybridge?

keybridge lets an AI agent run npm publish while a human approves each publish with a Touch ID tap, using a Mac's Secure Enclave for security.

What language is keybridge written in?

Mainly TypeScript. The stack also includes TypeScript, Node.js, macOS.

How hard is keybridge to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is keybridge for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.