{"id":51462588,"url":"https://github.com/codenlighten/satofinder","last_synced_at":"2026-07-06T07:01:16.980Z","repository":{"id":361609405,"uuid":"742845729","full_name":"codenlighten/satofinder","owner":"codenlighten","description":null,"archived":false,"fork":false,"pushed_at":"2026-05-31T12:25:23.000Z","size":1802,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-05-31T14:14:41.554Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/codenlighten.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":"security-headers.conf","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":"2024-01-13T14:46:02.000Z","updated_at":"2026-05-31T12:25:27.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/codenlighten/satofinder","commit_stats":null,"previous_names":["codenlighten/satofinder"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/codenlighten/satofinder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codenlighten%2Fsatofinder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codenlighten%2Fsatofinder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codenlighten%2Fsatofinder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codenlighten%2Fsatofinder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codenlighten","download_url":"https://codeload.github.com/codenlighten/satofinder/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codenlighten%2Fsatofinder/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35180933,"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-06T02:00:07.184Z","response_time":106,"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":[],"created_at":"2026-07-06T07:01:16.019Z","updated_at":"2026-07-06T07:01:16.955Z","avatar_url":"https://github.com/codenlighten.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SatoFinder v2\n\nBy **[SmartLedger Technology](https://smartledger.technology)**.\n\nSingle-file, fully client-side BSV wallet with encrypted local storage, BIP32/BIP44 derivation, send, and coin recovery sweep.\n\nEverything is in [`index.html`](index.html). Read every line.\n\n## Quick start\n\n```sh\n# Serve locally (any static server)\npython3 -m http.server 8000\n# Open http://localhost:8000\n\n# Or deploy: drop index.html + manifest.json + service-worker.js + logo2.png on any static host.\n```\n\n## Security model\n\n- **Mnemonic encryption**: PBKDF2-SHA256 (310,000 iter) → AES-GCM, in `localStorage`. No plaintext seed leaves your browser.\n- **Subresource Integrity (SRI)**: the four `@smartledger/bsv@3.4.3` CDN bundles are pinned by SHA-384. A compromised CDN can't ship modified JS.\n- **Content-Security-Policy**: inline script is pinned by SHA-256. Outbound network limited to `api.whatsonchain.com` and `api.bitails.io`. No eval, no inline event handlers.\n- **DOM safety**: zero `innerHTML` of API data. All third-party text rendered via `textContent`. Link `href`s validated against an allow-list.\n- **Auto-lock**: clears in-memory wallet after 10 min idle, or when tab is hidden.\n- **Hide-keys default**: WIF and mnemonic are not rendered into the DOM until you click \"Show\".\n- **No password recovery**: forgot password = wipe vault + re-import mnemonic. The encrypted blob is the only source of truth.\n\n## Important headers (deploy-time)\n\nThe meta-tag CSP ships with the file, but `frame-ancestors` only works as a real HTTP header. Add to your deploy:\n\n```\n# Netlify _headers, nginx add_header, Caddy header, etc.\nX-Frame-Options: DENY\nContent-Security-Policy: frame-ancestors 'none'\nReferrer-Policy: no-referrer\nPermissions-Policy: clipboard-write=(self)\n```\n\n## Files\n\n| file | purpose |\n|---|---|\n| `index.html` | the entire wallet — HTML + CSS + JS in one file (~1,500 lines) |\n| `service-worker.js` | cache-first SW; pre-caches index + pinned CDN bundles for offline use |\n| `manifest.json` | PWA manifest |\n| `help.html` | user-facing docs |\n| `build.sh` | recomputes the inline-script CSP hash after every edit; verifies SRI drift |\n| `spike.html` | Phase 0 SDK + crypto smoke tests (open in a browser) |\n| `logo2.png` | PWA icon + favicon |\n\n## After editing `index.html`\n\n```sh\n./build.sh            # patches CSP hash; checks live CDN SRI drift\n./build.sh --no-network   # skip the network check\n```\n\nThe browser will refuse the inline script if you change it without re-running `build.sh`.\n\n## Disclaimer\n\nFree, as-is, no warranty. Test with small amounts first. The author is not responsible for loss of funds.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodenlighten%2Fsatofinder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodenlighten%2Fsatofinder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodenlighten%2Fsatofinder/lists"}