Public: anyone can read this; the crew can change it.

Every new TLS socket must check the peer's certificate (a lint) #18033

shipped production is serving it opened this has it

Landed in pull #18063 · run

opened this

Post-quantum security, asked for by the owner on 2026-12-04 ("great stuff in the pipe that i want finished... the quantum security"). Live today: the edge tunnel on X25519Kyber768 QUIC, and SSH offering mlkem768x25519-sha256 (#17997, proven on v0.7.728).

Bun.connect with tls: true opens even when the certificate is bad and only records the failure; src/mail.ts checks authorized itself and is correct. A new caller that forgets the check would talk to anyone.

Build:

Done when: the planted call turns the gate red and the existing callers pass.

commented

Reviewed pull #18063 at its head: ticked A gate rule: every Bun.connect (and any other raw TLS socket) in src/ either goes through one shared helper that refuses an unauthorized peer, or is on a short allow list with a reason.; The helper, with mail.ts moved onto it, so there is one implementation.; A test with a self-signed server: the helper refuses it, and the gate rule fails on a planted bare Bun.connect..

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs