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

292 files
83c1766c1a8c
back to HEAD
icons/6.4 KB · 5 months ago
public/619.7 KB · 4 months ago
scripts/58.5 KB · 4 months ago
src/2.6 MB · 4 months ago
background/744.9 KB · 4 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.test.ts2.7 KB · 4 months agochirp-identity.tsLocal-device identity helpers for the chirp-sync architecture.6.0 KB · 4 months agochirp-sync-coordinator.test.ts12.1 KB · 5 months agochirp-sync-coordinator.tsChirp Sync — Phase 2 manifest-diff coordinator.12.2 KB · 4 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.6.2 KB · 4 months agochirp-sync-static.test.tsIV.7 — Static safety assertions for Chirp Sync.4.5 KB · 5 months agochirp-sync-vault-adapter.test.ts24.6 KB · 4 months agochirp-sync-vault-adapter.tsProduction adapter that backs runChirpSyncInitiator with the live vault.15.5 KB · 4 months agoclipboard.test.ts10.1 KB · 4 months agoclipboard.tsClipboard write + reliable auto-clear — audit fix HV-2.7.5 KB · 4 months agocodex-handlers.test.tsTests for src/background/codex-handlers.ts.8.1 KB · 4 months agocodex-handlers.tscodex-handlers.ts — message handlers that back the Peach Codex flow.11.3 KB · 4 months agocommands.tsKeyboard command handler — routing for summon-inline: 1.2.5 KB · 6 months agoentry.lock-port.test.tsLV-5: the lock-on-close onConnect listener accepts only our popup port (legacy bare "popup" or nonce'd "popup-<uuid>") and ignores anything else.4.3 KB · 4 months agoentry.ts3.6 KB · 4 months agohealth.test.ts4.2 KB · 5 months agohealth.tshealth.ts — Pro advanced vault health analysis.5.1 KB · 5 months agolicense.ts4.9 KB · 5 months agomessages.adversarial.test.tsmessages.adversarial.test.ts — Layer 3 §3.3 adversarial message handler tests.42.1 KB · 4 months agomessages.test.ts37.5 KB · 4 months agomessages.tsmessages.ts — the only background message handler.66.7 KB · 4 months agoml.ts6.0 KB · 5 months agonotes.test.ts9.3 KB · 5 months agooffscreen.html310 B · 4 months agooffscreen.tsOffscreen document script — audit fix HV-2c.1.8 KB · 4 months agopaired-devices.test.ts5.9 KB · 5 months agopaired-devices.tsPaired-device registry — v3 chirp-sync.6.9 KB · 4 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.3 KB · 4 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.17.2 KB · 5 months agopasskey.ts48.6 KB · 4 months agopending-vouched-devices.tsPending vouched devices — audit fix MV-7.3.0 KB · 4 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.ts20.2 KB · 4 months agorecovery.adversarial.test.tsrecovery.adversarial.test.ts — Layer 3 §3.2 adversarial recovery words tests.19.5 KB · 4 months agoself-test.test.ts1.2 KB · 4 months agoself-test.tsself-test.ts — Known-Answer Test (KAT) for the Peach crypto stack.3.8 KB · 4 months agosync-alerts.tsPending sync alerts — audit fix HV-1b.2.6 KB · 4 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.10.1 KB · 4 months agovault.adversarial.test.tsvault.adversarial.test.ts — Layer 3 §3.1 adversarial vault tests.34.2 KB · 4 months agovault.session-escrow.test.ts2.9 KB · 4 months agovault.sync-clamp.test.tsUnit tests for HV-1 — sync timestamp clamp + remote-mutation alerts.6.8 KB · 4 months agovault.test.ts52.1 KB · 4 months agovault.tsvault.ts — sole owner of vault state and chrome.storage vault keys.107.5 KB · 4 months ago
content/349.9 KB · 4 months ago
crypto/74.4 KB · 4 months ago
popup/1.2 MB · 4 months ago
codex/210.1 KB · 4 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.25.3 KB · 4 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.16.9 KB · 4 months agohelpers.tshelpers.ts — shared utilities for Codex generation and restoration.8.2 KB · 4 months agonode-wasm.tsNode-only WASM byte loader for Vitest.1.1 KB · 5 months agopdf-import.clamp.test.ts2.5 KB · 4 months agopdf-import.test.tspdf-import.test.ts — coverage for the testable surface of the PDF import path.13.7 KB · 4 months agopdf-import.tspdf-import.ts — restore from a Codex PDF instead of a camera scan.25.8 KB · 4 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.5.2 KB · 4 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).12.9 KB · 4 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/274.1 KB · 4 months ago
views/527.7 KB · 4 months ago
Add.tsx32.0 KB · 5 months agoChirpSync.tsxChirpSync — the v3 Settings → Sync surface.19.8 KB · 5 months agoCodexGenerateView.test.tsx@vitest-environment jsdom2.1 KB · 5 months agoCodexGenerateView.tsxPeach Codex — generation view.21.8 KB · 5 months agoCodexRestoreView.test.tsx@vitest-environment jsdom5.8 KB · 4 months agoCodexRestoreView.tsxPeach Codex — restoration view.23.9 KB · 4 months agocontracts.test.tsx@vitest-environment jsdom36.8 KB · 4 months agoEntry.tsx81.3 KB · 4 months agoExport.csv.test.ts@vitest-environment jsdom1002 B · 5 months agoExport.tsxSignal-conditioned views in this file must use <Show>, never a signal-conditioned early return (if (signal()) return <X/>).19.9 KB · 5 months agoHealth.test.tsx@vitest-environment jsdom2.5 KB · 5 months agoHealth.tsx20.6 KB · 5 months agoImport.tsxSignal-conditioned views in this file must use <Show>, never a signal-conditioned early return — see Projects.md §4.1.32.5 KB · 4 months agoLock.tsx40.0 KB · 4 months agoNoteEditor.toHtml.test.ts@vitest-environment jsdom3.6 KB · 5 months agoNoteEditor.tsx7.6 KB · 4 months agoNotesEditor.tsx8.3 KB · 5 months agoNotesMode.tsx2.9 KB · 5 months agoNotesTOC.tsx4.5 KB · 5 months agoOnboarding.tsx4.6 KB · 5 months agoPanic.tsx6.0 KB · 6 months agoPasskeyApproval.tsx2.1 KB · 6 months agoProCelebration.tsx646 B · 5 months agoRecoveryWordDisplay.tsx8.9 KB · 5 months agoRecoveryWordEntry.tsx10.9 KB · 5 months agoSettings.tsx85.2 KB · 4 months agoTrashView.tsx5.7 KB · 6 months agovault-search.test.ts3.3 KB · 4 months agovault-search.ts4.8 KB · 4 months agoVault.tsx26.3 KB · 4 months agoview-test-utils.tsx1.0 KB · 6 months agozxcvbn-strength.test.tsLV-8: the @zxcvbn-ts replacement must score the master-password strength meter on the same 0-4 scale as the old zxcvbn, with dictionaries loaded (language-common is what keeps weak passwords from scoring optimistically).1.2 KB · 4 months ago
App.tsx70.2 KB · 4 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.ts8.5 KB · 4 months agochirp-pair.tsPopup-side orchestrator for Phase-1 chirp pairing.13.5 KB · 4 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.html1.1 KB · 4 months agoindex.tsx610 B · 5 months ago
shared/287.3 KB · 4 months ago
backup.test.ts3.1 KB · 4 months agobackup.ts8.6 KB · 4 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.ts6.4 KB · 5 months agochirp-handshake.tsPost-chirp pairing handshake.11.1 KB · 4 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.9.9 KB · 4 months agocodex-types.tscodex-types.ts — shared shapes for the Peach Codex.10.8 KB · 4 months agoconfig.tsWeb3Forms access key for the in-app feedback form (Settings → feedback).827 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.homograph.test.tsLV-2: homograph detector tests.906 B · 4 months agodomain.ts1.4 KB · 4 months agofavicon.test.ts1.2 KB · 6 months agofavicon.tsResolves a favicon URL for a given domain.3.4 KB · 4 months agogenerate.test.ts2.6 KB · 5 months agogenerate.ts2.6 KB · 5 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-limits.tsImport-path resource bounds — audit fixes MV-4 (decompression bomb) and MV-5 (unbounded file/string allocation).1.2 KB · 4 months agoimport.test.ts15.1 KB · 4 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).17.2 KB · 4 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-blake2s-kat.test.ts5.5 KB · 4 months agonoise-js.test.tsNoise NK auth proof regression test.9.7 KB · 4 months agonoise-js.tsNoise NK initiator for Android / Capacitor.14.8 KB · 4 months agonoise-xx.test.ts5.6 KB · 4 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.9.6 KB · 4 months agopasskey-flags.tspasskey-flags.ts — single switch for the Firefox passkey content-script proxy.2.1 KB · 6 months agopasskey-utils.test.ts1.2 KB · 5 months agopasskey-utils.tspasskey-utils.ts — WebAuthn relying-party-id validation.2.2 KB · 5 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.6.3 KB · 4 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.1 KB · 4 months agosync-limits.tsSync trust + resource bounds — audit fixes HV-1 (timestamp clamp) and MV-3 (receive-path size bounds).1.9 KB · 4 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.17.9 KB · 4 months ago
tests/445.0 KB · 4 months ago
.amoignore1.2 KB · 5 months ago.gitignore124 B · 6 months ago.nvmrc8 B · 5 months agobun.lock133.1 KB · 4 months agomanifest.firefox.json2.5 KB · 4 months agomanifest.json1.6 KB · 4 months agopackage.json2.8 KB · 4 months agoplaywright.config.ts808 B · 6 months agotsconfig.background.json490 B · 5 months agotsconfig.json550 B · 4 months agotsconfig.tests.json122 B · 6 months agovite.config.mobile.ts1.2 KB · 5 months agovite.config.ts3.1 KB · 4 months agovitest.config.ts493 B · 4 months agoWASM-PROVENANCE.mdThe following packages ship prebuilt .wasm blobs that have not been byte-verified against a reproducible build:1.8 KB · 4 months ago
cd0db594925fcomplete Browser secure reset after verified legacy clear1 month ago7fe8fc12bd0efix Browser Sync reset UX, revoke errors, Cmd+C handling, and migration notice1 month agobbfeb080e279accept PB-26-907 as a recorded owner decision1 month ago7ad27f981898record the independent review outcome in continuity1 month ago85dc226e3d80guard the decoy snapshot write path and correct the gate contract (v5.2.45)1 month ago00d35eb4423fresolve all 17 findings of the 2026-09-10 independent audit (v5.2.45)1 month ago3d0561ff4894publish independent audit of 5.2.44 with two High findings, coverage ledger and findings register1 month agocf83534a92fffail-closed malformed ledger and document locked-spool custody divergence (v5.2.44)1 month ago19cc6123e901extract process-readiness wait with 120s adoption budget and bounded diagnostics1 month ago7fa035f54246add bidirectional adoption v2 process conformance gate (v5.2.42)1 month agoba600c808284refresh the handoff to state what is actually left1 month agodf0d764bc93drecord the matrix coverage and the two rows that remain1 month ago1136f6f812bddrive thirteen matrix scenarios plus the manifest adversarial cases1 month ago4c9c7d9d496drecord how far the cross-client matrix got and what it still needs1 month agof62d0bc1c630expand the cross-client matrix from two scenarios to eleven1 month ago74725082f6derecord how the cross-client matrix harness must be extended1 month ago5dc5080ef785record the adapter coverage session in continuity1 month agod8bc7d691d63extract the source session adapter and cover every callback exhaustively1 month agob229cb5bda92record the secure reset session and the owner decisions in continuity1 month ago80bf58c56bfcimplement the secure reset generation state machine1 month ago7da5fef92c4crecord the seven-item campaign handoff for the next session1 month ago5e4f4668b57fcut the release browser gate from CI and accept the secure-reset contract (v5.2.40)1 month ago1a3b49ac1934draft the secure-reset and breaking-migration contract as sync-protocol §11 for owner review1 month ago4406c838cc56record the version-parity fix and the release-readiness audit1 month ago8635173c58d5sync the extension manifests to package.json and gate product-version parity against drift (v5.2.39)1 month ago4d370427d4b6record the §18.1 slice checkpoint and session save identifiers1 month agob9eed11845d4record the §18.1 closure, green gates, and the §18.4 resume plan1 month ago444d98d8f3f4feat: implement frozen Adoption v2 transcript and pending identity recovery (v5.2.38)1 month ago4e04c3621ecdseal the browser device identity under its own key with pre-vault, root and unlock wraps so adoption v2 can present an identity before a vault exists (v5.2.37)1 month ago6b6b9fb38897record the cross-client remediation handoff for the next session1 month agobf41b0386893freeze the adoption v2 transcript, field names, ordering guarantees and version gate in the shared spec1 month agoa31e6dadfa2amirror Android's manifest bounds and reject wsPort 0 so both clients judge a signed manifest identically (v5.2.36)1 month ago2bbd5cf9fdadfail closed when a revocation issuer cannot be resolved, matching Android and the documented contract (v5.2.35)1 month ago0099d0e2d527agree one canonical revocation record across Browser and Android, issuer bound to known-key history (Browser v5.2.34)1 month ago43c9a5b81271align Sync protocol v3 parity, freeze the local identity schema, and gate root-derived device keys out of production (v5.2.33)1 month ago6a44a458e7e5enforce signed revocation history and cross-client manifest v5 (v5.2.32)1 month ago086afa1eb15aharden immutable device identity, atomic revocations, and decoy sync teardown (v5.2.31)1 month ago93638f8f0f13wip: enforce Browser extension permission inventory and fix passphrase separator collisions (v5.2.30); focused tests, typecheck, lint, and cross-client process gate pass1 month ago2f0ade96362cdocs: record release browser gate code review findings1 month ago7be8deee7444docs: make Sync transcript evidence and cold-lock expectations truthful1 month agoa411cc866918wip: wire PB-26-210 browser gate into CI and bump v5.2.27; macOS Chrome service-worker gate remains environment-blocked1 month ago78679e4a8651add interim independent audit findings report and PDF1 month ago2a1e1f452169docs: record incomplete Sync and assessment closeout1 month ago2a74d657694ddocs: Record settled Sync parity saves1 month ago54ccdbf8d8f3fix: Settle cross-client Sync and revocation parity (v5.2.26)1 month ago1be1a75580c7docs: define revocation-safe browser re-pairing1 month ago68e79607733cfix: rotate copied browser identity during adoption (v5.2.25)1 month agod81f77dc4b6cfix: unify sync transcript and enforce cross-client gate (v5.2.24)1 month ago68c8cfc69519docs: record cross-client protocol verification outcome1 month ago5ebeb29c160erecord protocolVersion outcome in continuity1 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]