2026-11-06

Node.js 27's first alpha pulls in V8's biggest jump in a while, and npm still hasn't worked out how to stop a year-long fake WhatsApp library campaign

Node.js 27.0.0-alpha ships V8 15.6 with a default heap limit nobody asked for and a serialization format older Node can't read, while GitHub's advisory database keeps filling up with fresh forks of a WhatsApp library that have been quietly hijacking chat accounts for more than a year.

Node.js 27 landed its first alpha on October 29, and buried in the release notes is the kind of change that won't show up in a demo but will absolutely show up in an incident channel six months from now. V8 jumps from 14.6 to 15.6, which is a bigger version gap than Node usually carries between majors, and it brings real language features with it: Math.sumPrecise(), Iterator.prototype.join() and .includes(), Iterator.zip() and zipKeyed(), all on by default. Fine, good, those are welcome.

The change I'd actually flag to a team is quieter. Without --max-old-space-size set explicitly, the default heap limit used to be a fixed, somewhat generous number. Now it's half of whatever physical memory the machine has, clamped between 256MB and 4GB, and Buffer and ArrayBuffer allocations count against that limit for the first time. On a beefy dev laptop that's harmless. On a container sized to the old assumptions, or a CI runner someone configured years ago and never touched again, that's a process that starts OOM-killing itself for no reason anyone can see in the diff. Pin the flag explicitly if you're not ready to think about this yet.

There's a second quiet break: v8.serialize(), structuredClone(), and postMessage() now write a format that older Node releases can't read back. If you've got a cluster running a mix of 27 and anything earlier, passing serialized data between them will fail in a way that looks like data corruption until you remember the version skew. V8's Math methods also switch to LLVM's libm, so results can differ in the last bit, and Math.random() sequences change for a given seed. None of that is new to this Node.js release, exactly, it's new to Node.js because V8 moved that far in one jump. It's alpha software, so none of this is final, but it's worth testing against now rather than finding out at the 27.0.0 stable release party. Node also quietly posted that security releases for the 22.x, 24.x and 26.x lines are coming on November 11, rated high severity, with no detail yet on what's being fixed. Nothing to do about that one except watch for it.

The other story this week isn't really a story, it's a status update on a story that's been running for over a year and refuses to end. Baileys is a popular open-source library for talking to WhatsApp's web client from code, the kind of thing a lot of bot builders and automation shops depend on. Since sometime in 2025, someone has been publishing forks and lookalikes of it under constantly rotating names, each one doing roughly the same thing: silently subscribing whatever WhatsApp account installs the package to a channel the attacker controls. GitHub's advisory database flagged another batch this week, packages like oktz-baileys and nishiki-bail, and the writeup for oktz-baileys reads almost identically to ones from months ago: a hardcoded channel ID, an automatic follow request fired right after the socket connects, errors suppressed so nothing looks wrong.

The Hacker News covered a cluster of 101 of these back in September, pulling in nearly half a million downloads between them. Corgea's research in October put the running total at more than 240 separate malicious package records tied to Baileys impersonation, with dozens still live at any given time despite repeated takedowns. The payload is almost funny in how low-stakes it is: nobody's wallet gets drained, nothing gets exfiltrated, your WhatsApp account just starts following a channel you never asked to follow. Which is exactly why it keeps working. It's not scary enough to make anyone treat npm install like a security event, and publishing a new throwaway package name costs the attacker nothing, so every takedown just resets the clock.

That asymmetry is the actual lesson here, more than any one package name. A registry that lets anyone publish anything under any name, for free, with no identity behind it, will always be cheaper for an attacker to abuse than it is for defenders to clean up. The interesting question isn't whether this particular campaign gets shut down. It's whether npm's publishing model changes enough that the next one can't just rename itself and start over.