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

I'm a human doctor with human intelligence. But I sure do like my AI notetaker

https://www.npr.org/2026/11/17/nx-s1-6037556/medicine-ai-doctor-notetaker-scribe
1•drodio•7s ago•0 comments

California sues OpenAI over AI agents escaping sandboxes, hacking firms

https://www.bleepingcomputer.com/news/security/california-sues-openai-over-ai-agents-escaping-san...
1•drodio•22s ago•0 comments

The Citizen Lab says that Canada should review acquisition by Francisco Partners

https://www.theglobeandmail.com/politics/article-ottawa-should-conduct-national-security-review-o...
1•bparsons•1m ago•1 comments

Brave Search now uses Redirect URLs in search results

https://brave.com/blog/google-goto-anti-scraping/
1•complex_fir_rea•1m ago•0 comments

Is the SaaS business model dead or there is still oportunities in this age of AI

1•jorgeacf•1m ago•0 comments

Crook uses LearnWorlds trials for phishing, sends 13,000 fake YouTube notices

https://www.theregister.com/security/2026/11/16/crook-turns-learnworlds-free-trials-into-phishing...
1•noorsimar•2m ago•0 comments

Show HN: Gridline – Fine-tune open models and run them in batch, pay per token

https://gridlinegpu.com
1•akshitp•2m ago•0 comments

Show HN: Grand Treasure Island – GTA-style game on a real island, modeled by AI

https://grandtreasureisland.vercel.app/
1•phpp•3m ago•0 comments

Synthesizing Rollback Systems for Safer Agents

https://www.basis.ai/blog/undo-for-agents/
1•nikhilpim•3m ago•0 comments

Hugging Face,chain: forensic brief on the'26 autonomous-agent production breach

https://claude.ai/artifact/NU2YVW2a7VkysLqjCm5evD
1•AgileMesh•5m ago•0 comments

2026 Lyttle Lytton Contest

https://adamcadre.ac/lyttle/2026.html
1•tibbar•6m ago•0 comments

Every pixel is a measurement: Lossless video compression in GStreamer

https://www.collabora.com/news-and-blog/blog/2026/11/18/every-pixel-is-a-measurement-lossless-vid...
1•losgehts•6m ago•0 comments

Anthropic IPO: A Brother-Sister Duo Behind a Trillion-Dollar AI Giant

https://www.forbes.com/sites/shaheenajanjuhajivrajeurope/2026/11/18/anthropic-ipo-the-brother-sis...
1•andsoitis•6m ago•0 comments

Show HN: Project-M – Local shared memory for AI coding agents

https://github.com/adityadebnath009/Project-M
1•adityadebnath•7m ago•0 comments

2026 – 1971 = Happy 55th Birthday Intel 4004

https://www.4004.com/
2•oldnetguy•8m ago•0 comments

App Store Awards 2026 Finalists

https://developer.apple.com/app-store/app-store-awards-2026/
1•soheilpro•11m ago•1 comments

Teaching an Autoregressive Agent to "Pace the Frontier"

https://github.com/ronfriedhaber/XRiskMan
1•ronfriedhaber•12m ago•0 comments

Show HN: Happo Animation Testing

https://happo.io/animations
1•lencioni•12m ago•0 comments

Show HN: ClearOffice Hub – Build Enterprise Apps with Natural Language

https://www.clearofficehub.com/
1•icon2026•12m ago•0 comments

Show HN: Specspec; specification as a spectrum from intentions to conclusions

https://github.com/jejay/specspec
1•jejay•13m ago•0 comments

Aspire 17 Is Released

https://devblogs.microsoft.com/aspire/whats-new-aspire-17/
1•bgrainger•13m ago•0 comments

US tech outages blamed on rush to fix bugs found by AI

https://www.ft.com/content/96c565f1-f229-40b6-91e8-7a849ec4b208
1•master_crab•13m ago•0 comments

LZ-RDO lands in ARM's astc-encoder

https://www.jonolick.com/home/lz-rdo-lands-in-arms-astc-encoder
1•dverlaeckt80•15m ago•0 comments

Show HN: x402-reconcile – check x402 payments against the chain

https://github.com/parthod0x/x402-reconcile
1•parthod0x•15m ago•0 comments

Running helped me recover from dizziness in the era of LLMs

https://geopet85.github.io/2026/11/18/running-helped-me-recover-from-dizziness.html
1•higeorge13•15m ago•0 comments

Data Contracts

https://martinfowler.com/articles/data-contracts.html
1•javaeeeee•16m ago•0 comments

Probe – crypto search, cited answers, both sides

https://www.probebyuplx.com
1•supersonicsonny•17m ago•0 comments

Title: Building Blocks for a Greener Skyline

https://news.mit.edu/2026/building-blocks-for-greener-skyline-miana-smith-1118
1•Hasitron•17m ago•0 comments

Show HN: Helio, compare your energy on days with and without each habit

https://apps.apple.com/us/app/helio-energy-tracker-habits/id6760257944
1•alexslkmain•19m ago•0 comments

Feather: Elegant Email Inbox

https://feather.computer/
1•frjalex•20m ago•0 comments