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 3 weeks ago

216 files
f875282e49e1
back to HEAD
icons/7.3 KB · 6 months ago
public/468.8 KB · 5 months ago
scripts/35.1 KB · 5 months ago
src/1.9 MB · 5 months ago
background/534.0 KB · 5 months ago
aes.test.ts2.2 KB · 6 months agoaes.tsaes.ts — AES-256-GCM encrypt/decrypt primitives for vault storage.3.1 KB · 6 months agoalarms.test.ts5.3 KB · 5 months agoalarms.ts2.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.4.6 KB · 5 months agocodex-handlers.tscodex-handlers.ts — message handlers that back the Peach Codex flow.9.9 KB · 5 months agocommands.tsKeyboard command handler — routing for summon-inline: 1.2.5 KB · 6 months agoentry.ts561 B · 5 months agohealth.test.ts4.9 KB · 6 months agohealth.tshealth.ts — Pro advanced vault health analysis.7.0 KB · 6 months agoindex.ts1.3 KB · 5 months agolicense.ts5.4 KB · 6 months agomessages.adversarial.test.tsmessages.adversarial.test.ts — Layer 3 §3.3 adversarial message handler tests.32.5 KB · 5 months agomessages.test.ts24.7 KB · 5 months agomessages.tsmessages.ts — the only background message handler.66.0 KB · 5 months agoml.ts6.0 KB · 5 months agonotes.test.ts9.3 KB · 5 months agopairing-completed-gate.test.tspairing-completed-gate.test.ts — M13/SEC-0054.9 KB · 5 months agopairing-server-state.tsTracks the active 6-digit pairing-server session.2.3 KB · 6 months agopasskey-crypto.test.ts6.0 KB · 6 months agopasskey-crypto.ts10.4 KB · 6 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 · 6 months agopasskey.ts35.0 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 agosync-coordinator.test.ts9.2 KB · 5 months agosync-coordinator.ts4.2 KB · 5 months agosync-identity-encryption.test.tssync-identity-encryption.test.ts — M12/SEC-0033.9 KB · 5 months agosync-info-sheet.test.ts6.5 KB · 5 months agosync-network.ts1.7 KB · 5 months agosync-pro-gate.test.ts6.1 KB · 5 months agosync-screen.test.ts6.6 KB · 5 months agosync-storage.ts5.1 KB · 5 months agosync.adversarial.test.tssync.adversarial.test.ts — Layer 3 §3.5 adversarial sync tests.30.8 KB · 5 months agovault-history.test.tsVault history tests.8.4 KB · 6 months agovault.adversarial.test.tsvault.adversarial.test.ts — Layer 3 §3.1 adversarial vault tests.32.7 KB · 5 months agovault.test.ts29.2 KB · 5 months agovault.tsvault.ts — sole owner of vault state and chrome.storage vault keys.84.8 KB · 5 months ago
content/281.4 KB · 5 months ago
crypto/46.9 KB · 5 months ago
popup/912.8 KB · 5 months ago
codex/114.5 KB · 5 months ago
components/50.7 KB · 5 months ago
styles/212.1 KB · 5 months ago
views/457.1 KB · 5 months ago
App.tsx68.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.2 KB · 5 months agoindex.tsx610 B · 5 months ago
shared/141.9 KB · 5 months ago
backup.test.ts2.8 KB · 6 months agobackup.ts7.4 KB · 6 months agobridge.ts1.6 KB · 5 months agobrowser.tsbrowser.ts — feature-detected browser identifier shared by background, popup, and content scripts.1.3 KB · 6 months agocodex-types.tscodex-types.ts — shared shapes for the Peach Codex.6.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 agoimport.test.ts13.4 KB · 6 months agoimport.ts15.7 KB · 6 months agolocal-network.ts4.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 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-types.ts1.8 KB · 5 months agosync-wire.ts1.1 KB · 5 months agotypes.tstypes.ts — cross-boundary types and the MessageType union.15.0 KB · 5 months agowebsocket-sync-transport.ts3.6 KB · 5 months ago
tests/437.6 KB · 6 months ago
.gitignore124 B · 6 months agobun.lock123.2 KB · 5 months agomanifest.firefox.json1.9 KB · 5 months agomanifest.json1.5 KB · 5 months agopackage-lock.json270.2 KB · 5 months agopackage.json2.0 KB · 5 months agoplaywright.config.ts808 B · 6 months agopnpm-lock.yaml169.9 KB · 6 months agotsconfig.background.json430 B · 6 months agotsconfig.json461 B · 6 months agotsconfig.tests.json122 B · 6 months agovite.config.mobile.ts848 B · 5 months agovite.config.ts1.4 KB · 6 months agovitest.config.ts461 B · 5 months ago
f875282e49e1L3/SEC-008: replace SHA-1 with SHA-256 for card fingerprint; note HIBP SHA-1 contract5 months agobdecd747802fL2/SEC-004: check event.source in passkey toast closed listener5 months agod99374a2ca9bL1/THREAT-004: add isUnlocked guard to GET_ENTRIES handler5 months agodf4696f637edL-orphan: tighten username heuristic and isLoginForm signup detection (10 orphan reds cleared)5 months ago6d4cdaded53dbefore Phase 5 — LOW + INFO L1-L18 + orphan disposition5 months ago3fed037ef968Phase 4 complete — all MEDIUM UI/quality findings resolved5 months ago1db3573bd284M15/THREAT-006: sanitize note HTML with allow-list — strip iframe/base/meta/form/script5 months ago24ef36cf45b3M14/SEC-007: gate DEBUG_INJECT_INCOMING_PAIRING behind production mode check5 months ago6470e03ca8cdM5/QUA-009: add Codex message types to MessageType union5 months ago4716fba90272M4/QUA-006: log takeVaultSnapshot failures and notify popup on quota5 months ago76fd3d0637f7M3/QUA-005: surface clipboard write failures to user5 months ago3b81fc8ed88eM2/QUA-002: add runtime payload validation at message handler trust boundary5 months ago13f21e71dd16M1/QUA-001: resolve setNativeValue import/local declaration conflict5 months agoe48b2c96ca80before Phase 4 — MEDIUM UI/quality M1-M5, M14-M155 months agof93c36757d9fNOTE comment on lastUnlockFailureReason — flag worker-context fragility (Phase 3 ambiguity #1 followup)5 months agod468573bc9e7CAUTION comment on noiseSessionStub — flag latent break if performResponderAuth ever uses session arg (Phase 2 ambiguity #2 followup)5 months agod3a178f30bffPhase 3 complete — all MEDIUM vault/sync findings resolved5 months agofad5dfeb3dd9M13/SEC-005: verify publicKeyHex against completed handshake in PAIRING_COMPLETED5 months ago31cc6fe0e97aM12/SEC-003: encrypt sync identity private key under derived vault key5 months ago27a13a833aa5M11/COR-014: verify peer is paired before running blob sync session5 months agoddca1d438ac7M10/COR-012: validate incoming vault blob shape before writing5 months ago47c6f243081fM9/COR-010: fix Firefox passkey requestId millisecond collision5 months agoe1c408181343M8/COR-009: deny all pending passkey requests on popup close5 months ago2be6150ec6d1M7/COR-007: distinguish vault corruption from wrong password5 months ago37c409102a5dM6/COR-004: make changePassword single atomic writeSlot call5 months ago6b7be6db17e9before Phase 3 — MEDIUM vault/sync M6-M135 months ago5ec50e357ae3Phase 2 complete — all HIGH findings resolved5 months ago2cba0b06e237H4/COR-002: changePassword re-wraps existing root key instead of generating new one5 months agof9d291f0ea22H3/COR-005: lock vault if reloadEntriesAfterSync fails after sync apply5 months ago35336be9b375H2/COR-006/SEC-006/CRYPTO-11: implement deriveRootKeyFromDerivedKey via pw_root_* wrapping; call migrateToRecovery on unlock5 months agof3db4b95c247H1/THREAT-002: wire performInitiatorAuth/performResponderAuth into production sync5 months ago1a50a54a5decbefore Phase 2 — HIGH findings H1-H45 months ago9b0ef8533cactest infra: fix recovery.adversarial beforeEach context-arg bug; non-list word for 13-word test; vault wrong-unlock timeouts (54 reds cleared)5 months agoc3b41306469dfix: COR-003 stamp peach_last_modified_at on local vault mutations (v2.45.4)5 months ago45f6eddadb59fix: COR-001 preserve recovery escrow during password rewrap (v2.45.3)5 months ago72b453994169fix: SEC-002/THREAT-003 delete TEST handlers (v2.45.2)5 months ago5c4a71d3e83bfix: SEC-001/THREAT-001 whitelist Firefox passkey relay (v2.45.1)5 months ago53eceac206fcdocs: queue audit fix phases5 months ago1b669ded385bbefore complete audit fix spec threat-tier sequence5 months agoeaa64b25d3a7add 5-layer pre-release audit reports (security, correctness, adversarial, code-quality, threat-model)5 months ago309a32ce8a2cadd 6 adversarial test files (~2050 tests across vault, recovery, messages, codex, sync, content)5 months ago613915a9625bbefore comprehensive pre-release audit (5 layers, 5 parallel subagents)5 months agoebd0620a556abump version to 2.45.05 months ago4ed3038d4f03add Section 8 Codex tests — compression, erasure coding, chunk envelope, verify code, handler dispatch5 months agof7a954eb040eadd Section 6 sync Pro gate tests and Section 7 recovery words tests with vault bug fixes5 months agoed6298c4cb0eadd Section 3 notes tests, Section 4 sync screen tests, Section 5 sync info sheet tests5 months ago15de0ce01d2cextract generator policy to testable module and add Section 1 + Section 2 tests5 months agobe8ded95ecdebefore regression test suite v2.42.0 implementation5 months ago4cb0505cbd71replace flushView+assert with vi.waitFor in TOTP copy test — 220ms click timer outlasts 0ms flush5 months agod6b451606313before TOTP copy test fix — 220ms timer vs flushView mismatch5 months 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]