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/
14•Brajeshwar•1h ago

Comments

rvz•1h ago
Both "Javascript" and "Typescript" are incredibly flawed languages and the entire npm ecosystem is the bane of the software security industry.
zbentley•33m 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•11m 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•8m 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•52m ago
Lots more details from Endor labs (flaw finder & source): https://www.endorlabs.com/learn/the-dangers-of-reusing-proto...
lioeters•52m 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.

Epistemic Suicide: Why AI Is Collapsing into Mediocrity

https://medium.com/@erinacius4455/full-linkedin-article-english-version-6611a87d02c5
1•alex_gold•41s ago•0 comments

Cardynal – AI support agent for businesses, no code, WhatsApp and web chat

https://cardynal.io
1•Cardynal•1m ago•0 comments

Can You Hear an Ambulance Moving Faster Than Sound?

https://snoeprol.github.io/science/doppler-effect.html
1•Snoeprol•3m ago•0 comments

NNA (Natural Number Array)

https://users.rust-lang.org/t/this-is-my-first-project-i-invented-a-new-algorithm-that-even-ai-do...
1•Erenay09•5m ago•1 comments

PostgresBench: A Reproducible Benchmark for Postgres Services

https://clickhouse.com/blog/postgresbench
1•saisrirampur•6m ago•0 comments

New CDC pick may face "threat to follow ideology over evidence," ex-official say

https://www.cbsnews.com/news/jerome-adams-erica-schwartz-face-the-nation-surgeon-general-kennedy-...
1•rolph•9m ago•0 comments

Wind and solar power surge across the Mountain West as demand tests the grid

https://www.kunr.org/local-stories/2026-04-14/wind-solar-power-surge-mountain-west
1•Bender•10m ago•0 comments

Uber's AI Push Hits a Wall–CTO Says Budget Struggles Despite $3.4B Spend

https://finance.yahoo.com/sectors/technology/articles/ubers-anthropic-ai-push-hits-223109852.html
2•dakiol•11m ago•0 comments

Bronx officials try to rein social media 'takeovers' after events turn chaotic

https://gothamist.com/news/bronx-officials-try-to-rein-in-social-media-takeovers-after-winter-eve...
1•gnabgib•12m ago•0 comments

Fixing Unix Filenames (2009)

https://dwheeler.com/essays/fixing-unix-linux-filenames.html
2•LorenDB•15m ago•2 comments

How Can Make

https://www.forumvc.com
1•dongtam•17m ago•0 comments

Do Not Default to a Public VPN

https://avkcode.github.io/blog/do-not-default-to-a-vpn.html
1•KyleVlaros•23m ago•1 comments

The Missing Human Half of AI

https://www.utkarshapoorva.com/writing/missing-human-half-of-ai/
1•utkarsh_apoorva•24m ago•1 comments

Musk's SpaceX urges Trump to crack down on EU satellites

https://www.telegraph.co.uk/business/2026/04/19/musks-spacex-urges-trump-to-crackdown-on-eu-satel...
3•doener•25m ago•0 comments

An explainer of the invisible temporal logic shaping platform behavior

https://github.com/Dario-Chang/The-Invisible-Logic-Regulators-Missed-for-23-Years-How-Platforms-R...
1•governace-layer•28m ago•1 comments

After 6 months I shipped Transita found a niche I could build for

https://transita.app
1•snenenenene•28m ago•0 comments

"Now I Have the Full Picture"

https://taoofmac.com/space/notes/2026/04/19/1400
3•rcarmo•30m ago•0 comments

They Went Abroad to Save Money. Moving Back Seems Unaffordable

https://www.nytimes.com/2026/04/19/business/americans-abroad-cheaper-living-costs.html
2•mikhael•33m ago•0 comments

The Unsuitability of English (2015)

https://www.chronicle.com/blogs/linguafranca/the-unsuitability-of-english
1•downbad_•34m ago•1 comments

A Chinese Android just ran a half-marathon faster than any human

https://www.cnn.com/2026/04/19/china/china-robot-half-marathon-intl-hnk
7•Bender•39m ago•1 comments

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

https://www.vincentgregoire.com/faceoff/
11•vcf•40m ago•3 comments

Show HN: A drop-in, open-source replacement for YouTube embed iframes

https://embedlite.com/
1•corentin88•40m ago•0 comments

The Bromine Chokepoint: How Strife Could Halt Production of World’s Memory Chips

https://warontherocks.com/cogs-of-war/the-bromine-chokepoint-how-strife-in-the-middle-east-could-...
3•crescit_eundo•40m ago•0 comments

Air Force Recruits Most New Airmen Since 2004, Making Goal Early

https://www.airandspaceforces.com/active-air-force-hits-recruiting-goal-early-2026/
2•Bender•41m ago•0 comments

Thermometry of simulated Bose–Einstein condensates using machine learning

https://iopscience.iop.org/article/10.1088/2632-2153/ae4f4f
1•opnac•42m ago•0 comments

Sam Altman reportedly targeted in second attack

https://www.theverge.com/ai-artificial-intelligence/910890/openai-sam-altman-second-home-attack-s...
2•GaryBluto•42m ago•1 comments

Make flipbooks from browser sessions, videos and documents

https://flipbook.browserbox.io
1•keepamovin•43m ago•0 comments

Recent advances push Big Tech closer to the Q-Day danger zone

https://arstechnica.com/security/2026/04/while-some-big-tech-players-accelerate-pqc-readiness-oth...
1•Bender•43m ago•0 comments

Show HN: Alodb – I got tired of pasting my Postgres schema into ChatGPT

https://alodb.com
1•eyvzov•45m ago•1 comments

When old HTML5 dreams become reality – field generator in a nutshell

https://rogmash.neocities.org/AuroraCore
1•rogmash•47m ago•2 comments