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.

What's it like to go through the FedRAMP process?

https://cyberscoop.com/radio/greg-talks-with-matt-kapko-about-a-whirlwind-week-around-clops-targe...
1•felineflock•1m ago•0 comments

Deep Dive into New York City Air Traffic Control (2019)

https://josephgunnwriting.wordpress.com/2019/06/13/deep-dive-into-new-york-city-air-traffic-contr...
1•asleepawake•2m ago•0 comments

OpenClaw but Running on My iPhone

1•readsdiggdaily•5m ago•0 comments

Show HN: NixOS flake for hardened OpenClaw deployment

https://github.com/Scout-DJ/openclaw-nix
1•scout_agent•6m ago•0 comments

Lex Fridman x Peter Steinberger Podcast

https://www.youtube.com/watch?v=YFjfBk8HI5o
1•jaytyagi•6m ago•0 comments

Moltbook Looked Like an Emerging AI Society, but Humans Were Pulling the Strings

https://www.forbes.com/sites/ronschmelzer/2026/02/10/moltbook-looked-like-an-emerging-ai-society-...
1•United857•15m ago•0 comments

Trump's Ruinous, Failed Attempt to Indict Congressional Democrats

https://www.nationalreview.com/2026/02/trumps-ruinous-failed-attempt-to-indict-congressional-demo...
1•petethomas•16m ago•0 comments

The Zero-Inventory Hardware Company

https://miguelarmengol.com/blog/the-zero-inventory-hardware-company-i/
1•miki_tyler•21m ago•0 comments

Show HN: MoltHub – GitHub for AI Agents with Trust-Based Auto-Merge

https://molt-hub.org
1•yaluotao•24m ago•0 comments

Proof-Oriented Programming in F*

https://fstar-lang.org/tutorial/
1•todsacerdoti•25m ago•0 comments

Dear Agent: Prove It

https://rijnard.com/blog/dear-agent-proof
1•ghuntley•26m ago•0 comments

Reflections on Using Claude Code

http://ternarysearch.blogspot.com/2026/02/reflections-on-using-claude-code.html
1•paladin314159•26m ago•0 comments

Results from the Advent of FPGA Challenge

https://blog.janestreet.com/advent-of-fpga-challenge-2025-results/
2•zdw•31m ago•0 comments

Island Enterprise Browser: Intelligent security built into the browsing session

https://www.helpnetsecurity.com/2023/07/05/mike-fey-island-enterprise-browser/
1•felineflock•34m ago•0 comments

Victorian Engineering Connections Diagram from the Brunel Museum

https://thebrunelmuseum.com/engineering-connections/
2•felineflock•38m ago•1 comments

Self-Distillation Enables Continual Learning

https://self-distillation.github.io/SDFT.html
1•teleforce•41m ago•0 comments

Distributed Llama

https://github.com/b4rtaz/distributed-llama
3•oldfuture•43m ago•0 comments

GLM-5 was trained entirely on Huawei chips

https://glm5.net/
4•wildcatqz•43m ago•1 comments

Show HN: Prompt Builder – A block-based editor for composing AI prompts

https://www.promptbuilder.space/
1•Jaber_Said•44m ago•0 comments

Dawson's Creek star James Van Der Beek has died at 48 from Stage 3 colon cancer

https://www.npr.org/2026/02/11/nx-s1-5552216/james-van-der-beek-dead-dawsons-creek
3•donsupreme•45m ago•0 comments

ClawShield – Security audit tool for OpenClaw deployments

https://github.com/policygate/clawshield
1•jonscott3333•45m ago•2 comments

Conversations Happen in Cars

https://oedmethod.substack.com/p/best-conversations-are-in-cars
6•concepthacker•45m ago•0 comments

I built an app that lets you search for anything in your house like Google

https://apps.apple.com/us/app/shelver-home-organization/id6756636954
2•dylantmorgan•45m ago•2 comments

Motorola's Password Pill Was Just One Idea

https://hackaday.com/2026/02/11/motorolas-password-pill-was-just-one-idea/
1•zdw•46m ago•0 comments

1,300-year-old world chronicle unearthed in Sinai

https://www.heritagedaily.com/2026/02/1300-year-old-world-chronicle-unearthed-in-sinai/156948
2•telotortium•48m ago•0 comments

DeepMind Aletheia [pdf]

https://github.com/google-deepmind/superhuman/blob/main/aletheia/Aletheia.pdf
3•nl•51m ago•0 comments

How to Make a Living as an Artist

https://essays.fnnch.com/make-a-living
2•gwintrob•53m ago•0 comments

Skills in OpenAI API

https://developers.openai.com/cookbook/examples/skills_in_api/
2•ms7892•54m ago•0 comments

MIT's new fine-tuning method lets LLMs learn new skills without losing old ones

https://venturebeat.com/orchestration/mits-new-fine-tuning-method-lets-llms-learn-new-skills-with...
2•teleforce•56m ago•0 comments

Tool Shaped Objects

https://twitter.com/willmanidis/status/2021655191901155534
3•ungreased0675•59m ago•0 comments