peach-browser

@june

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

TypeScript

v5.3.33 · 1,806 saves · 71,752 lines · updated 6 days ago

420 files
370ea40f4e4e
back to HEAD
crypto-core/74.1 KB · 2 months ago
fixtures/4.7 KB · 2 months ago
icons/6.4 KB · 6 months ago
public/398.1 KB · 3 months ago
scripts/198.9 KB · 1 month ago
build-noise-core.mjs1.8 KB · 4 months agobuild-peachscript.pyBuild PeachScript-Regular.otf — 256 historical-runic glyphs.30.2 KB · 7 months agobun-ambient.d.tsAmbient declarations for the Bun APIs the release scripts use.772 B · 2 months agocheck-cross-client-adoption.test.ts656 B · 2 months agocheck-cross-client-sync.mjs48.5 KB · 2 months agocheck-extension-surface.mjs699 B · 2 months agocheck-noise-core.mjsPB-26-003: verify the committed Noise WASM still matches crypto-core source.2.1 KB · 2 months agocheck-sw-static-imports.mjsFails the build if any chunk reachable from the MV3 service worker still contains a runtime import().3.3 KB · 4 months agoci.ts4.0 KB · 2 months agoclean-chrome-dist.mjs442 B · 3 months agoclean-firefox-artifacts.mjs457 B · 7 months agocross-client-gradle.init.gradle224 B · 2 months agogenerate-kat.mjsgenerate-kat.mjs — recompute the pinned ciphertext for self-test.ts (PCH-01-020).1.1 KB · 5 months agomanifest-parity.test.tsPB-26-610 — the source manifests are security-reviewed; the built manifests are what ships.4.4 KB · 2 months agopackage-source.test.ts8.5 KB · 2 months agopackage-source.ts9.0 KB · 2 months agoprocess-readiness.d.mtsTypes for the plain-JavaScript readiness helper (PB-26-904).479 B · 2 months agoprocess-readiness.mjs766 B · 2 months agoprocess-readiness.test.ts1.0 KB · 2 months agorelease-firefox.ts2.9 KB · 2 months agorelease-gate.test.ts7.5 KB · 2 months agorelease-gate.tsPB-26-210: Release browser-gate validation.3.7 KB · 2 months agorelease-lib.test.tsscripts/release-lib.test.ts PB-26-211: release tool hardening — security tests for the argv-based runner.11.8 KB · 2 months agorelease-lib.tsscripts/release-lib.ts Shared argv-based runner for release tooling (PB-26-211).8.4 KB · 2 months agorelease.test.ts1.7 KB · 2 months agorelease.ts5.3 KB · 2 months agoroot-derivation-gate.test.tsCampaign task 2.4 — no shipping source may derive device key material from the vault root.2.5 KB · 2 months agorun-release-browser-gate.ts930 B · 2 months agotest-firefox-passkeys.mjs19.6 KB · 1 month agotest-firefox-sender-context.mjs13.6 KB · 2 months agoweb-accessible-resources.test.ts2.7 KB · 2 months ago
src/4.1 MB · 1 month ago
background/1.3 MB · 1 month ago
aes.test.ts2.8 KB · 2 months agoaes.tsaes.ts — AES-256-GCM encrypt/decrypt primitives for vault storage.4.5 KB · 2 months agoalarms.test.ts11.6 KB · 2 months agoalarms.ts3.1 KB · 2 months agoclipboard.double-failure.test.tsT-037: clipboard double-failure / alreadyWritten path7.1 KB · 5 months agoclipboard.test.ts10.1 KB · 5 months agoclipboard.tsClipboard write + reliable auto-clear — audit fix HV-2.8.5 KB · 5 months agocodex-handlers.test.tsTests for src/background/codex-handlers.ts.7.7 KB · 3 months agocodex-handlers.tscodex-handlers.ts — message handlers that back the Peach Codex flow.10.2 KB · 3 months agocommands.test.ts1.6 KB · 2 months agocommands.tsKeyboard command handler — routing for summon-inline: 1.2.7 KB · 2 months agodevice-identity.test.ts16.0 KB · 2 months agodevice-identity.tsLocal-device identity helpers.20.2 KB · 2 months agoentry.lock-port.test.tsThe lock-on-close onConnect listener accepts only our nonce'd "popup-<uuid>" port from the extension page and ignores anything else.4.9 KB · 2 months agoentry.ts5.7 KB · 2 months agohealth.test.ts4.2 KB · 6 months agohealth.tshealth.ts — Pro advanced vault health analysis.5.1 KB · 6 months agolicense.ts6.3 KB · 2 months agolicense.verification.test.tsT-009: License Ed25519 signature verification10.8 KB · 2 months agolocked-sync-spool.test.ts8.1 KB · 2 months agolocked-sync-spool.ts10.2 KB · 2 months agomesh-relay-listener.test.ts2.5 KB · 2 months agomesh-relay-listener.ts8.7 KB · 2 months agomessage-policy.test.ts7.1 KB · 2 months agomessage-policy.ts7.4 KB · 2 months agomessages.adversarial.test.tsmessages.adversarial.test.ts — Layer 3 §3.3 adversarial message handler tests.44.9 KB · 2 months agomessages.autolock-refresh.test.tsPB-26-107: passive page traffic must not refresh the auto-lock timer.5.3 KB · 2 months agomessages.batch-sanitize.test.tsT-008: PCH-01-016 batch-add canary/tag sanitization7.1 KB · 5 months agomessages.create-vault-from-root-key.test.ts3.0 KB · 5 months agomessages.edit-origin.test.tsT-022: GET_ENTRY_FOR_EDIT via sender.url + locked-vault AUTOFILL_QUERY10.7 KB · 2 months agomessages.entry-write-origin.test.tsPB-26-106: content-script entry mutations must be bound to the entry's own domain set.10.9 KB · 2 months agomessages.passkey-offer-decline.test.tsPB-26-109: the passkey offer-decline handler is page-relay, so any page's content script may send it.5.3 KB · 2 months agomessages.test.ts78.1 KB · 2 months agomessages.tsmessages.ts — the only background message handler.87.6 KB · 2 months agoml.predictbatch.test.tsT-030: ml.ts predictBatch — batch sizes, softmax stability with extreme weights7.7 KB · 5 months agoml.ts6.4 KB · 2 months agonotes.test.ts9.4 KB · 2 months agooffscreen.html310 B · 5 months agooffscreen.tsOffscreen document script — audit fix HV-2c.1.8 KB · 5 months agopair-secrets.test.ts11.1 KB · 2 months agopair-secrets.tspair-secrets.ts — PB-26-213: the reusable rendezvous secret must never sit in plaintext in chrome.storage.local.10.0 KB · 2 months agopaired-devices.test.ts20.1 KB · 2 months agopaired-devices.tsPaired-device registry — v3 sync.28.7 KB · 2 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.32.9 KB · 1 month agopasskey-crypto.test.ts6.0 KB · 7 months agopasskey-crypto.ts10.9 KB · 3 months agopasskey-deny-on-close.test.tspasskey-deny-on-close.test.ts — M8/COR-0092.8 KB · 6 months agopasskey-firefox-proxy.test.tspasskey-firefox-proxy.test.ts — covers the v2.12.0 Firefox content-script proxy path.26.6 KB · 1 month agopasskey.ed25519.test.tsT-015: Ed25519 passkey round-trip9.4 KB · 5 months agopasskey.ts49.7 KB · 1 month agopending-adoption-holder.test.ts2.2 KB · 2 months agopending-adoption-holder.ts3.4 KB · 2 months agopending-vouched-devices.test.ts1.7 KB · 3 months agopending-vouched-devices.tsPending vouched devices — audit fix MV-7.2.3 KB · 3 months agorecovery-pending.test.ts3.1 KB · 2 months agorecovery-pending.tsBackground-owned state set while the user has just created or rotated a vault identity and is confirming their recovery words.1.7 KB · 2 months agorecovery-words.test.ts19.4 KB · 2 months agorecovery.adversarial.test.tsrecovery.adversarial.test.ts — Layer 3 §3.2 adversarial recovery words tests.19.6 KB · 2 months agorelay-adoption-bg.test.ts47.9 KB · 2 months agorelay-adoption-bg.ts28.0 KB · 2 months agoself-test.test.ts1.2 KB · 5 months agoself-test.tsself-test.ts — Known-Answer Test (KAT) for the Peach crypto stack.3.8 KB · 5 months agostorage-access.test.ts2.9 KB · 2 months agostorage-access.tsPB-26-203: the session-key escrow is only as trustworthy as the boundary around chrome.storage.session.1.5 KB · 2 months agosync-alarm.test.ts4.0 KB · 4 months agosync-alarm.tssync-alarm.ts — the 10-minute background sync tick.3.8 KB · 4 months agosync-alerts.test.ts2.5 KB · 2 months agosync-alerts.tsPending sync security alerts.3.1 KB · 2 months agosync-coordinator.test.ts30.4 KB · 2 months agosync-coordinator.tsVault sync — Phase 2 manifest-diff coordinator.20.5 KB · 2 months agosync-generation.test.tsThe §11 secure-reset contract: the durable generation record, the six states, create-on-miss refusal, archival by generation, crash recovery at every step, and the sync gate.12.7 KB · 2 months agosync-generation.tsThe durable Sync-generation record and its state machine (protocol §11).15.4 KB · 2 months agosync-runner.test.ts14.7 KB · 2 months agosync-runner.tsProduction sync runner — composes the live vault adapter, WebSocket transport, and coordinator into the function the dispatcher injects via setSyncRunner.7.9 KB · 2 months agosync-settings.test.ts3.4 KB · 3 months agosync-settings.ts4.6 KB · 3 months agosync-static.test.tsIV.7 — Static safety assertions for vault sync.3.9 KB · 3 months agosync-trigger.test.ts17.2 KB · 2 months agosync-trigger.tssync-trigger.ts — central sync dispatcher.13.6 KB · 2 months agosync-vault-adapter.test.ts50.1 KB · 2 months agosync-vault-adapter.tsProduction adapter that backs runSyncInitiator with the live vault.25.4 KB · 2 months agovault-createVaultFromRootKey.test.ts8.2 KB · 4 months agovault-history.test.tsVault history tests.11.8 KB · 2 months agovault.adversarial.test.tsvault.adversarial.test.ts — Layer 3 §3.1 adversarial vault tests.34.3 KB · 2 months agovault.card-decline.test.tsPB-26-108: declined-card metadata must not be offline-enumerable.8.5 KB · 2 months agovault.consolidate-passkeys.test.tsT-023: vault.consolidatePasskeyEntries — passkey merge with lastUsed ranking8.9 KB · 3 months agovault.corruption.test.tsT-018: Vault corruption vs wrong-password discrimination (M7/COR-007)9.0 KB · 3 months agovault.duress-adoption.test.ts4.3 KB · 4 months agovault.entry-id-namespace.test.ts4.2 KB · 2 months agovault.hibp-padding.test.tsPCH-02-007 regression tests — the HIBP k-anonymity range request must ask for response padding, and the parser must stay correct on padded responses.2.3 KB · 5 months agovault.purge-trash.test.tsT-024: vault.purgeExpiredTrash — retention cutoff boundary9.7 KB · 5 months agovault.rotate-sync-identity.test.tsT-016: rotateSyncIdentity — new root key, cleared peers, recovery pending9.6 KB · 3 months agovault.session-escrow.test.ts17.1 KB · 2 months agovault.sync-clamp.test.tsUnit tests for HV-1 — sync timestamp clamp + remote-mutation alerts.5.8 KB · 2 months agovault.test.ts56.2 KB · 2 months agovault.tombstone-ledger.test.ts5.8 KB · 2 months agovault.tsvault.ts — sole owner of vault state and chrome.storage vault keys.133.2 KB · 2 months agovault.update-entry-sanitize.test.tsPCH-02-001 regression tests — UPDATE_ENTRY patch path must route canary/tags/passkey through the same sanitizers the add/restore/sync funnels use (sanitizeCanary / sanitizePasskey / sanitizeTags).7.7 KB · 2 months ago
content/511.4 KB · 1 month ago
passkey-toast/22.0 KB · 2 months ago
_setup.tsShared test harness for the AUTOFILL-TESTS draft suite.7.7 KB · 3 months ago_smoke.test.ts@vitest-environment jsdom995 B · 5 months agocontent-ml-detector.ts6.1 KB · 7 months agocontent.adversarial.test.ts@vitest-environment jsdom21.5 KB · 5 months agocontent.detect.test.ts@vitest-environment jsdom19.0 KB · 3 months agocontent.dismissal.test.ts@vitest-environment jsdom11.8 KB · 2 months agocontent.field-icon.test.ts@vitest-environment jsdom4.9 KB · 3 months agocontent.field-interaction.test.ts@vitest-environment jsdom11.4 KB · 2 months agocontent.fill.test.ts@vitest-environment jsdom9.1 KB · 2 months agocontent.form-action-gate.test.ts@vitest-environment jsdom6.6 KB · 2 months agocontent.initial-scan.test.ts@vitest-environment jsdom5.8 KB · 5 months agocontent.interaction.test.ts@vitest-environment jsdom5.3 KB · 3 months agocontent.message-routing.test.ts@vitest-environment jsdom11.9 KB · 2 months agocontent.policy.test.ts@vitest-environment jsdom5.3 KB · 3 months agocontent.save.test.ts@vitest-environment jsdom5.6 KB · 3 months agocontent.selector-ui.test.ts@vitest-environment jsdom13.4 KB · 2 months agocontent.totp-group-icon.test.ts@vitest-environment jsdom3.4 KB · 3 months agodetect.test.ts@vitest-environment jsdom7.5 KB · 3 months agodetect.ts16.4 KB · 3 months agofill.test.ts@vitest-environment jsdom8.8 KB · 2 months agofill.ts6.0 KB · 2 months agoidentity-helper.test.ts2.0 KB · 5 months agoidentity-helper.ts1.7 KB · 5 months agoindex.ts48.5 KB · 2 months agoinject.generator.test.ts@vitest-environment jsdom1.7 KB · 2 months agoinject.keyguard.test.ts@vitest-environment jsdom2.5 KB · 5 months agoinject.tsinject.ts — autofill icon + selector overlay, injected into pages.176.7 KB · 2 months agointeraction.test.ts@vitest-environment jsdom2.0 KB · 6 months agointeraction.ts1.8 KB · 5 months agopasskeys-firefox.test.ts@vitest-environment jsdom26.1 KB · 1 month agopasskeys-firefox.tspasskeys-firefox.ts — isolated-world WebAuthn interception for Firefox.17.7 KB · 1 month agopolicy.test.ts@vitest-environment jsdom4.1 KB · 2 months agopolicy.tspolicy.ts — page-scraping helpers for password requirements.7.3 KB · 2 months agosave.ts8.7 KB · 5 months ago
crypto/108.6 KB · 2 months ago
popup/1.3 MB · 1 month ago
codex/239.2 KB · 2 months ago
aztec.tsaztec.ts — Aztec 2D barcode generation with round-trip verification.10.1 KB · 3 months agobrowser-bundle.test.ts674 B · 6 months agocodex.adversarial.test.tscodex.adversarial.test.ts — Layer 3 §3.4 adversarial Codex tests.24.8 KB · 2 months agocodex.multistripe.test.tsT-017: Codex multi-stripe round-trip8.9 KB · 5 months agocodex.suite.test.tscodex.suite.test.ts — cross-cutting regression suite for the Codex pipeline.9.9 KB · 6 months agocodex.test.ts20.8 KB · 3 months agoconfirmation.tsPick 3 distinct positions in [1, 12] for the recovery-words confirmation gate.601 B · 6 months agoerasure.tserasure.ts — Reed-Solomon erasure coding around the WASM library.13.9 KB · 6 months agogenerate.test.ts17.1 KB · 6 months agogenerate.tsgenerate.ts — full Codex generation pipeline.16.9 KB · 3 months agohelpers.tshelpers.ts — shared utilities for Codex generation and restoration.7.8 KB · 3 months agonode-wasm.tsNode-only WASM byte loader for Vitest.1.1 KB · 6 months agopdf-import.clamp.test.ts2.5 KB · 5 months agopdf-import.sandbox.test.tsT-007: MV-9 pdf.js sandbox flags regression test4.6 KB · 5 months agopdf-import.test.tspdf-import.test.ts — coverage for the testable surface of the PDF import path.13.9 KB · 2 months agopdf-import.tspdf-import.ts — restore from a Codex PDF instead of a camera scan.26.8 KB · 2 months agopdf-layout.tspdf-layout.ts — A4 Codex page geometry shared between the generator and the PDF importer.1.4 KB · 6 months agopdf.tspdf.ts — render the printable Codex PDF.8.1 KB · 6 months agoreed-solomon.tsBrowser-safe wrapper around the Reed-Solomon WASM exports.5.2 KB · 5 months agorestore.test.tsrestore.test.ts — coverage for ChunkBuffer, parseRawScan, reconstructAndVerify.11.0 KB · 3 months agorestore.tsrestore.ts — Peach Codex restoration library (popup-side).16.5 KB · 2 months agors-loader.tsrs-loader.ts — load the Reed-Solomon erasure WASM module.2.4 KB · 6 months agoscan-limits.test.tsscan-limits.test.ts — PB-26-207 resource bounds on the Codex scan path.12.5 KB · 2 months agoscanner.tsscanner.ts — camera-based Aztec scanning for Codex restoration.1.8 KB · 6 months ago
components/85.3 KB · 2 months ago
styles/227.4 KB · 1 month ago
views/649.7 KB · 1 month ago
Add.tsx31.7 KB · 2 months agoAdoptVaultView.test.tsx@vitest-environment jsdom14.6 KB · 1 month agoAdoptVaultView.tsx13.8 KB · 1 month agoCodexGenerateView.test.tsx@vitest-environment jsdom2.9 KB · 2 months agoCodexGenerateView.tsxPeach Codex — generation view.24.3 KB · 2 months agoCodexRestoreView.test.tsx@vitest-environment jsdom7.8 KB · 2 months agoCodexRestoreView.tsxPeach Codex — restoration view.24.2 KB · 2 months agocontracts.test.tsx@vitest-environment jsdom65.8 KB · 2 months agoEntry.totp-params.test.tsx@vitest-environment jsdom4.5 KB · 2 months agoEntry.tsx81.5 KB · 2 months agoExport.csv.test.ts@vitest-environment jsdom1007 B · 3 months agoExport.tsxSignal-conditioned views in this file must use <Show>, never a signal-conditioned early return (if (signal()) return <X/>).21.2 KB · 2 months agoHealth.test.tsx@vitest-environment jsdom2.5 KB · 6 months agoHealth.tsx21.2 KB · 3 months agoImport.test.tsx@vitest-environment jsdom4.1 KB · 2 months agoImport.tsxSignal-conditioned views in this file must use <Show>, never a signal-conditioned early return — see Projects.md §4.1.32.2 KB · 2 months agoInitialSyncView.test.tsx@vitest-environment jsdom1.3 KB · 4 months agoInitialSyncView.tsx1.7 KB · 4 months agoLock.test.tsx@vitest-environment jsdom5.6 KB · 2 months agoLock.tsx50.1 KB · 2 months agoNoteEditor.toHtml.test.ts@vitest-environment jsdom3.6 KB · 6 months agoNoteEditor.tsx7.6 KB · 3 months agoNotesEditor.tsx7.6 KB · 3 months agoNotesMode.tsx2.9 KB · 6 months agoNotesTOC.tsx4.6 KB · 3 months agoOnboarding.tsx7.4 KB · 3 months agoPairDevice.test.tsx@vitest-environment jsdom8.3 KB · 2 months agoPairDevice.tsxPairDevice — the pairing surface, opened from the Settings → Sync card.11.0 KB · 2 months agoPanic.tsx6.0 KB · 7 months agoPasskeyApproval.tsx2.1 KB · 7 months agoProCelebration.tsx646 B · 7 months agoProNudge.test.tsx@vitest-environment jsdom2.9 KB · 1 month agoProNudge.tsx2.1 KB · 1 month agoRecoveryWordDisplay.tsx8.9 KB · 3 months agoRecoveryWordEntry.tsx11.4 KB · 5 months agoSettings.tsx106.2 KB · 1 month agoTrashView.tsx5.7 KB · 7 months agovault-search.test.ts3.4 KB · 3 months agovault-search.ts4.6 KB · 3 months agoVault.tsx26.3 KB · 2 months agoview-test-utils.tsx1.1 KB · 5 months agoWhatsNew.tsx2.2 KB · 2 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 · 5 months ago
App.tsx84.7 KB · 1 month agocopy.tsPopup-side copy helper.1.6 KB · 2 months agofirefox-passkey.tsfirefox-passkey.ts — popup-context WebAuthn caller for the Firefox path.4.0 KB · 7 months agogenerator-policy.ts2.2 KB · 2 months agoimport.csv.formulainjection.test.tsT-021: CSV formula-injection on import (round-trip)6.1 KB · 5 months agoindex.html1.1 KB · 6 months agoindex.tsx155 B · 3 months agopro-features.ts749 B · 1 month ago
shared/926.7 KB · 1 month ago
noise-core-wasm/441.1 KB · 2 months ago
adoption-protocol.test.ts3.9 KB · 2 months agoadoption-protocol.ts13.0 KB · 2 months agobridge.ts1.6 KB · 6 months agobrowser.test.tsbrowser.test.ts — locks down feature-detected browser identification.6.5 KB · 6 months agobrowser.tsbrowser.ts — feature-detected browser identifier shared by background, popup, and content scripts.1.3 KB · 7 months agocodex-types.tscodex-types.ts — shared shapes for the Peach Codex.10.4 KB · 3 months agoconfig.tsWeb3Forms access key for the in-app feedback form (Settings → feedback).827 B · 4 months agoconstant-time.test.ts1.9 KB · 4 months agoconstant-time.tsCompare fixed-format cryptographic values without data-dependent early exit.823 B · 4 months agodevice-manifest.test.ts13.0 KB · 2 months agodevice-manifest.tsDevice manifest — v2 brief §4.3.16.3 KB · 2 months agodomain.homograph.test.tsLV-2: homograph detector tests.1.4 KB · 2 months agodomain.test.ts1.5 KB · 2 months agodomain.ts2.6 KB · 2 months agoeff-short-wordlist.test.ts458 B · 2 months agoeff-short-wordlist.txt7.0 KB · 2 months agofavicon.test.ts1.2 KB · 7 months agofavicon.tsResolves a favicon URL for a given domain.3.4 KB · 6 months agogenerate.empty-pool.test.tsT-025: generate.ts empty-pool guard and maximum-length boundary3.9 KB · 2 months agogenerate.test.ts2.3 KB · 2 months agogenerate.ts3.0 KB · 2 months agoimport-limits.tsImport-path resource bounds — audit fixes MV-4 (decompression bomb) and MV-5 (unbounded file/string allocation).1.7 KB · 2 months agoimport.test.ts9.3 KB · 2 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).14.7 KB · 2 months agoinitial-sync.test.ts911 B · 4 months agoinitial-sync.ts667 B · 4 months agolegacy-identity-derivation.test-support.tsRoot→device key derivation, retained for tests only — campaign task 2.4.3.1 KB · 2 months agomesh-peer-role.ts1.9 KB · 2 months agoml.ts1.4 KB · 7 months agonoise-blake2s-kat.test.ts3.3 KB · 2 months agonoise-core.ts4.0 KB · 2 months agonoise-js.test.tsNoise NK auth proof regression test.11.1 KB · 2 months agonoise-js.tsNoise NK initiator for browser-to-browser sync.12.3 KB · 2 months agonoise-kk.test.ts4.9 KB · 2 months agonoise-small-order-dh.test.tsPB-26-014 follow-up — the JS-side DH boundaries in noise-js.ts mirror the Rust core's small-order X25519 blocklist (libhydrogen's contributory-behaviour list).3.8 KB · 2 months agonoise.reject-zero-dh.test.tsPCH-02-009 regression tests — every Noise NK DH must reject an all-zero shared secret (low-order / identity peer point) instead of feeding it into the key schedule.2.6 KB · 3 months agopairing-dial.test.ts7.4 KB · 2 months agopairing-dial.tsThe WebSocket seam every relay-facing Peach flow shares.4.3 KB · 2 months agopairing-handshake.tsShared pairing primitives used by the live relay-adoption path.1.1 KB · 3 months agopairing-invitation.test.ts4.2 KB · 2 months agopairing-invitation.ts4.3 KB · 2 months agopasskey-flags.tspasskey-flags.ts — single switch for the Firefox passkey content-script proxy.2.1 KB · 7 months agopasskey-utils.test.ts1.5 KB · 2 months agopasskey-utils.tspasskey-utils.ts — WebAuthn relying-party-id validation.1.3 KB · 2 months agopro-nudge.test.ts1.8 KB · 1 month agopro-nudge.ts1.2 KB · 1 month agorecovery-word-list.tsrecovery-word-list.ts — 2048-word recovery word list for Peach vault recovery.20.0 KB · 3 months agorecovery-words.checksum.test.tsT-002: BIP39 checksum rejection4.6 KB · 5 months agorecovery-words.cross-platform.test.ts2.4 KB · 4 months agorecovery-words.integrity.test.tsT-001: BIP39 word-list integrity2.6 KB · 5 months agorecovery-words.kek.test.tsT-003: 128-bit prefix-KEK invariant (PCH-01-005 sibling)6.7 KB · 5 months agorecovery-words.tsrecovery-words.ts — BIP39-compatible recovery word encoding for Peach vault recovery.6.3 KB · 5 months agorelease-notes.test.ts4.6 KB · 2 months agorelease-notes.tsCurated release history and post-update notice selection.5.8 KB · 2 months agorendezvous.test.ts3.1 KB · 2 months agorendezvous.ts5.7 KB · 2 months agoshortcuts.test.ts@vitest-environment jsdom4.0 KB · 7 months agoshortcuts.tsshortcuts.ts — keybinding schema, defaults, matcher, formatter.6.7 KB · 7 months agostorage.ts537 B · 6 months agosync-entry-envelope.kat.test.ts1.5 KB · 2 months agosync-identity.test.ts3.1 KB · 2 months agosync-identity.tsSync identity — vault-scoped primitives.3.7 KB · 2 months agosync-kk-transport.test.ts18.5 KB · 2 months agosync-limits.tsSync trust + resource bounds — audit fixes HV-1 (timestamp clamp) and MV-3 (receive-path size bounds).4.6 KB · 2 months agosync-outcome.test.ts7.0 KB · 2 months agosync-outcome.tsWhy a sync run ended, in a form both the service worker and the popup can name.7.2 KB · 2 months agosync-padding.test.ts4.9 KB · 4 months agosync-padding.tsE7: frame padding at the relay boundary.4.6 KB · 4 months agosync-transport.tsWebSocket reconnect transport — Noise KK with both paired static keys.23.3 KB · 2 months agosync-types.tsVault sync — type definitions.8.4 KB · 2 months agosync.disconnect.test.tsT-020: WebSocket sync-disconnect handling (PCH-01-026 #9)12.2 KB · 2 months agotypes.tstypes.ts — cross-boundary types and the MessageType union.16.1 KB · 2 months agovault-adopt-snapshot.test.ts17.3 KB · 2 months agovault-adopt.test.ts44.9 KB · 2 months agovault-adopt.ts34.3 KB · 2 months ago
test/641 B · 3 months ago
tests/119.1 KB · 1 month ago
.gitignore31 B · 2 months agobiome.json1.0 KB · 3 months agobun.lock136.0 KB · 2 months agoDockerfile.firefox-gate212 B · 2 months agoLICENSE34.3 KB · 5 months agomanifest.firefox.json2.0 KB · 1 month agomanifest.json1.6 KB · 1 month agopackage.json3.3 KB · 1 month agoplaywright.config.ts1.8 KB · 2 months agoREADME.mdA free, open source, local-first password manager for Chrome, Firefox, and Android.2.1 KB · 2 months agotsconfig.json540 B · 2 months agovite.config.ts3.6 KB · 2 months agovitest.config.ts526 B · 3 months ago
ea3d3ceb520adocs: session notes OUTCOMES — v3.6.140 end-to-end passkey create+get proof, orthogonality of null-buffer harness artifact, smoke now green6 months agoda331121f21ftest: prove passkey create+get end-to-end — extend compile-stripped E2E Pro bypass to provider-enable and get gates, drive smoke setup over messages (create/unlock/enable, lockOnClose off), approve in fresh popups; smoke now green (v3.6.140)6 months ago071b1347e42ddocs: session notes OUTCOMES — v3.6.140 passkey document-is-not-defined root cause and fix6 months ago6e876e9e1422fix: disable Vite modulePreload so the service worker's dynamic import() helper no longer touches document — passkey get/create no longer throws ReferenceError mid-flow (v3.6.140)6 months ago21fbb6627cdduse font-display block + preload RegularItalic so entry names keep Cormorant after pre-lock removal, no Times fallback (v3.6.139)6 months ago5847a1a7137dremove static #pre-lock splash so unlocked popup no longer flashes the lock screen on open (v3.6.138)6 months agoec66f22212b6test: add atomic-persist regression — a slot-B write failure must restore slot A so no phantom entry is left on disk (covers v3.6.137)6 months agoebb7bd2456e6fix: make vault persist atomic — restore prior slot A if a later write fails, so a failed save never leaves disk ahead of memory; eliminates phantom/duplicate entries (v3.6.137)6 months ago34691b7eed91fix: add unlimitedStorage + surface real save errors + plain-text note paste; cap vault history 10→5 — resolves intermittent STORAGE_QUOTA_EXCEEDED save failures (v3.6.136)6 months agoc3a13ed2e2c4before investigating intermittent entry/note save failures6 months agodeb59054482erelease v3.6.135 to Chrome Web Store and Firefox AMO6 months ago797d654ef572before v3.6.135 store release6 months ago3a5e85455435replace blur-based list dismiss with mousedown watcher — focus traps can't close the list (v3.6.135)6 months ago062f87c4a7e5resist focus-trap blur in identity suggest list + popup auto-close after inline unlock (v3.6.134)6 months ago42176e8b1f29broaden modal detection to form ancestor + position:fixed fallback (v3.6.132)6 months ago91ca0c3fee4eappend popup inside modal ancestor so focus traps don't intercept Peach's internal inputs (v3.6.131)6 months agob1774d59b9e2before modal-anchor popup fix6 months ago293e14f7664efix(sw): register onMessage handler synchronously at SW startup + gate unlock-dependent handlers on a restore-ready promise — fixes cold-start race where the popup's HAS_VAULT hit a listenerless worker and flashed onboarding; preserves the no-spurious-lock fix (v3.6.130)6 months agod4136f2febfddocs: independent security audit report — findings, resolutions, verification, safety rating (8.5/10), and codebase recommendations6 months ago3352fb2a8b40independent security audit complete — all 18 confirmed findings resolved (v3.6.129); mobile resynced (peach-android v1.0.39)6 months ago07ce1ae7d42cfix(security): recovery words no longer exported to world-readable Android public Downloads — native offers a clipboard copy, desktop keeps user-chosen-location .txt (MEDIUM #7); document Web3Forms key as an intentionally-public anti-spam token (INFO #11) (v3.6.129)6 months agocf426553736efix(security): CSV export neutralizes spreadsheet formula injection (MEDIUM #8); 2FA toast no longer renders the live code into page-readable DOM (LOW #10); password generator uses rejection sampling to remove modulo bias (INFO #12) (v3.6.128)6 months agoc9f2283eb546fix(security): duress pads both vault slots to a fixed 256KiB ceiling so ciphertext lengths never reveal a hidden decoy vault exists — restores plausible deniability across real-vault growth (MEDIUM #5) (v3.6.127)6 months ago935ae427d7eefix(security): pairing now gates persistence on a user-confirmed Short Authentication String (SAS) derived from the shared Noise handshake hash — both devices show it, user confirms match before enrolling; defeats LAN/audio-range initiator impersonation (HIGH #4, extension+shared) (v3.6.126)6 months ago2da1a2aff52cfix(security): inline locked bubble no longer collects the master password in page DOM — routes to the trusted popup via OPEN_POPUP; removes page-observable keystroke surface and the trim/no-trim inconsistency (HIGH #3 + LOW #9) (v3.6.125)6 months agoc0204fa478dffix(security): CSV/JSON import requires a real master password when no vault exists; CREATE_VAULT handler rejects empty password — no more empty-key vault with zero at-rest protection (HIGH) (v3.6.124)6 months ago819c2b01c71cfix(security): enforce Firefox passkey rpId against the browser-attested sender origin, not page-supplied payload.origin — closes cross-origin assertion/credential forgery; verify clientDataJSON origin; scope HAS_CREDENTIALS+GET_PASSKEY_FOR_DOMAIN to caller origin (CRITICAL) (v3.6.123)6 months ago77d4f52c16bbindependent security audit — full line-by-line review begins6 months ago00429fe70a82refactor: remove dead chrome.storage.sync paired-device migration — registry is local-only, no sync evacuation path needed; zero storage.sync references in paired-devices.ts (v3.6.122)6 months ago811c39d3ce63audit resolution complete — all findings resolved v3.6.1216 months ago9767a70364eafix(data): PeachScript passkey entry encodes all login fields — totp, notes, tags, email, canary, additionalUrls, passwordChangedAt, breach preserved on export; backward-compatible via JSON blob (v3.6.121)6 months ago2b15bb2c1fddfix(security): Firefox passkey rpId↔origin validation — reject cross-origin rpId spoofing in handleFirefoxPasskeyCreate/Get via new isValidRpId (v3.6.120)6 months agodd13df9e1692fix(sync): derive sync identity from rootKey not derivedKey — vault_id, Noise XX static key, Ed25519 signing key and per-entry envelope keys stay stable across password rotation (v3.6.119)6 months ago2de264de1091feat: expose getRootKeyHex — stable per-vault root key, invariant across password change (already escrowed via recovery words + pw_root_*); foundation for password-independent sync identity (v3.6.118)6 months ago13728285815bdocs: inline notes for tombstone accumulation, per-entry LWW limitation, flags2 format caution; expand Projects.md §3.8 with full permission list and justifications (v3.6.117)6 months ago3bc26b9c7542fix(security): GET_ENTRY_FOR_FILL sends 6-digit TOTP code not seed — autofill+tray can't derive future codes; edit form uses new GET_ENTRY_FOR_EDIT to keep the seed; correct stale HKDF comment in chirp-sync-vault-adapter (v3.6.116)6 months ago9a0edc58db45fix(sw): await restoreFromSession before setupMessageHandler — no spurious lock screen on service-worker respawn (v3.6.115)6 months ago2c1167340654fix(data): updateEntry and deleteEntry roll back in-memory state on persist failure — no disk/memory divergence on quota error (v3.6.114)6 months agob0d0f5e59a28fix(sync): per-entry modifiedAt/deletedAt monotonic — clock-skew no longer discards local edits in LWW merge (v3.6.113)6 months agob5de3f75e43afix(sync): sync_received writes do not advance vault version — no-op sync optimisation restored, prevents ping-pong (v3.6.112)6 months ago19da2c5da38dfix(data): normalizeEntry preserves passwordChangedAt — aged-password health uses correct date across lock/unlock (v3.6.111)6 months ago66b318659107fix: DESTROY_VAULT preserves peach_license and peach_pro_celebrated — Pro survives vault reset; drop unused beforeEach import unblocking typecheck (v3.6.110)6 months ago49d919333ee0audit resolution — all findings — begins at v3.6.1096 months agoc51527dada23add comprehensive live audit report — findings plus CONFIRMED-CORRECT inventory (docs only)6 months ago1318b332a48bcomprehensive live audit v3.6.109 — read-only phase begins6 months agoe50cd95264aafix: complete*Request safe-wraps 'Invalid requestId' from Chrome-cancelled requests (conditional-UI gets cancel fast); onRequestCanceled now clears unlock waiters; log every proxy entry point; 3 new tests (v3.6.109)6 months ago5c2e4bb0970adiag: log every branch in handleCreateRequest, setupPasskeyProxy, attachPasskeyProxy, denyAllPendingPasskeyRequests — instant-fail with no SW errors leaves no signal otherwise (v3.6.108)6 months ago549991994e90test: add passkey-chrome-ceremony.test.ts (20 tests) and browser.test.ts (17 tests) — locks down isUvpaa unconditional true, locked-vault wait-for-unlock, page-origin clientDataJSON, signCount persistence, Pro gating, attach-target selection; covers Chromium derivatives (Brave/Edge/Vivaldi/Opera/Arc) and Firefox derivatives (LibreWolf/Floorp) via feature detection (v3.6.107)6 months ago46a7aa189940before comprehensive passkey test coverage6 months ago2c99399f84d6fix: isUvpaa returns true unconditionally (was gated on unlock — caused 'passkey can't be created on this device'); handleCreateRequest now waits for unlock instead of immediately rejecting (v3.6.106)6 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]