frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Critical flaw in Protobuf library enables JavaScript code execution

https://www.bleepingcomputer.com/news/security/critical-flaw-in-protobuf-library-enables-javascript-code-execution/
16•Brajeshwar•2h ago

Comments

rvz•2h ago
Both "Javascript" and "Typescript" are incredibly flawed languages and the entire npm ecosystem is the bane of the software security industry.
zbentley•50m ago
I mean, I'm down to rip on JS/NPM any day of the week, but this specific issue isn't related to any JS/NPM-isms: it's a deserialization library which marshals language-specific objects from bytes using a variant of eval().

Any platform with eval (most implementations of Python, Perl, Lisp, Scheme, PHP, Ruby, Erlang, old editions/specific libraries of Java, Haskell, and many others) seems at risk for this type of issue.

Indeed, ser/de systems in those languages--all of them--have a long history of severe CVEs similar to this one.

It's also worth noting that this vuln has to do with the library's handling of .proto schema files, not data. The unsafe eval happens when a Protobuf schema file which itself describes the format of wire/data types is uploaded, not when the wire/data types themselves are deserialized. The majority of uses of Protobuf out there (in any language) handle the schema files rarely or as trusted input.

That doesn't make it safe/mitigated by any means, but it's worth being specific.

faangguyindia•28m ago
This is why I use Go.

I've built so much stuff in this. Code i wrote a decade back still builds and runs just fine.

It's still serving in Ad tech company, response time sub 5ms, p95

skybrian•1h ago
How does the attacker supply a malicious schema? Can that be turned off? It doesn't seem like a normal thing to do.
cyanydeez•1h ago
probably via normal npm injection server side.
jauco•1h ago
But once you can make people download your malicious js code using npm, why would you then need to inject malicious js code in protobuf?
radicality•25m ago
I think something like this: Imagine a tool for querying remote grpc endpoints - you would point at some endpoint to query it / explore it, and the tool would request the proto schema files from a potentially untrusted source - something you would not expect to be that unsafe and trigger an rce.
gnabgib•1h ago
Lots more details from Endor labs (flaw finder & source): https://www.endorlabs.com/learn/the-dangers-of-reusing-proto...
lioeters•1h ago
> the library builds JavaScript functions from protobuf schemas by concatenating strings and executing them via the Function() constructor, but it fails to validate schema-derived identifiers, such as message names.

Typical "eval is evil" issue.

Vercel Says Internal Systems Hit in Breach

https://decipher.sc/2026/04/19/vercel-says-internal-systems-hit-in-breach/
270•whiteyford•3h ago•50 comments

Archive of Byte magazine, starting with issue #1 in 1975

https://archive.org/details/byte-magazine-1975-09
436•DamnInteresting•2d ago•111 comments

Show HN: Faceoff – A terminal UI for following NHL games

https://www.vincentgregoire.com/faceoff/
17•vcf•57m ago•4 comments

Notion leaks email addresses of all editors of any public page

https://twitter.com/weezerOSINT/status/2045849358462222720
168•Tiberium•3h ago•45 comments

Nanopass Framework: Clean Compiler Creation Language

https://nanopass.org/
86•NordStreamYacht•4d ago•14 comments

Game devs explain the tricks involved with letting you pause a game

https://kotaku.com/video-game-devs-explain-how-pausing-works-and-sometimes-it-gets-weird-2000686339
341•speckx•3d ago•189 comments

The seven programming ur-languages (2022)

https://madhadron.com/programming/seven_ur_languages.html
198•helloplanets•11h ago•76 comments

SPEAKE(a)R: Turn Speakers to Microphones for Fun and Profit [pdf] (2017)

https://www.usenix.org/system/files/conference/woot17/woot17-paper-guri.pdf
132•Eridanus2•9h ago•58 comments

Show HN: Shader Lab, like Photoshop but for shaders

https://eng.basement.studio/tools/shader-lab
103•ragojose•3d ago•25 comments

Reverse Engineering ME2's USB with a Heat Gun and a Knife

https://github.com/coremaze/ME2-Writeup
12•Bawoosette•1d ago•1 comments

What are skiplists good for?

https://antithesis.com/blog/2026/skiptrees/
225•mfiguiere•2d ago•46 comments

Turtle WoW classic server announces shutdown after Blizzard wins injunction

https://www.pcgamer.com/games/world-of-warcraft/turtle-wow-classic-server-announces-shutdown-afte...
78•Brajeshwar•2h ago•53 comments

College instructor turns to typewriters to curb AI-written work

https://sentinelcolorado.com/uncategorized/a-college-instructor-turns-to-typewriters-to-curb-ai-w...
416•gnabgib•23h ago•373 comments

NIST scientists create 'any wavelength' lasers

https://www.nist.gov/news-events/news/2026/04/any-color-you-nist-scientists-create-any-wavelength...
387•rbanffy•21h ago•171 comments

Pairwise Order of a Sequence of Elements

https://morwenn.github.io//presortedness/2026/04/11/TSB010-pairwise-order-of-a-sequence-of-elemen...
19•ibobev•2d ago•1 comments

Reading Input from an USB RFID Card Reader

https://kevwe.com/blog/usb-rfid-reader
14•kevwedotse•2d ago•4 comments

Show HN: Prompt-to-Excalidraw demo with Gemma 4 E2B in the browser (3.1GB)

https://teamchong.github.io/turboquant-wasm/draw.html
56•teamchong•7h ago•25 comments

Anonymous request-token comparisons from Opus 4.6 and Opus 4.7

https://tokens.billchambers.me/leaderboard
589•anabranch•1d ago•554 comments

The electromechanical angle computer inside the B-52 bomber's star tracker

https://www.righto.com/2026/04/B-52-star-tracker-angle-computer.html
393•NelsonMinar•1d ago•100 comments

Binary GCD

https://en.algorithmica.org/hpc/algorithms/gcd/#binary-gcd
61•tosh•10h ago•1 comments

Notes from the SF Peptide Scene

https://12gramsofcarbon.com/p/notes-from-the-sf-peptide-scene
91•theahura•3h ago•70 comments

When moving fast, talking is the first thing to break

https://daverupert.com/2026/04/more-talk-less-grok/
70•Brajeshwar•4h ago•32 comments

Why Japan has such good railways

https://worksinprogress.co/issue/why-japan-has-such-good-railways/
510•RickJWagner•1d ago•471 comments

Minimal Viable Programs (2014)

https://joearms.github.io/published/2014-06-25-minimal-viable-program.html
27•bachmeier•4d ago•6 comments

543 Hours: What happens when AI runs while you sleep

https://michael.roth.rocks/research/543-hours/
4•pramodbiligiri•2h ago•0 comments

Ask HN: How did you land your first projects as a solo engineer/consultant?

199•modelcroissant•9h ago•91 comments

The world in which IPv6 was a good design (2017)

https://apenwarr.ca/log/20170810
165•signa11•15h ago•61 comments

It's cool to care (2025)

https://alexwlchan.net/2025/cool-to-care/
69•surprisetalk•4d ago•34 comments

Updating Gun Rocket through 10 years of Unity Engine

https://jackpritz.com/blog/updating-gun-rocket-through-10-years-of-unity-engine
107•tyleo•3d ago•51 comments

State of Kdenlive

https://kdenlive.org/news/2026/state-2026/
450•f_r_d•1d ago•138 comments