frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Offical XRP NPM package has been compromised and key stealing malware introduced

https://www.aikido.dev/blog/xrp-supplychain-attack-official-npm-package-infected-with-crypto-stealing-backdoor
55•flxga•8mo ago

Comments

MichealCodes•8mo ago
Cryptocurrency packages used at scale should have wallet decoys setup for early detection of vulnerabilities like this.
nailer•8mo ago
Red teaming this, you’d delay exfiltration of the private key until the balance passes beyond a certain amount and you’re on mainnet.
ohgr•8mo ago
I see the model of "download any old shit off the internet and run it in production" is working out so well.
nailer•8mo ago
I don’t have much opinion of XRP but this is their official package, not a community package.
tobyhinloopen•8mo ago
Fun fact: installing some common starter packages will explode to install over a 1000 npm packages, each of them can inject malware, even if the package isn’t used, and you’ll never know.

Many packages will have over a 100 dependencies if you include the dev dependencies, so you can easily break a 1000.

mouse_•8mo ago
That is a very fun fact.
nailer•8mo ago
Yes that is how dependencies work.
poincaredisk•8mo ago
The crazy part here is that in most other ecosystems 100 dependencies is "crazy high" territory, and in JS it's apparently "we're just getting started". It's known for its approach to micropackaging everything in a separate library.
greatgib•8mo ago
The crazy thing is more that multiple versions of the same package could be installed as dependencies of dependencies...

They were thinking to be the cool kids supporting multiple versions and that the old way to do packaging, like debian and co that expects everyone to use the same version, was the old legacy fart way to do things.

Just, developers before were engineers first and so designed things well especially to avoid this situation of dependency hell and supply chain injection. But the web dev crowd decided to do "better" and now to have old problems as new problems...

nailer•8mo ago
npm design allows multiple versions of the same package if required, but deduplicates otherwise. It’s a smart design that more package managers should and will follow.

Smart developers spend their time working on original code rather than rewriting the wheel.

nailer•8mo ago
Yes. It’s an engineering failure to have multiple copies of the same logic. That isn’t specific to JavaScript.
tough•8mo ago
does the postinstall script step has anything to do with this?

i noticed bun doesn't run them by default unless you whitelist them

koolba•8mo ago
That fetch(…) is sending the mnemonic of the private key out to that remote server.

Interestingly if this is happening in a long running process and that exploit server is offline, the promise for the fetch will reject. And the default behavior for unhandled promise rejections would be for the node process to crash.

So if anybody tried testing this version of the library in a net gapped environment, it would crash and fail out in CI.

The attacker should have silenced the error with a .catch(_ => {}).

mschuster91•8mo ago
> Previously only the packed JavaScript code had been modified.

Honestly it's time for the npm ecosystem to move to a model where only build agents running on npm's own infrastructure can upload binary artifacts, or to mandate reproducible builds.

And for a select set of highly used packages, someone from NPM should be paid to look over each release's changeset.

Both would have massively impeded the attacker.

mindcrash•8mo ago
Official and thorough support for SBOM* within major package repositories can not come sooner.

* https://en.wikipedia.org/wiki/Software_supply_chain

abhisek•8mo ago
We run similar npm package monitors. The use of exotic tld domains such as 0x9c.xyz kind of gave it away because YARA Forge rules have native signatures to detect such domains.

It will be interesting t explore how the project got compromised and malicious packages published to the registry.

nailer•8mo ago
.xyz isn’t exotic for blockchains.

Matthew McConaughey Trademarks Himself to Fight AI Misuse

https://www.wsj.com/tech/ai/matthew-mcconaughey-trademarks-himself-to-fight-ai-misuse-8ffe76a9
2•petethomas•2m ago•0 comments

gpui – A fast, productive UI framework for Rust from the creators of Zed

https://www.gpui.rs/
2•doodlesdev•3m ago•0 comments

tmux for Agents (2025)

https://blog.philz.dev/blog/tmux-for-agents/
1•indigodaddy•3m ago•0 comments

Town Budget Explainer Site

https://middlesexbudget.org/
1•mrkiouak•4m ago•1 comments

Wanting to be an astronaut turned me into a Software Engineer

https://blog.douwe.com/2026/01/wanting-to-be-astronaut-turned-me-into.html
1•dosinga•6m ago•0 comments

Microneedle-Array ECG with PPG Sensor for Cuffless Blood Pressure Estimation

https://www.mdpi.com/2076-3417/16/1/35
1•PaulHoule•6m ago•0 comments

Mago

https://mago.carthage.software/
1•josephscott•8m ago•0 comments

Space Telescope Live

https://spacetelescopelive.org/
1•arbuge•9m ago•0 comments

Show HN: Open-source welcome email automation: Supabase + Gmail + Seer

https://www.youtube.com/watch?v=Q1wPRnTGf0w
1•akshay326•11m ago•0 comments

How did India conquer space

https://altermag.com/articles/how-did-india-conquer-space
1•trojanalert•13m ago•0 comments

Amazon holds talks with suppliers on pricing following tariff changes

https://www.reuters.com/business/retail-consumer/amazon-pushes-suppliers-cuts-ahead-supreme-court...
1•petethomas•13m ago•0 comments

Kutt.ai – Free AI Video Generator, Text and Image to Video

https://kutt.ai/
1•zuoning•14m ago•1 comments

Meta cutting ~1500 VR/AR positions to focus on AI

https://gizmodo.com/meta-reportedly-cutting-about-1500-vr-and-ar-jobs-amid-renewed-push-to-become...
3•bhouston•18m ago•1 comments

Unsung US civil rights pioneer Claudette Colvin dies, aged 86

https://www.aljazeera.com/news/2026/1/14/unsung-us-civil-rights-pioneer-claudette-colvin-dies-age...
2•Qem•20m ago•0 comments

1000 Blank White Cards

https://en.wikipedia.org/wiki/1000_Blank_White_Cards
2•eieio•21m ago•0 comments

Wine 11.0

https://gitlab.winehq.org/wine/wine/-/releases/wine-11.0
1•zdw•21m ago•0 comments

Show HN: Overengineered recommender (activity/game/series/etc.) (57 knobs)

https://activity-architect-1.web.app/
1•arthurstarlake•22m ago•0 comments

Fresh starts: how to thrive when you leave academia

https://www.nature.com/articles/d41586-026-00085-y
3•bookofjoe•24m ago•0 comments

Vintagemapstore: Outline of the world by mapping all lighthouses

https://twitter.com/vintagemapstore/status/2011247533172150512
2•johntfella•25m ago•0 comments

GitHub should charge everyone $1 more per month

https://blog.greg.technology/2025/11/27/github-should-charge-1-dollar-more-per-month.html
1•gregsadetsky•25m ago•1 comments

Death by AI Gibberish

https://elocination.substack.com/p/death-by-ai-gibberish
2•mellosouls•26m ago•0 comments

GLM-Image

https://huggingface.co/zai-org/GLM-Image
2•scosman•27m ago•0 comments

Neo humanoid maker 1X releases world model to help bots learn what they see

https://techcrunch.com/2026/01/13/neo-humanoid-maker-1x-releases-world-model-to-help-bots-learn-w...
1•akg130522•28m ago•0 comments

Solving Factorio with Terraform [video]

https://www.youtube.com/watch?v=uU06vKlCNXk
1•itherseed•29m ago•0 comments

GPT-5.2 series consistently score higher than Opus 4.5 on Art AGI

https://arcprize.org/leaderboard
1•behnamoh•30m ago•0 comments

A gRPC Transport for the Model Context Protocol

https://cloud.google.com/blog/products/networking/grpc-as-a-native-transport-for-mcp
1•mrry•33m ago•0 comments

Mitigating DoS Vulnerability from Unrecoverable Stack Space Exhaustion

https://nodejs.org/en/blog/vulnerability/january-2026-dos-mitigation-async-hooks
1•cebert•34m ago•0 comments

Show HN: Multiplayer Game of Life

https://www.codingame.com/multiplayer/bot-programming/game-of-life-or-death
1•shevis•35m ago•0 comments

The Gleam Programming Language

https://gleam.run/
3•Alupis•40m ago•0 comments

Show HN: Early Compression in High-Dimensional Reality Stops Action

https://jupiterglimpse.substack.com/p/how-premature-compression-in-a-high
1•jupiterglimpse•41m ago•0 comments