Skip to main content
Threat Model & Verification

Security, threat model, and bundle integrity

Inspect FileFerry’s threat model, AES-256-GCM + HKDF-SHA-256 Container v1 cipher suite, verifiable /crypto-files.json asset hashes, and vulnerability disclosure policy.

Threat model

FileFerry is designed under the assumption that the server, object storage bucket, reverse proxy, and network path between sender and recipient may be observed or compromised. Plaintext file contents, filenames, MIME types, folder trees, and sender notes never leave the browser. There is zero plaintext fallback — if WebCrypto is unavailable, encryption refuses to run.

  • Strict Content-Security-Policy script-src 'self' with hash-mode bootstrap, zero 'wasm-unsafe-eval', zero inline styles, and Permissions-Policy: camera=(), microphone=(), geolocation=().
  • Path & preview isolation Every decrypted path is sanitized against ../ zip-slip, control characters, and RTL overrides. Safe previews are strictly opt-in and never execute untrusted HTML or scripts.

FileFerry Container v1 cipher suite

Authenticated encryption
AES-256-GCM (12-byte nonce, 16-byte tag)
Key derivation
HKDF-SHA-256 from 256-bit #k= secret
STREAM chunk geometry
5 MiB (5,242,880 B) plaintext chunks
Optional passphrase mixing
PBKDF2-SHA-256 · 600,000 iterations (Web Worker)
Out-of-band fingerprint
4 words · BIP-39 English (2048 words)
Online brute-force lockout
Max 10 failed K_auth proofs → immediate burn

Verifiable web bundle (/crypto-files.json)

Open raw JSON

Every production build publishes /crypto-files.json with Cache-Control: no-store, listing the SHA-256 digest and exact byte length of every JavaScript module, stylesheet, Web Worker, and Service Worker served by this server. You can reproduce the build from the open-source Git commit reported by /healthz and compare every hash independently.

curl -sS https://fileferry.app/crypto-files.json
curl -sS https://fileferry.app/service-worker.js | sha256sum
Asset pathSizeSHA-256
/_app/immutable/assets/0.Bjf5fy5C.css28.1 KB1d9b9f8ca6b3077164b515ab9f74756d558e3f1b96efe75ea1a76b1c231a62b0
/_app/immutable/chunks/B_NbMoAd.js22 B11e0f3f2e1db5e5987f7eaec7e16eff533663161275cd3b5d185415a253c58b5
/_app/immutable/chunks/BB5P3L-k.js7.73 KB77d9dcc10f18f5371195e90de936e240bd99cd7de1ccbb14c96c14233a17281a
/_app/immutable/chunks/Bekovafe.js10.9 KB41da8822724322669fbcb19824d4bfb10a22214a2ee3a6dae120a1182d0f2679
/_app/immutable/chunks/Beqi9dRN.js1.29 KB4136f1ac068957a149b0e3a63b47add9afaefef81a3bf0c61f6a30d79ecfffc0
/_app/immutable/chunks/Bj-3pdDR.js3.40 KB19bce9c53bf4338a5062cd3513fd40d749ac69b1c6d6863faa28f93cd43d524f
/_app/immutable/chunks/CcpS7TFG.js37.1 KBd4e477cc07e6f347c38ce0e9436fbe30fda2406c5c95de614f74fba36eb12ff6
/_app/immutable/chunks/CMLJYHjj.js22 B0334357b0f2c009456a02e6bf687df1770816ddef18b59bb10554f934d8a31b1
/_app/immutable/chunks/CTOWsqI3.js406 B358a343702b19e8062d75806bd07b35aa24a297d387fdcd697966d85f127b175
/_app/immutable/chunks/CVkjrW6G.js4.40 KB377379f942e4c2bf1964bfd39b42ad1f05ca30706abac326e5984a82f0ba40f3
/_app/immutable/chunks/CZRfFW3X.js1.07 KB8e965c94849f3e140bb3b8eac4398b61800e84a631abdc51f84be47e3a988cd3
/_app/immutable/chunks/DclECHGd.js1.59 KB8674df70cbffd5753771a8dd5b08ac3b6ec29c1170468e46848760a0ffeea550
/_app/immutable/chunks/DK3Fl9T5.js158 Ba526d1bb3288ef04d001028843220a24b0867a4edf8c685b69506d6525af36ff
/_app/immutable/chunks/Dq-qIzHt.js3.94 KB10f840f179c9daf31fd46245aea2f5b71ef62d15af007b0644021a118b74ec10
/_app/immutable/chunks/DRvxVPkm.js3.81 KB533fdf68771f0535d9b3cbd30b819a202d1cf7b421662f7aeddab03a7d3be5c7
/_app/immutable/chunks/DtRmXnE-.js50.0 KB2ac4ebaabf11a3533704b95939d49d4d21b42a1b52d31c892cac820d3a74e6ff
/_app/immutable/chunks/DWnAgUAR.js1.56 KB0ef505fc6f040c030bb3f5107645d2cf295f8d0ec7df08bb6cbc940d4bc86386
/_app/immutable/chunks/hWJyV7ZK.js4.16 KBb8f5b6af617c90f80b1b7e7f0f47dc62fad695667ad07ddd550f8fc95ac803e9
/_app/immutable/chunks/KBzupP6F.js41.0 KBba7f9445e653fa46dd6ea6e3a9bdac748cf679886523e435d4ebab88d8a6c9e7
/_app/immutable/entry/app.U4f2mrt7.js2.98 KB2bc71a4bba523024190d359fcd3824c623dfa1f3796babf890cce43a5781a5a1
/_app/immutable/entry/payload.DSmR2FwN.js65 Bb7cba7b44b2397c7d28f7db4a34ec734a985e64ff27d74ddf8d9645cf814f09f
/_app/immutable/entry/start.CWNwOYs9.js548 B6c31f836e47752555ebd99df963b3fc22faf07f5aa5a9f6f7ff32840d986309e
/_app/immutable/nodes/0.C1UmA2GC.js146 Bd4fb28427ea1fb447259d041efa2c31b60bb61d752b1db4c028d47577494f345
/_app/immutable/nodes/1.D00XdbHb.js352 B028493ce2dca8f608f191f4c6c833a31eba9d7bc51637cecce6f4e3e2a84ba2d
/_app/immutable/nodes/10.DKZmtA11.js4.34 KB9ed440a3322744a47955faaef21e61c9253d361def0e76335b38d0c6c38387d1
/_app/immutable/nodes/11.CthFbFqR.js7.91 KBdb6b5621596a7f1af76d6de04faf9718b8454b49b763a00deb1df5019a663d81
/_app/immutable/nodes/12.D1-Ynf6i.js2.74 KB2ddccc8dcbb1395e158db60dd0353ad0cd7a5e17f981ff324ce13137b2c3f2e3
/_app/immutable/nodes/13.CubPKpzU.js2.97 KB76a25137d7efb6319eca388fbf9ac4638c4c33918db0152ae0e52947b6054e16
/_app/immutable/nodes/2.DZ_BJ9no.js63.9 KBea68f7f5b5dacdf3f9851fab90e2b59a89ceec8734998bff0fe29cd782a619c4
/_app/immutable/nodes/3.Upp4iA8P.js35.4 KB089c719623e90c4e8f89fff9119b44c74c9cddeb702021e7a4c61db6fd7d3590
/_app/immutable/nodes/4.D-QDRezm.js43.8 KB763f64a22b47a4841816821a2f598945996f8977807d8efb64826fa7a691d7f8
/_app/immutable/nodes/5.Cqs4W5tj.js6.05 KB1c82bba4f9acc45c0267e4383210f987be1c57746bc322ce2572edf75a47ebd1
/_app/immutable/nodes/6.ipYyDQMc.js2.50 KBc9b4781a352c7f1bb79b540a03e532a80ced32d1ab84df38160dc508a48f40a2
/_app/immutable/nodes/7.D-8-kSox.js10.8 KB5584cc4cf8e1b8af4676d21cc4cf85040eafbc6cb48d32818f9ee5b30e69811f
/_app/immutable/nodes/8.CExIUJJV.js3.96 KBcc3490d09bcba7d94e203f43d196925c644925b7e7d65e3b103ee4af7f84a479
/_app/immutable/nodes/9.CHzD1XGR.js9.55 KBd9a83d3acd23a4cda24bc79b90b27a67301ff6b38747f98ee188bfcd8f50785a
/_app/immutable/workers/crypto.worker-CtPBHkkr.js26.9 KBf48c4f3c824149bada3136e12f629924a6c6226e214da666a9bbfbb5392ffc02
/service-worker.js5.98 KBabeda252aa2ef832956d1abc5ec0b24118b219793146e43b3f637525a61bb517

Reporting a security vulnerability

Please report cryptographic, zero-knowledge isolation, or server vulnerabilities privately via GitHub Private Vulnerability Reporting or email security@fileferry.app rather than opening a public issue.