frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Porting nanochat to a TPU: what carries over from PyTorch, and what breaks

https://github.com/tucan9389/nanochat-jax/discussions/1
1•tucan9389•13s ago•0 comments

The State of Age Verification in 2026

https://aztec-labs.com/blog/age-verification-state-2026
1•rzk•6m ago•0 comments

How to Build 1-Minute OHLC Bars from Non-Uniform Market Snapshot Data

https://medium.com/@DolphinDB_Inc/how-to-build-1-minute-ohlc-bars-from-non-uniform-market-snapsho...
1•yiweileng•6m ago•0 comments

Ask HN: How do you track feedback when you post across multiple places?

3•georgi_94•8m ago•0 comments

Ask HN: What Are You Building with AI?

1•fraXis•13m ago•3 comments

Ask HN: Evidence for JavaScript ecosystem being more vulnerable than Rust's?

1•pascahousut•13m ago•0 comments

Locksmith scams: 'I was shut out with my baby and charged £2,200 to get back in'

https://www.theguardian.com/money/2026/jul/15/the-scary-rise-of-locksmith-scams-i-was-shut-out-wi...
2•YeGoblynQueenne•16m ago•0 comments

The Myth of Sisyphus

https://en.wikipedia.org/wiki/The_Myth_of_Sisyphus
1•chistev•16m ago•1 comments

Show HN: A tool that reviews subreddit promotion rules before you post

https://wheretopost.com/
1•elng•18m ago•1 comments

What Do ASML's Q2 2026 Results Tell Us About the AI Boom?

https://mrkt30.com/what-do-asmls-q2-2026-results-tell-us-about-the-ai-boom/
2•technewssss•19m ago•2 comments

Show HN: OpenSCAD Models for Industrial Grade R/C Lawnmower

https://github.com/zelon88/RC_Mower_Trailer
1•zelon88•22m ago•0 comments

FreeBSD 16 Retires the Last GPL Code from Its Base System

https://www.phoronix.com/news/FreeBSD-16-Goes-GPL-Free
1•brandhout•22m ago•0 comments

Chipotle to open its first restaurant in Mexico this week

https://ktla.com/news/nationworld/chipotle-opens-first-location-in-mexico/
1•mikhael•23m ago•0 comments

What makes an AI coding tool worth paying for?

https://vibecodingagency.com/gpu-cloud/
1•vibeagency•26m ago•1 comments

Grok Faces a Trust Crisis After Developers Flag a Major Privacy Concern

https://www.inc.com/julie-lee/elon-musks-grok-faces-a-trust-crisis-after-developers-flag-a-major-...
2•baranul•27m ago•1 comments

Mozilla Syncstorage-Rs (Self-Hosted Firefox Sync)

https://mozilla-services.github.io/syncstorage-rs/
1•hosteur•27m ago•0 comments

Should a smartwatch track the user's emotions?

2•accofrisk•28m ago•3 comments

Always Go with a Monorepo

https://kore-nordmann.de/blog/always_go_with_a_monorepo.html
1•ingve•28m ago•0 comments

Rebuilding Our Notification Platform for Timely Notifications

https://www.patreon.com/engineering/posts/how-we-scaled-162544709
1•birdculture•31m ago•0 comments

Why Are Japanese Retail Traders Shorting the US Dollar?

https://www.disruptionbanking.com/2026/07/15/why-are-japanese-retail-traders-shorting-the-us-dollar/
3•emsidisii•35m ago•0 comments

Web Design Museum

https://www.webdesignmuseum.org/
1•fortuitous-frog•36m ago•0 comments

Code was our medium for thought

https://wattenberger.com/thoughts/code-is-a-medium-for-thought/
2•goranmoomin•37m ago•0 comments

Pebble July 2026 Update

https://repebble.com/blog/pebble-mega-update-july-2026
1•smig0•37m ago•0 comments

An Unprecedented Data Center Boom Means New Challenges for Texas

https://www.texastribune.org/2026/06/08/texas-regulation-data-centers-electricity-power-water/
2•turtleyacht•41m ago•0 comments

Semantic Primes (2018)

http://machinamenta.blogspot.com/2018/01/semantic-primes.html
1•txoria•41m ago•0 comments

Show HN: PixFinder – Free offline AI+OCR Image Search

https://pixfinder.app/
1•alexkh•42m ago•0 comments

AI eating software: IBM crash

https://www.bargo.ai/research/ibm-ai-capex-cannibalization
1•Kavon2992•44m ago•0 comments

SpaceXAI's Unpermitted Data Center Power Project Impacts Black Communities

https://gizmodo.com/spacexais-unpermitted-data-center-power-project-impacts-black-communities-ana...
2•baranul•48m ago•0 comments

Blog about hiring was written 23 years ago (Still valid)

http://www.aaronsw.com/weblog/hiring
2•rushil_b_patel•49m ago•0 comments

Decibri – unified audio layer for AI agents and Voice AI applications

https://decibri.com
2•vyrotek•55m ago•0 comments
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