peach-browser

@june

A free, open source, local-first password manager for Chrome, Firefox, and Android.

TypeScript

v5.3.12 · 1,780 saves · 70,179 lines · updated 2 weeks ago

266 files
66b318659107
back to HEAD
icons/6.4 KB · 5 months ago
public/619.5 KB · 5 months ago
scripts/57.1 KB · 5 months ago
src/2.3 MB · 5 months ago
background/595.1 KB · 5 months ago
aes.test.ts2.2 KB · 6 months agoaes.tsaes.ts — AES-256-GCM encrypt/decrypt primitives for vault storage.4.2 KB · 5 months agoalarms.test.ts5.3 KB · 5 months agoalarms.ts2.3 KB · 5 months agochirp-identity.tsLocal-device identity helpers for the chirp-sync architecture.4.9 KB · 5 months agochirp-sync-coordinator.test.ts12.1 KB · 5 months agochirp-sync-coordinator.tsChirp Sync — Phase 2 manifest-diff coordinator.11.8 KB · 5 months agochirp-sync-runner.test.ts15.2 KB · 5 months agochirp-sync-runner.tsProduction sync runner — composes the live vault adapter, WebSocket transport, and coordinator into the function the dispatcher injects via setSyncRunner.5.9 KB · 5 months agochirp-sync-static.test.tsIV.7 — Static safety assertions for Chirp Sync.4.5 KB · 5 months agochirp-sync-vault-adapter.test.ts16.4 KB · 5 months agochirp-sync-vault-adapter.tsProduction adapter that backs runChirpSyncInitiator with the live vault.10.3 KB · 5 months agoclipboard.test.ts3.2 KB · 6 months agoclipboard.ts1.8 KB · 6 months agocodex-handlers.test.tsTests for src/background/codex-handlers.ts.6.1 KB · 5 months agocodex-handlers.tscodex-handlers.ts — message handlers that back the Peach Codex flow.10.4 KB · 5 months agocommands.tsKeyboard command handler — routing for summon-inline: 1.2.5 KB · 6 months agoentry.ts2.0 KB · 5 months agohealth.test.ts4.2 KB · 5 months agohealth.tshealth.ts — Pro advanced vault health analysis.5.1 KB · 5 months agoindex.ts1.3 KB · 5 months agolicense.ts4.9 KB · 5 months agomessages.adversarial.test.tsmessages.adversarial.test.ts — Layer 3 §3.3 adversarial message handler tests.37.3 KB · 5 months agomessages.test.ts24.9 KB · 5 months agomessages.tsmessages.ts — the only background message handler.51.0 KB · 5 months agoml.ts6.0 KB · 5 months agonotes.test.ts9.3 KB · 5 months agopaired-devices.test.ts5.9 KB · 5 months agopaired-devices.tsPaired-device registry — v3 chirp-sync.7.1 KB · 5 months agopasskey-chrome-ceremony.test.tspasskey-chrome-ceremony.test.ts — covers the Chrome chrome.webAuthenticationProxy ceremony path that the Firefox-proxy test file does NOT exercise.30.0 KB · 5 months agopasskey-crypto.test.ts6.0 KB · 6 months agopasskey-crypto.ts11.1 KB · 5 months agopasskey-deny-on-close.test.tspasskey-deny-on-close.test.ts — M8/COR-0092.8 KB · 5 months agopasskey-firefox-proxy.test.tspasskey-firefox-proxy.test.ts — covers the v2.12.0 Firefox content-script proxy path.11.4 KB · 5 months agopasskey.ts43.1 KB · 5 months agorecovery-pending.tsPersistent flag set while the user has just created a vault and is reading their 12 recovery words but has not yet typed the 3 confirmation words.1.2 KB · 5 months agorecovery-words.test.ts19.1 KB · 5 months agorecovery.adversarial.test.tsrecovery.adversarial.test.ts — Layer 3 §3.2 adversarial recovery words tests.19.2 KB · 5 months agoself-test.test.ts329 B · 5 months agoself-test.tsself-test.ts — Known-Answer Test (KAT) for the Peach crypto stack.2.6 KB · 5 months agosync-trigger.test.ts7.5 KB · 5 months agosync-trigger.tssync-trigger.ts — central sync dispatcher.5.6 KB · 5 months agovault-history.test.tsVault history tests.8.4 KB · 5 months agovault.adversarial.test.tsvault.adversarial.test.ts — Layer 3 §3.1 adversarial vault tests.32.7 KB · 5 months agovault.test.ts30.0 KB · 5 months agovault.tsvault.ts — sole owner of vault state and chrome.storage vault keys.86.1 KB · 5 months ago
content/305.1 KB · 5 months ago
crypto/58.0 KB · 5 months ago
popup/1.1 MB · 5 months ago
codex/195.7 KB · 5 months ago
aztec.tsaztec.ts — Aztec 2D barcode generation with round-trip verification.12.7 KB · 5 months agobrowser-bundle.test.ts674 B · 5 months agocodex.adversarial.test.tscodex.adversarial.test.ts — Layer 3 §3.4 adversarial Codex tests.21.4 KB · 5 months agocodex.suite.test.tscodex.suite.test.ts — cross-cutting regression suite for the Codex pipeline.9.9 KB · 5 months agocodex.test.ts19.0 KB · 5 months agoconfirmation.tsPick 3 distinct positions in [1, 12] for the recovery-words confirmation gate.601 B · 5 months agoerasure.tserasure.ts — Reed-Solomon erasure coding around the WASM library.13.9 KB · 5 months agogenerate.test.ts17.1 KB · 5 months agogenerate.tsgenerate.ts — full Codex generation pipeline.15.9 KB · 5 months agohelpers.tshelpers.ts — shared utilities for Codex generation and restoration.7.8 KB · 5 months agonode-wasm.tsNode-only WASM byte loader for Vitest.1.1 KB · 5 months agopdf-import.test.tspdf-import.test.ts — coverage for the testable surface of the PDF import path.12.5 KB · 5 months agopdf-import.tspdf-import.ts — restore from a Codex PDF instead of a camera scan.22.4 KB · 5 months agopdf-layout.tspdf-layout.ts — A4 Codex page geometry shared between the generator and the PDF importer.1.4 KB · 5 months agopdf.tspdf.ts — render the printable Codex PDF.8.1 KB · 5 months agoreed-solomon.tsBrowser-safe wrapper around the Reed-Solomon WASM exports.4.8 KB · 5 months agorestore.test.tsrestore.test.ts — coverage for ChunkBuffer, parseRawScan, reconstructAndVerify.11.0 KB · 5 months agorestore.tsrestore.ts — Peach Codex restoration library (popup-side).11.1 KB · 5 months agors-loader.tsrs-loader.ts — load the Reed-Solomon erasure WASM module.2.4 KB · 5 months agoscanner.tsscanner.ts — camera-based Aztec scanning for Codex restoration.1.8 KB · 5 months ago
components/87.8 KB · 5 months ago
styles/271.3 KB · 5 months ago
views/489.4 KB · 5 months ago
App.tsx66.9 KB · 5 months agochirp-pair-capacitor.test.ts3.7 KB · 5 months agochirp-pair-capacitor.tsCapacitor adapter for the initiator-role pairing server, plus the mDNS peer-discovery listener that fires the sync trigger when a known paired device appears on the local network.7.9 KB · 5 months agochirp-pair.test.ts7.2 KB · 5 months agochirp-pair.tsPopup-side orchestrator for Phase-1 chirp pairing.11.4 KB · 5 months agocopy.tsPopup-side copy helper.1.1 KB · 6 months agofirefox-passkey.tsfirefox-passkey.ts — popup-context WebAuthn caller for the Firefox path.4.0 KB · 6 months agogenerator-policy.ts2.2 KB · 5 months agoindex.html2.5 KB · 5 months agoindex.tsx610 B · 5 months ago
shared/245.8 KB · 5 months ago
backup.test.ts2.8 KB · 6 months agobackup.ts7.4 KB · 6 months agobridge.ts1.6 KB · 5 months agobrowser.test.tsbrowser.test.ts — locks down feature-detected browser identification.6.5 KB · 5 months agobrowser.tsbrowser.ts — feature-detected browser identifier shared by background, popup, and content scripts.1.3 KB · 6 months agochirp-handshake.test.ts5.1 KB · 5 months agochirp-handshake.tsPost-chirp pairing handshake.7.1 KB · 5 months agochirp-pairing.test.ts7.8 KB · 5 months agochirp-pairing.tsAudio pairing driver — orchestrates the two-chirp exchange that bootstraps trust between two devices in the same room.10.2 KB · 5 months agochirp-payload.test.ts3.5 KB · 5 months agochirp-payload.tsAudio pairing payload — 64 bytes on the wire.4.4 KB · 5 months agochirp-sync-transport.test.tsSubnet-probe rate-limit tests.2.9 KB · 5 months agochirp-sync-transport.tsWebSocket sync transport — v3 chirp-sync Phase 2.8.4 KB · 5 months agocodex-types.tscodex-types.ts — shared shapes for the Peach Codex.10.0 KB · 5 months agoconfig.tsTemporary until Vesper (internal tracker) is ready123 B · 5 months agodevice-manifest.test.ts4.2 KB · 5 months agodevice-manifest.tsDevice manifest — v2 brief §4.3.8.1 KB · 5 months agodomain.ts657 B · 6 months agofavicon.test.ts1.2 KB · 6 months agofavicon.tsResolves a favicon URL for a given domain.794 B · 6 months agogenerate.test.ts2.1 KB · 6 months agogenerate.ts2.1 KB · 6 months agoggwave.test.ts4.7 KB · 5 months agoggwave.tsggwave loader — thin async wrapper around the ggwave-wasm module.6.5 KB · 5 months agoimport.test.ts13.4 KB · 6 months agoimport.tsany is intentional throughout this module (L17/I3/QUA-010): import files are user-supplied external JSON whose schemas vary by source app and version (1Password CPG, Bitwarden, CXF, generic CSV).16.1 KB · 5 months agolocal-network.tsLocal network discovery — minimal helper used by chirp pairing.1.2 KB · 5 months agoml.ts1.4 KB · 6 months agonative.tsMobile platform detection helpers used by popup views to gate Capacitor-only paths.848 B · 5 months agonoise-js.test.tsNoise NK auth proof regression test.6.9 KB · 5 months agonoise-js.tsNoise NK initiator for Android / Capacitor.13.0 KB · 5 months agonoise-xx.test.ts3.4 KB · 5 months agonoise-xx.tsNoise XX (mutual auth) — used for every Phase-2 WebSocket connection after the audio chirp pairing has stamped each side into the other's paired-device registry.8.1 KB · 5 months agopasskey-flags.tspasskey-flags.ts — single switch for the Firefox passkey content-script proxy.2.1 KB · 6 months agorecovery-word-list.tsrecovery-word-list.ts — 2048-word recovery word list for Peach vault recovery.20.1 KB · 5 months agorecovery-words.tsrecovery-words.ts — BIP39-compatible recovery word encoding for Peach vault recovery.5.4 KB · 5 months agoshortcuts.test.ts@vitest-environment jsdom4.0 KB · 6 months agoshortcuts.tsshortcuts.ts — keybinding schema, defaults, matcher, formatter.6.7 KB · 6 months agostorage.ts537 B · 5 months agosync-identity.test.ts2.9 KB · 5 months agosync-identity.tsSync identity — long-term X25519 keypair tied to the vault, not the device installation.7.0 KB · 5 months agosync-types.tsChirp Sync — type definitions (Master Brief v2).7.6 KB · 5 months agotypes.tstypes.ts — cross-boundary types and the MessageType union.15.7 KB · 5 months ago
tests/444.2 KB · 5 months ago
.amoignore1.2 KB · 5 months ago.gitignore124 B · 6 months ago.nvmrc8 B · 5 months agobun.lock123.2 KB · 5 months agomanifest.firefox.json2.6 KB · 5 months agomanifest.json1.7 KB · 5 months agopackage-lock.json288.4 KB · 5 months agopackage.json2.8 KB · 5 months agoplaywright.config.ts808 B · 6 months agopnpm-lock.yaml169.9 KB · 5 months agotsconfig.background.json490 B · 5 months agotsconfig.json521 B · 5 months agotsconfig.tests.json122 B · 6 months agovite.config.mobile.ts1.2 KB · 5 months agovite.config.ts2.1 KB · 5 months agovitest.config.ts461 B · 5 months ago
4da393b64b5dserialize lock/restore with vault epoch and awaited escrow clear (PB-26-204, v5.0.58)1 month ago1f5db0955af7docs: record PB-26-202 remediation save1 month ago3007c77c652efix: stop passive global identity disclosure (PB-26-202, v5.0.57)1 month agoa7ed252fcbefdocs: record PB-26-201 remediation save1 month ago9b061a75009afix: enforce browser-issued autofill authority (PB-26-201, v5.0.56)1 month ago287e1fd0b13fconsume summon capability on same-domain fill and bump to v5.0.551 month agod7d47c3cc1d2PB-26-201 discriminating authorization tests pass with v5.0.541 month ago151df7df811cPB-26-201 authorization boundary and capability remediation (v5.0.54)1 month ago9371b98e40b5docs: Specify resolutions for PB-26-201 through PB-26-213 (v5.0.53)1 month ago764c331e1331record the corrected remediation campaign in CONTINUITY.md and retire the stale handoff (v5.0.53)1 month ago3feff5b04e3crecord PB-26-104 as resolved and the peach-pair-v2 invitation compatibility cut in AGENTS.md (v5.0.52)1 month agofb40727c5334add popup TOTP parameter and legacy trustSource provenance regression tests (PB-26-114, PB-26-116, v5.0.51)1 month agoac6674472a01add bounded SYNC_REQUEST and import size guard regression tests (PB-26-111, PB-26-112, v5.0.50)1 month agod485bbc3e255add regression tests for passive auto-lock refresh and passkey offer-decline origin binding (PB-26-107, PB-26-109, v5.0.49)1 month ago0b68b0540185add the recovery window deadline sequence test: alarm and idle lock after expiry and the words need a password proof (PB-26-102, v5.0.48)1 month ago9189870090c5bump the pairing invitation prefix to peach-pair-v2 with the pinned static now mandatory (PB-26-103, v5.0.47)1 month ago056807d6a42emove the locked-sync spool to session storage so locked sync keeps working without a disk-resident key (PB-26-104, v5.0.46)1 month ago11473a0cb44fkey the declined-card digest to root-key material and reject legacy unsalted records (PB-26-108, v5.0.45)1 month agoe8d9c9d2d975restore package.json and both manifests truncated by a bad in-place version bump (repair of 0ab2c6b00e92, v5.0.44)1 month ago0ab2c6b00e92enforce the PeachScript import ceiling at encode time on encoded UTF-8 bytes (PB-26-113, v5.0.44)1 month agocd181fe97194evict revocations from the largest-holding issuer so one flood cannot starve another's records (PB-26-110, v5.0.43)1 month agof0ba500e86edbind content-script entry writes to the entry domain set and route remember-site through the popup (PB-26-106, v5.0.42)1 month ago08e9038e7ce8docs: record completed cross-platform assessment remediation saves1 month agofcebf35ed424fix: bind pairing and Noise context and remove locked sync private key (PB-26-103, PB-26-104, PB-26-117, v5.0.41)1 month ago081ae8b38113fix: preserve terminal revocations against peer floods and retain local revoke capacity (PB-26-110, v5.0.40)1 month ago65263d57b9a4fix: preserve legacy trustSource and bound sync request IDs before crypto (PB-26-111, PB-26-116, v5.0.39)1 month ago6dfff89fba08harden browser-local origin, passkey, import, export, TOTP, and metadata boundaries (PB-26-106–114, v5.0.38)1 month agof557c2f0ee93docs: write the 2026-09-01 remediation handoff for the next agent1 month agoa4983770e66cdocs: record the Mercury verification gap and the completed PB-26-105 gate1 month ago17ddf6513cd7gate the TOTP-selector and confirm-password writes behind the form-action decision (PB-26-105, v5.0.37)1 month agoa5153594b717docs: record PB-26-105 completion in CONTINUITY.md1 month agod48cf50b1d35propagate form-action gate to TOTP fill and canary (PB-26-105, v5.0.36)1 month ago5c0a970d298edocs: record 2026-09-01 remediation checkpoint and first resolved findings1 month ago759ec348c2cbtest: align sender fixtures with fail-closed URL policy (PB-26-115, v5.0.35)1 month ago74c52ffb68e6fix: reject URL-less privileged message senders (PB-26-115, v5.0.34)1 month ago44585ddffc10fix: deadline and clear recovery confirmation exemption (PB-26-102, v5.0.33)1 month ago6fbc284fc874fix: preserve purge tombstones across replace restore (PB-26-101, v5.0.32)1 month ago04e8b01a0563docs: publish independent browser security assessment report, coverage ledger, and finding register (v5.0.31 baseline, 17 findings)1 month ago4e319afd62c8record the cross-platform entry-id namespace change and its migration behavior (v5.0.31)1 month agob7ace1e073canaturalise foreign entry ids at the browser restore seam instead of trusting them (v5.0.31)1 month agoa33df62c91d3docs: PB-26-018 resolved and ready for next AMO submission (v5.0.30)1 month agofda1a4eb8251align declared Node engine requirement with CI toolchain (audit OBS-03) (v5.0.30)1 month agodb659957fb69fix: E2E harness respects Chromium executable override and tests WebCrypto directly (audit OBS-02)1 month ago6bf8cebf3f01fix: Firefox release scripts now submit source archive via --upload-source-code (audit PB-26-018)1 month agoa20650466475docs: Publish independent standard security audit1 month agobc6649de8443docs: record Firefox sender-context CI follow-up1 month ago65de4e3e2cc5test: add Firefox sender-context CI coverage (v5.0.27)1 month agoa5aedfd3830edocs: record PB-26 remediation completion (v5.0.25)1 month ago0b2b4a23a099fix: complete PB-26 sender policy compatibility (v5.0.25)1 month ago0af21be3f7f9fix: make PIN unlock session-scoped with attempt limits (v5.0.22)1 month ago

← newerolder →

details

Peach

A free, open source, local-first password manager for Chrome, Firefox, and Android.

Peach encrypts your vault on your device. No hosted vault, subscription, or account is required to use it.

peachpasswords.com


Features

  • Passwords, cards, and secure notes — keep your private data together in one encrypted vault
  • Inline autofill — fill and save credentials without leaving the page
  • TOTP built in — generate two-factor codes without a separate authenticator
  • Password health — find weak, reused, and exposed passwords
  • Portable backups — export and restore with PeachScript or a .peach file

Peach Pro adds:

  • Peach Sync — end-to-end encrypted sync across paired devices
  • Passkeys — save and use passkeys in Chrome and Firefox
  • Peach Codex — print an encrypted, scannable backup of your vault
  • Advanced vault health, Canary Entries, and duress tools

See the Peach website for current availability and Pro details.


Install


Open Source

Peach is released under the GPL v3. This repository contains Peach's Chrome and Firefox browser extensions. Android is maintained separately.

The source is hosted on Kepr, Asha Software's version control platform.


Security

Vault data is encrypted with AES-256-GCM and protected by Argon2id key derivation. Peach Sync authenticates paired devices and encrypts data in transit.

Implementation details live alongside the code:


Building

bun install --frozen-lockfile
bun run build

Builds are written to dist-chrome/ and dist-firefox/.


Built by Asha Software · [email protected]