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

One signed-in account cannot hold more than its share of event streams #14961

shipped production is serving it opened this has it

Landed in pull #14982 · run

opened this

Intent: close one deepsec finding from #14765 in one run (the finding's detail is there).

Done when

Files: src/http/strangers.ts, test/

Risks: Keep the cap a named constant beside the existing anonymous one.

Brief: a security builder (a Sonnet-sized change, one file area).

commented

Reviewed pull #14982 at its head: ticked the stream pool caps open streams per account and per address for signed-in callers, with a plain 429; a test opens streams as one account past the cap and is refused while another account still connects; it fails on today's main; bun test passes.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs