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

Zombie AI Video Generator – a zombie love story from two photos

https://zombieaivideo.org/
1•chaojie26•2m ago•0 comments

Lobbying

https://geohot.github.io//blog/jekyll/update/2026/10/10/lobbying.html
2•smilelamp•2m ago•0 comments

Software's centaur age may last decades

https://www.seangoedecke.com/softwares-centaur-age-may-last-decades/
1•srijan4•5m ago•0 comments

Oracle, Broadcom and SpaceX Seek Blockbuster Debt Deals to Pay for AI Chips

https://www.wsj.com/tech/oracle-broadcom-and-spacex-seek-blockbuster-debt-deals-to-pay-for-ai-chi...
1•gmays•5m ago•0 comments

Show HN: A simple to-do app for iPhone, Mac, and your agent

https://ilia.page/writing/introducing-nagare
1•shmilia•6m ago•0 comments

Webcmd (by AgentR) is open-source Released on October 8/9, 2026

https://markets.businessinsider.com/news/stocks/agentr-launches-webcmd-open-source-browser-infras...
1•noobplus•6m ago•0 comments

Most anxious generation ever? WHO data says 470M people have anxiety

https://www.hindustantimes.com/lifestyle/health/most-anxious-generation-ever-who-data-says-470-mi...
1•rustoo•7m ago•0 comments

Show HN: BSOS – Business communication intelligence API for SaaS developers

https://developers.priorityengineai.com/
1•alleria-ai•7m ago•0 comments

Run your CI locally or where your agents are running and update your gh checks

https://github.com/preloopdev/preloop
2•Bnjoroge•15m ago•0 comments

Show HN: SRA-RiskGate-4B – Local LLM for stablecoin risk gating and disputes

https://huggingface.co/sriram1983007/SRA-RiskGate-4B
2•sriram1983007•24m ago•0 comments

The Lightbulb Computer

https://lightbulbcomputer.com/
3•oskarth•30m ago•0 comments

From Public Posts to AI-Search Citations: Measuring the Fragility of AI Search

https://arxiv.org/abs/2610.11932
2•sbulaev•36m ago•0 comments

Data Center Darling's $30B IPO Dream Crushed in 48 Hours

https://www.bloomberg.com/news/articles/2026-10-09/data-center-darling-s-30-billion-ipo-dream-cru...
4•mfiguiere•38m ago•0 comments

A Deep Dive into Zero-Copy Networking and Io_uring

https://medium.com/@jatinumamtora/a-deep-dive-into-zero-copy-networking-and-io-uring-78914aa24029
2•ankitg12•44m ago•0 comments

Ethernet switch device driver model (switchdev)

https://docs.kernel.org/networking/switchdev.html
4•ofrzeta•48m ago•0 comments

Aleph Alpha releases open-weight Kolibri with 1M context

https://www.testingcatalog.com/aleph-alpha-releases-open-weight-kolibri-with-1m-context/
2•gmays•52m ago•0 comments

Steam Frame updates: Reservation timing, software updates, and more

https://store.steampowered.com/news/group/45479024/view/675134162359812783
2•willis936•1h ago•0 comments

Anthropic Agents Tried to Fill Out Visa Forms on State Dept. Website

https://www.nytimes.com/2026/10/09/technology/anthropic-rogue-ai-agents.html
11•reaperducer•1h ago•4 comments

The Desperate Hunt for AI Computing Power Is Upending Silicon Valley

https://www.wsj.com/tech/ai/ai-computing-power-demand-a63da9b9
2•bcaulfield•1h ago•0 comments

AI disqualification yields new Nikon Small World in Motion winner

https://arstechnica.com/science/2026/10/winning-nikon-small-world-in-motion-video-disqualified-fo...
2•Tomte•1h ago•0 comments

Data centre company's much-hyped Australian stock market listing imploded

https://www.theguardian.com/australia-news/2026/oct/09/firmus-australian-stock-market-listing-bus...
5•stubish•1h ago•0 comments

Credibility Is the Scarce Resource

https://jax.substack.com/p/credibility-is-the-scarce-resource
2•thedreammachine•1h ago•0 comments

FBI Arrests Founder of Ransomware Negotiation Firm

https://krebsonsecurity.com/2026/10/fbi-arrests-founder-of-ransomware-negotiation-firm/
5•2bluesc•1h ago•0 comments

Complexity score for migrating an Airtable base off Airtable

https://www.atmigrator.com
2•saud_c•1h ago•0 comments

Show HN: tgv: Genome viewer for you and your agents

https://github.com/zeqianli/tgv
4•lzqqqqqq•1h ago•1 comments

Edith Rebecca Saunders

https://en.wikipedia.org/wiki/Edith_Rebecca_Saunders
2•benbreen•1h ago•0 comments

Telegram Desktop vulnerability allowed any user's file to be stolen

https://beaksec.github.io/posts/telegram-desktop-one-click-account-takeover/
11•g-b-r•1h ago•1 comments

We solved SQLite's single-writer limitation

https://marcobambini.substack.com/p/we-solved-sqlites-single-writer-limitation
2•luispa•1h ago•0 comments

Ask HN: Are there things more important than 'humanity', such as empathy?

5•dfps•1h ago•2 comments

Delta's CEO on Skipping Starlink, Premium-Travel Rush and High Fuel Prices

https://www.wsj.com/business/airlines/deltas-ceo-on-skipping-starlink-premium-travel-rush-and-hig...
2•gmays•1h ago•0 comments