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•9mo ago

Comments

MichealCodes•9mo ago
Cryptocurrency packages used at scale should have wallet decoys setup for early detection of vulnerabilities like this.
nailer•9mo 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•9mo ago
I see the model of "download any old shit off the internet and run it in production" is working out so well.
nailer•9mo ago
I don’t have much opinion of XRP but this is their official package, not a community package.
tobyhinloopen•9mo 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_•9mo ago
That is a very fun fact.
nailer•9mo ago
Yes that is how dependencies work.
poincaredisk•9mo 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•9mo 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•9mo 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•9mo ago
Yes. It’s an engineering failure to have multiple copies of the same logic. That isn’t specific to JavaScript.
tough•9mo 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•9mo 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•9mo 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•9mo ago
Official and thorough support for SBOM* within major package repositories can not come sooner.

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

abhisek•9mo 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•9mo ago
.xyz isn’t exotic for blockchains.

Show HN: SafeClaw – a way to manage multiple Claude Code instances in containers

https://github.com/ykdojo/safeclaw
1•ykdojo•1m ago•0 comments

OpenClaw Chameleon Hype

https://zhisme.com/articles/openclaw-chameleon
1•zhisme•1m ago•0 comments

10-Second Product Launch Platform

https://www.makerlinks.page/launchfast
1•amamuwala•2m ago•0 comments

Centuries, not quarters. Wealth management for clients in suspended animation

https://atlasgatewealth.com/
1•dreadsword•3m ago•1 comments

Show HN: OneUptime – Open-source observability that auto-fixes incidents with AI

1•ndhandala•3m ago•0 comments

Self Efficacy: A Better Construct Than Confidence

https://www.leadingsapiens.com/self-efficacy-in-leadership/
1•sherilm•3m ago•0 comments

High-bandwidth memory v4 supply takes shape

https://blocksandfiles.com/2026/01/28/hbm-v4-supply/
1•andsoitis•4m ago•0 comments

Cognitive Threat Scanner – Detect manipulation in content using SCT taxonomy

https://github.com/Mirai8888/seithar-cogdef
1•seithar-grp•4m ago•0 comments

Don't Use Moving Averages (2024)

https://observablehq.com/d/a51954c61a72e1ef
1•tosh•5m ago•0 comments

When Every "AI Headshot" Looked Fake, I Spent 2 Weeks Hacking Together My Own

https://cozaiphoto.com/
1•myq0032•5m ago•1 comments

Canonicalize Your Web Identity and Achieve Data Sovereignty with Pesos

https://shellsharks.com/pesos
1•ciferkey•5m ago•0 comments

The Barbican Basin

https://www.barbicanbasin.com/history
1•Kaibeezy•5m ago•0 comments

One in Four Smartphones Are Now iPhones

https://www.macrumors.com/2026/02/11/one-in-four-smartphones-iphones/
1•mgh2•5m ago•0 comments

Google follows Anthropic: Antigravity sub can't be used in OpenCode/etc.

https://old.reddit.com/r/google_antigravity/comments/1qykskz/comment/o45ca6p/
1•behnamoh•6m ago•0 comments

The Simulation Argument Revisited in a Functional Universe

https://d1gesto.blogspot.com/2026/02/the-simulation-argument-revisited-in.html
1•voxleone•9m ago•1 comments

Building a production-grade SaaS product just with AI

https://world.hey.com/cpinto/100-made-by-ai-creating-onboardinghub-a-git-history-documentary-cca1...
1•cpinto•9m ago•1 comments

Show HN: Godot MCP – Give AI assistants full access to the Godot editor

https://github.com/tomyud1/godot-mcp
1•tomyud•9m ago•0 comments

Show HN: Tahc – AI chat widget that hands off to a human when it can't answer

https://tahc.ai/
1•brookler•10m ago•0 comments

"Energy Based" model vs. frontier AI models for Sudoku

https://sudoku.logicalintelligence.com/
1•runamuck•10m ago•0 comments

FDA says companies can claim "no artificial colors" if they use natural dyes

https://www.foodpolitics.com/2026/02/fda-says-food-companies-can-claim-no-artificial-colors-if-th...
5•speckx•12m ago•2 comments

So, if Rust is in Linux can it be in Emacs, too?

https://lists.gnu.org/archive/html/emacs-devel/2026-02/msg00114.html
1•untilted•13m ago•0 comments

Show HN: Clap.Net – Source generated CLI Parsing for .NET (Inspired by Clap-Rs)

https://github.com/simon-curtis/Clap.Net
1•scurtis0•13m ago•0 comments

Apparently, there is a website that ships 52.5 MB of CSS

https://www.projectwallace.com/the-css-selection/2026
1•KalandaDev•15m ago•0 comments

What I learned when I started assigning the hard reading again

https://www.theatlantic.com/ideas/2026/02/youth-reading-books-professors/685825/
1•obscurette•16m ago•0 comments

Show HN: TapTap AI – Use Your OpenClaw Agent from Apple Watch/AirPods/CarPlay

http://gettaptap.ai/
1•geogons•17m ago•0 comments

Two co-founders of Elon Musk's xAI resign, joining exodus

https://www.reuters.com/business/two-co-founders-elon-musks-xai-resign-joining-exodus-2026-02-11/
2•lossolo•17m ago•0 comments

Show HN: Renovate – The Kubernetes-Native Way

https://github.com/mogenius/renovate-operator
3•JanLepsky•19m ago•0 comments

Show HN: Superjson – Simple, beautiful JSON explorer

https://superjson.dev/
1•nihalwashere•21m ago•0 comments

Show HN: Minimal Pomodoro timer for macOS (1.7MB, now with keyboard shortcuts)

https://apps.apple.com/us/app/pomodoro-timer-lite/id6748662476?mt=12
1•happylaodu•22m ago•0 comments

FAA Lifts Closure at El Paso Airport

https://www.nytimes.com/live/2026/02/11/us/faa-el-paso-flights-airport
2•joekrill•22m ago•0 comments