brnr-e2ee has not had an independent security audit. The protocol (SPEC.md) and the code have been reviewed only by the author, with help from automated adversarial reviews. An independent audit is listed as deferred in SPEC §2, and there's no date for one yet. Until there is, treat the library accordingly.
| Version | Supported |
|---|---|
| 1.x | Yes |
| < 1.0 | No |
Only the latest release gets fixes. A fix ships as a new patch release, published from CI with npm provenance.
Please use GitHub's private reporting: open a draft security advisory. If you can't use GitHub, email ashwinsathyan19@gmail.com with the subject brnr-e2ee security.
Don't open a public issue or pull request, and don't post details anywhere public, until a fix is out.
It helps to include:
npm ls brnr-e2ee);You'll get an acknowledgement within 72 hours. I'll keep you posted while I work on a fix, agree the disclosure date with you, and credit you in the advisory unless you'd rather not be named. Advisories are published on GitHub, with a CVE where one applies.
THREATMODEL.md says who the library defends against. A vulnerability is anything that lets one of those adversaries do something the threat model says they can't, for example:
The library's code, SPEC.md, the test vectors and the release workflow are in scope.
Not in scope here:
KeyStore implementations), server or UI, or an app that skips one of the consumer responsibilities in SPEC §19; report those to the app;@noble/* or zod themselves; report those upstream, though I'd like to hear about them too.