frontpage.
newsnewestaskshowjobs

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•1y ago

Comments

MichealCodes•1y ago
Cryptocurrency packages used at scale should have wallet decoys setup for early detection of vulnerabilities like this.
nailer•1y 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•1y ago
I see the model of "download any old shit off the internet and run it in production" is working out so well.
nailer•1y ago
I don’t have much opinion of XRP but this is their official package, not a community package.
tobyhinloopen•1y 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_•1y ago
That is a very fun fact.
nailer•1y ago
Yes that is how dependencies work.
poincaredisk•1y 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•1y 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...

koolba•1y 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•1y 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•1y ago
Official and thorough support for SBOM* within major package repositories can not come sooner.

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

abhisek•1y 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•1y ago
.xyz isn’t exotic for blockchains.
nailer•1y 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•1y ago
Yes. It’s an engineering failure to have multiple copies of the same logic. That isn’t specific to JavaScript.
tough•1y 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

Five Indianapolis officers charged following reporting on Flock misuse

https://www.msn.com/en-us/news/other/five-indianapolis-officers-charged-following-the-post-s-repo...
1•pseudolus•37s ago•0 comments

Prefill Concurrency in SGLang: Consistent TTFT Under Multi-Tenant Load

https://sference.com/blog/prefill-head-of-line-blocking
1•apejcic•39s ago•0 comments

Show HN: Note Duel – LLM Arena for composing music

https://www.noteduel.com/
1•crimsoneer•2m ago•0 comments

How Virus-Like 'Jumping Genes' Became Our Partners in Evolution

https://www.quantamagazine.org/how-virus-like-jumping-genes-became-our-partners-in-evolution-2026...
1•magoghm•4m ago•0 comments

The Day Bobby Fischer Blew It

https://www.thestacksreader.com/the-day-bobby-blew-it/
1•bryanrasmussen•5m ago•0 comments

Regional Revitalization in the Tokyo Suburbs:Population and Regional Differences

https://note.com/akiko2ka/n/n19c7d62cbca6
1•Akiko_Tsuka•5m ago•1 comments

Scientists Detect Radio Signals from an Exoplanet for the First Time in History

https://www.wired.com/story/scientists-detect-radio-signals-from-exoplanet-for-first-time-in-hist...
1•jonbaer•7m ago•1 comments

Homa: The End of TCP for AI Clusters [video]

https://www.youtube.com/watch?v=eZ8WWZzoaR0
1•signa11•8m ago•0 comments

The Hugging Face incident and impacts of misaligned models on third parties

https://openai.com/hugging-face-incident-and-misalignment/
1•fourfire•10m ago•0 comments

NASA Details Earthquake Effects on the Earth

https://www.jpl.nasa.gov/news/nasa-details-earthquake-effects-on-the-earth/
1•thunderbong•12m ago•0 comments

Spherical Cow

https://en.wikipedia.org/wiki/Spherical_cow
1•kaycebasques•13m ago•0 comments

Ultima Online Retrospective – The Last Hurrah [video]

https://www.youtube.com/watch?v=35SKawn2SDI
1•danso•17m ago•0 comments

MiMo-v2.6-RL-OSS dataset

https://huggingface.co/datasets/XiaomiMiMo/MiMo-V2.6-RL-oss
2•miyuru•19m ago•0 comments

New in Chrome 154: iframes that automatically resize themselves to their content

https://www.bram.us/2026/09/23/responsive-iframes/
1•eustoria•19m ago•0 comments

Improving site performance by shipping more CSS

https://github.blog/engineering/architecture-optimization/improving-site-performance-by-shipping-...
1•torutofu•20m ago•0 comments

It all fits: wgpu, Metal, Vulkan, WebGL, WASM, WebGPU, Luau [video]

https://www.youtube.com/watch?v=CgcS2OxcV6k
1•cs1996•21m ago•1 comments

Show Keystrokes – Keystroke and Shortcut Visualizer Custom Element

https://show-keystrokes.netlify.app/
1•eustoria•22m ago•0 comments

How Work Network Works: A Multi-Activity Mobile Rewards Platform

https://work-networks.com/how-work-network-works.html
1•onlineiqbal•23m ago•0 comments

Codetta: High-Capacity, Keyless, and Undetectable Multi-Agent Collusion

https://arxiv.org/abs/2609.28900
1•sbulaev•23m ago•0 comments

Minecraft random seed world record (with a particle accelerator) [video]

https://www.youtube.com/watch?v=Kd5-1IXqiDQ
1•Zusor•23m ago•0 comments

Understanding the Impact of LLM Watermarking on AI Agent Behavior

https://www.lasso.security/blog/the-provenance-tax-understanding-the-impact-of-llm-watermarking-o...
9•nisosguy•24m ago•0 comments

Meta Expands Private Processing Confidential Computing to AI Glasses

https://www.unite.ai/meta-expands-private-processing-confidential-computing-to-ai-glasses/
1•eustoria•25m ago•0 comments

OpenAI Accuses Plaintiffs' Lawyers of Funding and Laundering Copyright Evidence

https://www.techdirt.com/2026/09/25/openai-accuses-plaintiffs-lawyers-of-paying-for-hiding-and-th...
1•m-hodges•25m ago•0 comments

No Blind Trust in AI-Generated Code

https://wearecommunity.io/communities/jacov/articles/8709
1•kvolque•31m ago•1 comments

CEO of Mistral: AI is software. It can be controlled

https://www.lemonde.fr/en/economy/article/2026/09/24/arthur-mensch-ceo-of-french-start-up-mistral...
16•thibaut_barrere•38m ago•4 comments

The Discovery Tax: Why Coding Agents Waste 2,500 Tokens Before Writing Code

https://blog.jarv.dev/the-discovery-tax
5•runtooldev•42m ago•0 comments

Google's orbital AI data center test packs four TPUs and 1,000W of solar power

https://www.tomshardware.com/tech-industry/data-centers/google-is-blasting-an-experimental-ai-dat...
3•pseudolus•42m ago•1 comments

How to Freelance Now?

4•Alexadar•43m ago•0 comments

Typed-lm: a Rust jev open source alternative

https://github.com/neurono-ml/typed-lm
3•andrelgcclaudin•46m ago•1 comments

LaserActive

https://en.wikipedia.org/wiki/LaserActive
3•tosh•46m ago•1 comments