• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

moleculerjs / moleculer / 33265114506 / 1
94%
master: 94%

Build:
Build:
LAST BUILD BRANCH: fix/emit-options-object-only
DEFAULT BRANCH: master
Ran 29 Aug 2026 05:17PM UTC
Files 262
Run time 6s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

22 Jul 2026 11:17AM UTC coverage: 95.049% (+0.002%) from 95.047%
33265114506.1

push

github

icebob
fix(tcp): prevent DoS via negative length field in TCP parser

Parser._write read the packet length with a signed readInt32BE. A crafted
packet with the sign bit set produced a negative length; packet.slice(length)
then clamped to 0 and left the buffer unchanged, spinning the while loop
forever and blocking the event loop. Reachable unauthenticated on any node
using the TCP transporter.

Validate that length is at least HEADER_SIZE (6) before processing, rejecting
negative and undersized values with an error on the write callback. Also
covers small positive lengths (0-5) that would not shrink the buffer enough
to terminate the loop.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

5644 of 6221 branches covered (90.72%)

Branch coverage included in aggregate %.

14496 of 14968 relevant lines covered (96.85%)

258.72 hits per line

Source Files on job 33265114506.1
  • Tree
  • List 262
  • Changed 111
  • Source Changed 1
  • Coverage Changed 111
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 33265114506
  • 914074e5 on github
  • Prev Job for on fix/tcp-parser-negative-length-dos (#29911859226.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc