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

542 files
dcd38225db61
back to HEAD
.deepsec/This directory holds the deepsec config for the parent repo.300.6 KB · 3 months ago
data/222.4 KB · 3 months ago
peach-browser/222.4 KB · 3 months ago
files/202.9 KB · 3 months ago
scripts/5.7 KB · 3 months ago
src/194.6 KB · 3 months ago
background/56.0 KB · 3 months ago
content/43.7 KB · 3 months ago
crypto/3.7 KB · 3 months ago
popup/71.9 KB · 3 months ago
codex/8.8 KB · 3 months ago
components/14.4 KB · 3 months ago
views/42.0 KB · 3 months ago
App.tsx.json4.7 KB · 3 months agochirp-pair.ts.json1.2 KB · 3 months agofirefox-passkey.ts.json943 B · 3 months ago
shared/19.3 KB · 3 months ago
vite.config.mobile.ts.json688 B · 3 months agovite.config.ts.json1.9 KB · 3 months ago
runs/11.9 KB · 3 months ago
config.json227 B · 3 months agoINFO.mdRepo context injected into every DeepSec batch.4.7 KB · 3 months agoproject.json130 B · 3 months agoSETUP.mdThis is a deepsec scanning workspace.2.3 KB · 3 months agotech.json195 B · 3 months ago
.gitignore206 B · 3 months agodeepsec.config.ts181 B · 3 months agopackage.json246 B · 3 months agopnpm-lock.yaml75.0 KB · 3 months agopnpm-workspace.yaml13 B · 3 months agoREADME.mdThis directory holds the deepsec config for the parent repo.2.6 KB · 3 months ago
crypto-core/62.5 KB · 3 months ago
icons/6.4 KB · 5 months ago
public/468.8 KB · 3 months ago
scripts/63.5 KB · 3 months ago
src/3.9 MB · 2 months ago
background/1.0 MB · 2 months ago
aes.test.ts2.2 KB · 6 months agoaes.tsaes.ts — AES-256-GCM encrypt/decrypt primitives for vault storage.4.5 KB · 3 months agoalarms.test.ts5.3 KB · 5 months agoalarms.ts2.3 KB · 5 months agoclipboard.double-failure.test.tsT-037: clipboard double-failure / alreadyWritten path7.1 KB · 4 months agoclipboard.test.ts10.1 KB · 4 months agoclipboard.tsClipboard write + reliable auto-clear — audit fix HV-2.8.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 agodevice-identity.test.ts2.7 KB · 3 months agodevice-identity.tsLocal-device identity helpers for the sync architecture.7.3 KB · 3 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.ts4.7 KB · 3 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 agolicense.verification.test.tsT-009: License Ed25519 signature verification10.1 KB · 4 months agomesh-relay-listener.test.ts2.0 KB · 3 months agomesh-relay-listener.ts6.4 KB · 3 months agomessages.adversarial.test.tsmessages.adversarial.test.ts — Layer 3 §3.3 adversarial message handler tests.42.1 KB · 4 months agomessages.batch-sanitize.test.tsT-008: PCH-01-016 batch-add canary/tag sanitization7.1 KB · 4 months agomessages.create-vault-from-root-key.test.ts3.0 KB · 4 months agomessages.edit-origin.test.tsT-022: GET_ENTRY_FOR_EDIT via sender.url + locked-vault AUTOFILL_QUERY9.0 KB · 4 months agomessages.test.ts43.0 KB · 3 months agomessages.tsmessages.ts — the only background message handler.73.7 KB · 2 months agoml.predictbatch.test.tsT-030: ml.ts predictBatch — batch sizes, softmax stability with extreme weights7.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.ts12.4 KB · 3 months agopaired-devices.tsPaired-device registry — v3 sync.16.2 KB · 3 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.ed25519.test.tsT-015: Ed25519 passkey round-trip9.4 KB · 4 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.6 KB · 3 months agorecovery.adversarial.test.tsrecovery.adversarial.test.ts — Layer 3 §3.2 adversarial recovery words tests.19.5 KB · 4 months agorelay-adoption-bg.test.ts34.8 KB · 2 months agorelay-adoption-bg.ts22.8 KB · 2 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-alarm.test.ts4.0 KB · 3 months agosync-alarm.tssync-alarm.ts — the 10-minute background sync tick.3.8 KB · 2 months agosync-alerts.tsPending sync security alerts.2.5 KB · 3 months agosync-coordinator.test.ts19.1 KB · 3 months agosync-coordinator.tsVault sync — Phase 2 manifest-diff coordinator.21.5 KB · 3 months agosync-runner.test.ts12.3 KB · 3 months agosync-runner.tsProduction sync runner — composes the live vault adapter, WebSocket transport, and coordinator into the function the dispatcher injects via setSyncRunner.7.0 KB · 3 months agosync-settings.test.ts3.6 KB · 3 months agosync-settings.ts4.9 KB · 3 months agosync-static.test.tsIV.7 — Static safety assertions for vault sync.4.7 KB · 3 months agosync-trigger.test.ts14.1 KB · 3 months agosync-trigger.tssync-trigger.ts — central sync dispatcher.12.0 KB · 3 months agosync-vault-adapter.test.ts44.9 KB · 2 months agosync-vault-adapter.tsProduction adapter that backs runSyncInitiator with the live vault.22.0 KB · 2 months agovault-createVaultFromRootKey.test.ts8.2 KB · 3 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.consolidate-passkeys.test.tsT-023: vault.consolidatePasskeyEntries — passkey merge with lastUsed ranking8.0 KB · 4 months agovault.corruption.test.tsT-018: Vault corruption vs wrong-password discrimination (M7/COR-007)9.6 KB · 4 months agovault.duress-adoption.test.ts4.3 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 · 4 months agovault.purge-trash.test.tsT-024: vault.purgeExpiredTrash — retention cutoff boundary9.7 KB · 4 months agovault.rotate-sync-identity.test.tsT-016: rotateSyncIdentity — new root key, cleared peers, recovery pending8.9 KB · 3 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.5.9 KB · 3 months agovault.test.ts53.3 KB · 3 months agovault.tsvault.ts — sole owner of vault state and chrome.storage vault keys.113.5 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.1 KB · 4 months ago
content/464.7 KB · 4 months ago
passkey-toast/19.6 KB · 5 months ago
_setup.tsShared test harness for the AUTOFILL-TESTS draft suite.9.2 KB · 4 months ago_smoke.test.ts@vitest-environment jsdom995 B · 4 months agocontent-ml-detector.ts6.1 KB · 6 months agocontent.adversarial.test.ts@vitest-environment jsdom21.5 KB · 4 months agocontent.detect.test.ts@vitest-environment jsdom17.8 KB · 4 months agocontent.dismissal.test.ts@vitest-environment jsdom12.2 KB · 4 months agocontent.field-icon.test.ts@vitest-environment jsdom5.7 KB · 4 months agocontent.field-interaction.test.ts@vitest-environment jsdom9.1 KB · 4 months agocontent.fill.test.ts@vitest-environment jsdom8.8 KB · 4 months agocontent.initial-scan.test.ts@vitest-environment jsdom5.8 KB · 4 months agocontent.interaction.test.ts@vitest-environment jsdom5.3 KB · 4 months agocontent.message-routing.test.ts@vitest-environment jsdom7.9 KB · 4 months agocontent.orchestration.test.tsT-011 through T-014: index.ts autofill orchestration8.5 KB · 4 months agocontent.policy.test.ts@vitest-environment jsdom5.3 KB · 4 months agocontent.save.test.ts@vitest-environment jsdom6.4 KB · 4 months agocontent.selector-ui.test.ts@vitest-environment jsdom5.3 KB · 4 months agocontent.totp-toast.addendum.test.ts@vitest-environment jsdom2.3 KB · 4 months agodetect.test.ts@vitest-environment jsdom6.7 KB · 4 months agodetect.ts16.3 KB · 4 months agofill.test.ts@vitest-environment jsdom5.2 KB · 6 months agofill.ts4.7 KB · 4 months agoidentity-helper.test.ts2.0 KB · 4 months agoidentity-helper.ts1.7 KB · 4 months agoindex.ts48.6 KB · 4 months agoinject.keyguard.test.ts@vitest-environment jsdom2.5 KB · 4 months agoinject.tsinject.ts — autofill icon + selector overlay, injected into pages.180.3 KB · 4 months agointeraction.test.ts@vitest-environment jsdom2.0 KB · 4 months agointeraction.ts1.8 KB · 4 months agopasskeys-firefox-relay.test.ts@vitest-environment jsdom2.5 KB · 5 months agopasskeys-firefox-relay.tspasskeys-firefox-relay.ts — extension-world relay for the MAIN-world passkey proxy (passkeys-firefox.ts).2.5 KB · 5 months agopasskeys-firefox.tspasskeys-firefox.ts — MAIN-world WebAuthn interception for Firefox.12.2 KB · 6 months agopolicy.test.ts@vitest-environment jsdom3.6 KB · 6 months agopolicy.tspolicy.ts — page-scraping helpers for password requirements.5.7 KB · 5 months agosave.ts8.7 KB · 4 months ago
crypto/102.5 KB · 3 months ago
drafts/245.5 KB · 3 months ago
AUTOFILL-TESTS/8.1 KB · 4 months ago
PCH-02-FIXES/Drafts for all 10 findings of peach-code-review.md (Fable 5, 2026-06-12): 1 Low (PCH-02-001), 9 Informational.60.8 KB · 3 months ago
clipboard.hash-match.test.tsPCH-02-010 regression tests (Option B only) — the auto-clear must compare the live clipboard hash (computed inside the offscreen document) against the parked SHA-256 before wiping, and must stay conservative when the comparison is unavailable.5.5 KB · 4 months agoINTEGRATION-CONTRACT.mdSource of truth for integrating these drafts.4.6 KB · 3 months agoPCH-02-001-vault-patch-sanitizers.patch.mdSeverity: Low (the only non-Informational finding in PCH-02) Target file: src/background/vault.ts — sanitizeEntryPatch, lines 2375–2388 Report: peach-code-review.md, Finding PCH-02-0015.6 KB · 4 months agoPCH-02-003-sas-trust-model-comment.patch.mdSeverity: Informational Target file: src/shared/chirp-handshake.ts:125-154 (the SECURITY block) Report: peach-code-review.md, Finding PCH-02-0033.4 KB · 3 months agoPCH-02-004-exact-pin-deps.patch.mdSeverity: Informational Target files: package.json:40-46, bun.lock (regenerated), new WASM-PROVENANCE.md (see deviation note) Report: peach-code-review.md, Finding PCH-02-0043.3 KB · 4 months agoPCH-02-005-legacy-pbkdf2-doc.patch.mdSeverity: Informational Target files: src/shared/backup.ts:146 (derivePeachExportKey), src/popup/views/Import.tsx (re-export notice) Report: peach-code-review.md, Finding PCH-02-0054.3 KB · 4 months agoPCH-02-007-hibp-add-padding.patch.mdSeverity: Informational Target file: src/background/vault.ts:230 (checkBreach) Report: peach-code-review.md, Finding PCH-02-0071.7 KB · 4 months agoPCH-02-008-binaryreader-bounds.patch.mdSeverity: Informational Target file: src/crypto/peachPayload.ts:940-969 (BinaryReader) Report: peach-code-review.md, Finding PCH-02-0084.6 KB · 4 months agoPCH-02-010-clipboard-hash-match.patch.mdSeverity: Informational Target files: src/background/clipboard.ts:124-178 (clearClipboardNow), src/background/offscreen.ts, manifest.json (⚠ permission), comment in clipboard.ts:18-19 Report: peach-code-review.md, Finding PCH-02-01010.4 KB · 4 months agopeachPayload.binaryreader-bounds.test.tsPCH-02-008 regression tests — BinaryReader must bound every read and fail with the decoder's existing PAYLOAD_TOO_SHORT code on truncated input.2.8 KB · 4 months agoREADME.mdDrafts for all 10 findings of peach-code-review.md (Fable 5, 2026-06-12): 1 Low (PCH-02-001), 9 Informational.1.8 KB · 3 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.6 KB · 4 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.4 KB · 4 months agoWASM-PROVENANCE.mdPeach's vault security rests on a small set of third-party packages that either ship WebAssembly blobs or sit directly on a security path.2.7 KB · 3 months ago
TEST-EXPANSION/176.6 KB · 3 months ago
argon2id.kat.test.tsT-019: Argon2id known-answer test (KAT) + parameter assertion6.8 KB · 4 months agobackup.nfc-fallback.test.tsT-006: backup/import NFC raw-fallback decrypt (LV-1 / PCH-01-001 sibling)6.0 KB · 4 months agoclipboard.double-failure.test.tsT-037: clipboard double-failure / alreadyWritten path7.1 KB · 4 months agocodex.multistripe.test.tsT-017: Codex multi-stripe round-trip8.1 KB · 4 months agocontent.orchestration.test.tsT-011 through T-014: index.ts autofill orchestration8.5 KB · 4 months agogenerate.empty-pool.test.tsT-025: generate.ts empty-pool guard, 128-char boundary, minLength > maxLength5.7 KB · 4 months agoimport.csv.formulainjection.test.tsT-021: CSV formula-injection on import (round-trip)5.8 KB · 4 months agoINTEGRATION-CONTRACT.mdGenerated by session: test coverage expansion Agent: claude-sonnet-4-6 Priority 1: T-001–T-010 (10 files), Priority 2: T-011–T-024 (11 files, T-011–T-014 in one file), Priority 3: T-025, T-030, T-037 (3 files)7.3 KB · 3 months agolicense.verification.test.tsT-009: License Ed25519 signature verification9.9 KB · 4 months agomessages.batch-sanitize.test.tsT-008: PCH-01-016 batch-add canary/tag sanitization7.1 KB · 4 months agomessages.edit-origin.test.tsT-022: GET_ENTRY_FOR_EDIT via sender.url + locked-vault AUTOFILL_QUERY8.8 KB · 4 months agoml.predictbatch.test.tsT-030: ml.ts predictBatch — batch sizes, softmax stability with extreme weights7.7 KB · 4 months agopasskey.ed25519.test.tsT-015: Ed25519 passkey round-trip9.4 KB · 4 months agopdf-import.sandbox.test.tsT-007: MV-9 pdf.js sandbox flags regression test4.6 KB · 4 months agopeachPayload.bomb.test.tsT-005: peachPayload declared-length decompression bomb (MV-4)10.2 KB · 4 months agorecovery-words.checksum.test.tsT-002: BIP39 checksum rejection4.6 KB · 4 months agorecovery-words.integrity.test.tsT-001: BIP39 word-list integrity2.6 KB · 4 months agorecovery-words.kek.test.tsT-003: 128-bit prefix-KEK invariant (PCH-01-005 sibling)6.7 KB · 4 months agosync.disconnect.test.tsT-020: WebSocket sync-disconnect handling (PCH-01-026 #9)8.7 KB · 3 months agototp.rfc6238.test.tsT-004: TOTP RFC 6238 known-answer vectors6.1 KB · 4 months agovault.consolidate-passkeys.test.tsT-023: vault.consolidatePasskeyEntries — passkey merge with lastUsed ranking8.0 KB · 4 months agovault.corruption.test.tsT-018: Vault corruption vs wrong-password discrimination (M7/COR-007)8.2 KB · 4 months agovault.purge-trash.test.tsT-024: vault.purgeExpiredTrash — retention cutoff boundary9.7 KB · 4 months agovault.rotate-sync-identity.test.tsT-016: rotateSyncIdentity — new root key, cleared peers, recovery pending9.0 KB · 3 months ago
mobile/28.1 KB · 3 months ago
popup/1.2 MB · 2 months ago
codex/223.6 KB · 3 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.multistripe.test.tsT-017: Codex multi-stripe round-trip8.9 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 · 3 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.sandbox.test.tsT-007: MV-9 pdf.js sandbox flags regression test4.6 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/84.9 KB · 3 months ago
styles/288.6 KB · 3 months ago
views/575.1 KB · 2 months ago
Add.tsx32.5 KB · 3 months agoAdoptVaultView.test.tsx@vitest-environment jsdom9.0 KB · 3 months agoAdoptVaultView.tsx12.4 KB · 3 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 jsdom6.6 KB · 4 months agoCodexRestoreView.tsxPeach Codex — restoration view.23.9 KB · 4 months agocontracts.test.tsx@vitest-environment jsdom45.3 KB · 3 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/>).20.3 KB · 3 months agoHealth.test.tsx@vitest-environment jsdom2.5 KB · 5 months agoHealth.tsx21.2 KB · 3 months agoImport.tsxSignal-conditioned views in this file must use <Show>, never a signal-conditioned early return — see Projects.md §4.1.34.6 KB · 4 months agoInitialSyncView.test.tsx@vitest-environment jsdom1.3 KB · 3 months agoInitialSyncView.tsx1.7 KB · 3 months agoLock.tsx39.3 KB · 3 months agoNoteEditor.toHtml.test.ts@vitest-environment jsdom3.6 KB · 5 months agoNoteEditor.tsx7.6 KB · 5 months agoNotesEditor.tsx8.3 KB · 5 months agoNotesMode.tsx2.9 KB · 5 months agoNotesTOC.tsx4.6 KB · 3 months agoOnboarding.tsx5.9 KB · 3 months agoPairDevice.test.tsx@vitest-environment jsdom7.7 KB · 3 months agoPairDevice.tsxPairDevice — the pairing surface, opened from the Settings → Sync card.11.0 KB · 2 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.tsx11.4 KB · 4 months agoSettings.tsx94.4 KB · 3 months agoTrashView.tsx5.7 KB · 6 months agovault-search.test.ts3.3 KB · 4 months agovault-search.ts4.8 KB · 4 months agoVault.tsx27.2 KB · 3 months agoview-test-utils.tsx1.1 KB · 4 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.tsx82.4 KB · 3 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 agoimport.csv.formulainjection.test.tsT-021: CSV formula-injection on import (round-trip)6.1 KB · 4 months agoindex.html1.1 KB · 5 months agoindex.tsx610 B · 5 months agopairing-qr-scanner.ts620 B · 3 months ago
shared/898.5 KB · 2 months ago
noise-core-wasm/455.0 KB · 3 months ago
backup.nfc-fallback.test.tsT-006: backup/import NFC raw-fallback decrypt (LV-1 / PCH-01-001 sibling)6.2 KB · 4 months agobackup.test.ts3.1 KB · 4 months agobackup.ts9.2 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 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 · 3 months agoconstant-time.test.ts1.9 KB · 3 months agoconstant-time.tsCompare fixed-format cryptographic values without data-dependent early exit.823 B · 3 months agodebug.tsCompile-time debug flag.387 B · 2 months agodevice-manifest.test.ts6.0 KB · 3 months agodevice-manifest.tsDevice manifest — v2 brief §4.3.9.8 KB · 3 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.empty-pool.test.tsT-025: generate.ts empty-pool guard, 128-char boundary, minLength > maxLength5.6 KB · 4 months agogenerate.test.ts2.6 KB · 5 months agogenerate.ts2.6 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 agoinitial-sync.test.ts911 B · 3 months agoinitial-sync.ts667 B · 3 months agomesh-peer-role.ts1.7 KB · 3 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.ts3.6 KB · 3 months agonoise-core.ts4.8 KB · 3 months agonoise-js.test.tsNoise NK auth proof regression test.9.7 KB · 4 months agonoise-js.tsNoise NK initiator for Android / Capacitor.11.5 KB · 3 months agonoise-kk.test.ts5.2 KB · 3 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.4 KB · 3 months agopairing-dial.tsThe dialling half of code pairing — shared by device pairing and vault adoption.9.5 KB · 3 months agopairing-handshake.test.ts7.7 KB · 3 months agopairing-handshake.tsPairing handshake — Noise NK, the SAS, and the PAIR_IDENTITY frame.14.1 KB · 3 months agopairing-handshake.vault-id.test.tsChange 1 — vault_id in the PAIR_IDENTITY frame.4.3 KB · 3 months agopairing-invitation.test.ts3.7 KB · 3 months agopairing-invitation.ts3.3 KB · 3 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.checksum.test.tsT-002: BIP39 checksum rejection4.6 KB · 4 months agorecovery-words.cross-platform.test.ts2.4 KB · 3 months agorecovery-words.integrity.test.tsT-001: BIP39 word-list integrity2.6 KB · 4 months agorecovery-words.kek.test.tsT-003: 128-bit prefix-KEK invariant (PCH-01-005 sibling)6.7 KB · 4 months agorecovery-words.tsrecovery-words.ts — BIP39-compatible recovery word encoding for Peach vault recovery.6.3 KB · 4 months agorendezvous.test.ts3.1 KB · 3 months agorendezvous.ts5.9 KB · 3 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.ts3.0 KB · 3 months agosync-identity.tsSync identity — long-term X25519 keypair tied to the vault, not the device installation.7.4 KB · 3 months agosync-kk-transport.test.ts14.8 KB · 3 months agosync-limits.tsSync trust + resource bounds — audit fixes HV-1 (timestamp clamp) and MV-3 (receive-path size bounds).3.4 KB · 3 months agosync-outcome.test.ts5.5 KB · 3 months agosync-outcome.tsWhy a sync run ended, in a form both the service worker and the popup can name.5.8 KB · 3 months agosync-padding.test.ts4.9 KB · 3 months agosync-padding.tsE7: frame padding at the relay boundary.4.6 KB · 3 months agosync-transport.test.tsSubnet-probe rate-limit tests.3.3 KB · 3 months agosync-transport.tsWebSocket reconnect transport — Noise KK with both paired static keys.24.5 KB · 3 months agosync-types.tsVault sync — type definitions.9.1 KB · 3 months agosync.disconnect.test.tsT-020: WebSocket sync-disconnect handling (PCH-01-026 #9)10.8 KB · 3 months agotypes.tstypes.ts — cross-boundary types and the MessageType union.18.6 KB · 3 months agovault-adopt-snapshot.test.ts8.2 KB · 2 months agovault-adopt.test.ts33.8 KB · 2 months agovault-adopt.ts22.5 KB · 2 months ago
tests/414.1 KB · 3 months ago
.amoignore1.2 KB · 5 months ago.gitignore239 B · 3 months ago.nvmrc8 B · 5 months agoAUDIT_4.4.6.mdVersion: 4.4.6 Audit date: 2026-07-30 Scope: Full source audit (read-only), delta from v4.0.0 Auditor: Codex agent (GPT-5.6) Prior audit: v4.0.010.8 KB · 2 months agobiome.json351 B · 2 months agobun.lock134.2 KB · 2 months agokepr.build102 B · 2 months agoLICENSE34.3 KB · 4 months agomanifest.firefox.json2.1 KB · 2 months agomanifest.json1.6 KB · 2 months agopackage.json3.1 KB · 2 months agoplaywright.config.ts808 B · 6 months agoREADME.mdA free, open source, local-first password manager.2.3 KB · 4 months agotsconfig.background.json490 B · 5 months agotsconfig.json550 B · 4 months agotsconfig.tests.json122 B · 6 months agovite.config.mobile.ts1.6 KB · 3 months agovite.config.ts3.1 KB · 2 months agovitest.config.ts591 B · 4 months ago
34ea8d9a31d0fix: harden storage access and cover message sender matrix (v5.0.20)1 month ago8da868d4f0e1fix: fail closed message authorization and recovery state (v5.0.19)1 month ago271b44b1633fdocs: record the 56-byte MAXDHLEN guard fix and the Android-found inertness bug in CONTINUITY (save 9346444bdaff, v5.0.17)1 month ago9346444bdafffix: small-order DH guard compares the leading 32 bytes of snow's 56-byte MAXDHLEN buffer — the strict try_from never fired on real handshakes (found by the Android parity test); regression test now drives all nine blocklist entries through the KK handshake plus a padded-buffer case, WASM rebuilt; bump 5.0.16→5.0.171 month ago282a941beb44docs: record the JS-side small-order mirror as resolved in CONTINUITY — DISCOVERIES follow-up closed, PROGRESS/OUTCOMES updated for save bc75d413d54d at v5.0.16 with green gates1 month agobc75d413d54dadd JS-side small-order X25519 blocklist mirroring the Rust crypto core (PB-26-014 follow-up) — isSmallOrderPubkey over the nine libhydrogen u-coordinates guards the KK/NK initiator remote static and both auth-proof DH boundaries in noise-js.ts before the DH runs, TDD regression tests cover all nine entries plus a real key, PCH-02-009 zero-point test updated for the earlier small-order rejection path; gates green (tsc, biome, vitest src/shared + src/background 2763 tests); bump 5.0.15→5.0.161 month ago65cde98607e5docs: record the PB-26 audit-fix campaign in CONTINUITY — all 15 findings and the hygiene register resolved at v5.0.15, full CI green including the new WASM provenance gate, Android small-order-blocklist parity and JS-side mirror recorded as follow-ups1 month ago518931773452fix: recovery words hide on window blur in both the recovery display and Codex generation views — words are cleared on visibilitychange-hidden (Codex requires the password step again) so an OS screenshot of a backgrounded popup never captures them; bump 5.0.14→5.0.151 month ago7c55294ece28chore: hygiene register — remove the dead form_detector.onnx binary (no consumer), map raw error echoes to fixed strings in Add/Lock/Import (PB-26-012 family), fix the stale kepr.build output path to the real build output; bump 5.0.13→5.0.141 month ago4ad8a009eebafix: reject small-order X25519 public keys in the Noise core DH (PB-26-014) — contributory-behaviour blocklist of the nine order-1/2/4/8 u-coordinates checked before every DH, Rust regression test fails a KK handshake against a small-order remote static, WASM rebuilt and committed (deny-only validation change: no wire format change, honest peers unaffected, no protocol version bump; Android parity recorded in CONTINUITY); bump 5.0.12→5.0.131 month ago893247f6b982fix: retire stale release credential paths (PB-26-013) — submit:firefox npm script removed (web-ext secrets were on the command line; release-firefox.ts already passes them via child env), setup-chrome-release.sh trashed (it persisted CWS secrets in plaintext to the shell profile), release.ts env-contract comments updated; bump 5.0.11→5.0.121 month ago3fedcd356231docs: correct the StoredVault.version comment — the field is not AAD (PB-26-012); the AES-GCM AAD is the constant slot aadTag, so no false downgrade-protection claim; bump 5.0.10→5.0.111 month ago7b5651a88e18fix: bound PeachScript decode at MAX_JSON_BYTES and enforce an http(s) URL scheme allow-list at the vault storage boundary (PB-26-011, PB-26-010) — javascript:/data: URLs dropped on add, restore, and patch; .peach file picks size-bounded before read; TDD regression tests; bump 5.0.9→5.0.101 month ago5cd09213d011fix: standalone notes editor pastes as plain text through the shared handleRichTextPaste guard (PB-26-009) — pasted rich HTML can no longer enter the extension-origin DOM live; guard extracted from the inline editor so both editors share one paste handler; bump 5.0.8→5.0.91 month ago2ee6e8b00769fix: card autofill applies the visibility gate and form-action check requires https on-domain-or-subdomain (PB-26-007, PB-26-008) — hidden card fields no longer filled, crafted forms on sibling registrable domains or plain http refused; TDD regression tests; bump 5.0.7→5.0.81 month agoa838d84d8945fix: fill/edit origin attestation uses the browser-attested frame url with tab url as fallback (PB-26-005) — all_frames content scripts validate against their own frame origin, not the top page; tests pin frame-url precedence in both directions; bump 5.0.6→5.0.71 month agoc9312ae6559efix: passkey allowCredentials match re-verifies the requesting rpId (PB-26-015) — a foreign-RP request listing a known credential id now passes through instead of selecting the credential, regression test; bump 5.0.5→5.0.61 month ago9b95e9847dfffix: mesh routing fails closed on absent or unknown trustSource (PB-26-006) — isRouteCapableMeshPeer no longer treats undefined as direct/vouched, regression tests cover missing and mystery trust values; bump 5.0.4→5.0.51 month ago73dccaa00b21fix: include crypto-core in the AMO source archive (PB-26-004) — both release scripts ship Cargo sources and the noise-core build script so reviewers can rebuild the WASM, excluding target and generated build output; archive contents verified; bump 5.0.3→5.0.41 month ago06ca6237835cfix: add Noise WASM provenance gate to CI (PB-26-003) — scripts/check-noise-core.mjs rebuilds the blob from crypto-core and fails on drift from the committed artifacts, wired into scripts/ci.ts after Tests; gate verified green with deterministic rebuild matching committed SHA; bump 5.0.2→5.0.31 month ago5b7714bd29ddfix: enforce MAX_FRAME_BYTES during sync-frame chunk reassembly (PB-26-002) — receive fails with SyncFrameTooLargeError as soon as the buffered continuation stream exceeds the bound, regression test drives 400 continuation chunks; bump 5.0.1→5.0.21 month agoaa05b62ef5a3fix: gate GET_CODEX_VAULT_DATA behind privileged-page check and fresh master-password re-auth (PB-26-001) — recoveryWords only returned with verifyMainPassword proof, popup asks for password on the words step, ESTIMATE_CODEX_PAGES privileged for symmetry, regression tests; bump 5.0.0→5.0.11 month agof14867aea6fffinal repo cleanup pass1 month ago0f8f63facf30docs: record v5 compatibility cutoff1 month ago63f03f2256dfrefactor: drop pre-live compatibility formats (v5.0.0)1 month ago68b85733a708docs: Record dist cleanup and compatibility retention1 month agoeb3bc24fb4ccchore: Remove orphan configs and dist mirror (v4.10.43)1 month ago92e94fdc3572docs: Record completed tombstone-ledger verification (v4.10.42)1 month agoaa22a0e2d0d0fix: Retain purged vault tombstones during sync (v4.10.42)1 month ago9784408d482ddocs: Record tombstone resurrection edge case (v4.10.41)1 month ago1e29815e2b55docs: Replace phantom contract manifest with concrete wire rules (v4.10.41)1 month agoa9c23cb82decdocs: Close the repository cleanup briefing (v4.10.41)1 month ago9c471c1968d6chore: Remove residual diagnostics and compatibility debris (v4.10.41)1 month agoc327200c1db0docs: Reconcile adoption design with relay-only architecture (v4.10.40)1 month agoc465530a0e11fix: Preserve NoteRow mouse input on touch devices (v4.10.40)1 month agoaff447a19549docs: Compact continuity into a current briefing (v4.10.39)1 month ago1d32bcd94040test: Restore clean test signal (v4.10.39)1 month ago90d2d69e8d21test: Retire false-green browser suites (v4.10.38)1 month ago29e0ff7cbd5dchore: Repair package ownership and remove stale AMO tooling (v4.10.37)1 month ago06609f3696a8refactor: Remove unreachable popup states and styles (v4.10.36)1 month agof284ee4f084drefactor: Remove unused runtime seams (v4.10.35)1 month ago703d47477a7brefactor: Remove retired pairing and LAN remnants (v4.10.34)1 month ago59d6ee714036bump to 4.10.33 and rebuild chrome and firefox dist at the new version1 month agob7b2d01ab243purge unreachable CSS rules, keyframes, and tokens from popup stylesheets1 month ago09cfac12e2f2bump to 4.10.31 and rebuild chrome and firefox dist at the new version1 month ago78a43519bc73delete unreferenced modules, exports, and the dead relay dial path1 month ago8de15d6aae62strip Capacitor native branches from popup, background, and shared code1 month agoa2d17dc903acremove mobile webview build, drafts, deepsec, and agent scratch dirs from the repo1 month ago55554d95b4beadd biome lint step to ci.ts (audit #12)2 months ago4b29cedfa68eneutralize leading ; in csvSafe (regional formula separator) (audit #11)2 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]