{"id":51418126,"url":"https://github.com/nikolap994/foilvault","last_synced_at":"2026-07-04T22:01:38.630Z","repository":{"id":367827111,"uuid":"1282180390","full_name":"nikolap994/foilvault","owner":"nikolap994","description":"Zero-knowledge browser password manager. Checks domain risk via FoilGuard before every autofill — the only password manager that blocks credentials on suspicious domains.","archived":false,"fork":false,"pushed_at":"2026-06-27T20:21:33.000Z","size":32,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-06-27T22:11:37.418Z","etag":null,"topics":["aes-gcm","browser-extension","password-manager","security","typescript","zero-knowledge"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nikolap994.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-27T12:32:36.000Z","updated_at":"2026-06-27T20:21:36.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/nikolap994/foilvault","commit_stats":null,"previous_names":["nikolap994/foilvault"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/nikolap994/foilvault","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikolap994%2Ffoilvault","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikolap994%2Ffoilvault/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikolap994%2Ffoilvault/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikolap994%2Ffoilvault/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nikolap994","download_url":"https://codeload.github.com/nikolap994/foilvault/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikolap994%2Ffoilvault/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35136712,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-04T02:00:05.987Z","response_time":113,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aes-gcm","browser-extension","password-manager","security","typescript","zero-knowledge"],"created_at":"2026-07-04T22:01:37.978Z","updated_at":"2026-07-04T22:01:38.619Z","avatar_url":"https://github.com/nikolap994.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# FoilVault\n\nPrivacy-first browser password manager with built-in phishing autofill protection via FoilGuard integration.\n\n\u003e Part of the [Foil](../) security suite.\n\n---\n\n## Goals\n\n1. **Provide a local, zero-knowledge password manager** with no mandatory cloud account\n2. **Unique differentiator** — checks FoilGuard's risk score before every autofill and blocks credentials on suspicious domains\n3. **Monetize the Foil brand** through a sync tier (cloud or self-hosted), once users build trust through FoilGuard and FoilLab\n4. **Open an enterprise tier** — shared vault, SSO, admin console for teams\n\n---\n\n## Target audience\n\n| Segment | Description |\n|---------|-------------|\n| **Primary** | Technical users who want an open-source, local PM with no mandatory cloud account (moving away from Bitwarden, 1Password) |\n| **Secondary** | Existing FoilGuard users — a natural next step, already trust the brand |\n| **B2B (long-term)** | Small teams and startups who want a self-hosted shared vault without enterprise pricing |\n\n---\n\n## Tech stack\n\n| Layer | Technology | Why |\n|-------|------------|-----|\n| Extension | **TypeScript** + Manifest v3 | Consistent with FoilGuard, shared infrastructure |\n| Encryption | **Web Crypto API** (AES-GCM-256) | Native to the browser, no external crypto libraries |\n| KDF | **Argon2id** (via WASM) | State-of-the-art, resistant to GPU and ASIC attacks |\n| Local storage | **IndexedDB** (encrypted) | Persistent, never leaves the device |\n| Sync backend | **Node.js** + PostgreSQL | Server receives only encrypted blobs, never plaintext |\n| Auth (sync) | **WebAuthn** + JWT | Passwordless login for the sync service |\n| CI/CD | **GitHub Actions** | npm audit, SAST scan, build, package |\n\n---\n\n## Security model\n\n```\nMaster Password  (never leaves the device)\n       ↓  Argon2id  (m=64MB, t=3, p=4 — OWASP recommended parameters)\nEncryption Key  (256-bit)\n       ↓  AES-GCM-256  (unique nonce per encrypted record)\nEncrypted vault\n       ├──► IndexedDB  (local, offline-first)\n       └──► Sync server  (encrypted blobs only — server is blind to content)\n```\n\n- Server **never** sees the master password, the key, or plaintext credentials\n- **Zero-knowledge sync**: the encrypted blob is uploaded opaque — server has no knowledge of its structure\n- **Nonce reuse prevention**: every record gets a cryptographically random nonce (CSPRNG)\n- **Integrity check**: AEAD (Authenticated Encryption with Associated Data) — detects any vault tampering\n- **Memory zeroing**: sensitive variables (master password, key) are cleared from memory immediately after use\n- **Auto-lock**: vault locks after X minutes of inactivity, key is erased from memory\n\n---\n\n## Key integration — FoilGuard\n\nBefore autofill:\n1. FoilVault sends the domain to the FoilGuard risk API (local call, not an external server)\n2. If `risk_score \u003e 60` → autofill is blocked, a warning is shown with an explanation\n3. The user can explicitly override the warning (conscious decision, logged locally)\n\nThis is a feature no mainstream password manager offers.\n\n---\n\n## Integration with other Foil projects\n\n- **FoilGuard** is a dependency — the risk API must be installed for phishing autofill protection\n- **FoilLab** community = beta testers for vault and sync implementation (technical audience)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikolap994%2Ffoilvault","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnikolap994%2Ffoilvault","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikolap994%2Ffoilvault/lists"}