frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Introduction to Program Synthesis (Fall 2025)

https://people.csail.mit.edu/asolar/SynthesisCourse/index.htm
1•hedonhermdev•20s ago•0 comments

Who Pays for AI Data Centers?

https://www.youtube.com/watch?v=NyOeLB0WVNE
1•Betelbuddy•4m ago•0 comments

I'm Still Convinced the iPod Was the Perfect Gadget

https://www.wired.com/story/im-still-convinced-the-ipod-was-the-perfect-gadget/
1•vikas-sharma•5m ago•0 comments

John Carmack on the Goose Language: multiple data stacks and relative references

https://twitter.com/ID_AA_Carmack/status/2113704269274636568
4•bobbydigitales•6m ago•0 comments

Poldi – Local offline AI assistant/"companion" for the GPU poor

https://github.com/RhinoDevel/poldi
1•RhinoDevel•7m ago•0 comments

Ask HN: How do you effectively prevent full-site cloning and back end hacking?

1•shaikhmubin•7m ago•0 comments

Show HN: Mini-batch k-means clustering for PyTorch tensors

https://github.com/mb-14/minibatch-kmeans
1•mb14•7m ago•0 comments

An examination of lost firefly species of the US and Canada

https://journaloflostspecies.org/index.php/jls/article/view/37/33
1•bryanrasmussen•9m ago•0 comments

PHP Foundation 'under-funded' with one full-time staff member, director says

https://www.reuters.com/technology/php-foundation-under-funded-with-one-full-time-staff-member-di...
4•firesteelrain•9m ago•0 comments

Building agents: When to fold subagents into your main agent loop

https://claude.com/resources/articles/building-agents-when-to-fold-subagents-into-your-main-agent...
1•pretext•11m ago•0 comments

NHTSA Updates Vehicle Lighting Standards for AVs

https://www.nhtsa.gov/press-releases/vehicle-lighting-updates-automated-vehicles
1•reaperducer•11m ago•0 comments

Walt – Degoogled Tap-to-Pay

https://walt.is
3•flawn•22m ago•0 comments

Show HN: Infinite-Zoom Collaborative Canvas

https://neverendingpainting.art/
1•theneverendingp•23m ago•1 comments

About the compromised eMudhra intermediate CAs

https://support.apple.com/en-us/149555
4•stalfosknight•25m ago•0 comments

It Looked Like a New Species. The Trouble Was, It Didn't Exist

https://thelivinglib.org/it-looked-like-a-new-species-the-trouble-was-it-didnt-exist/
1•jruohonen•26m ago•0 comments

Ask HN: What's your vision of the care-free life?

1•llkyh•31m ago•0 comments

AI: EU Member States approve "digital expropriation" for AI companies

https://noyb.eu/en/ai-eu-member-states-approve-digital-expropriation-europeans-ai-companies
3•h1x•40m ago•1 comments

Danish Government silently drops plan to dump MS Office

https://www.computerworld.dk/art/297226/digitaliseringsministeriet-har-i-al-stilhed-droppet-stort...
33•lowkeyokay•42m ago•1 comments

Chess Arena – Minimal chess vs. Hard AI (vanilla JavaScript, no login)

https://playgama.ai/play/xl6duef7p3
2•Roniad•47m ago•0 comments

GPU tensor unlock source for RTX 4090 and experimental RTX 4070 Ti SUPER

https://github.com/JustAResearcher/gpu-unlock-ada
3•simonpure•49m ago•1 comments

Dream-1

https://dreamlabs.ai/research/dream-1/
41•GaggiX•50m ago•13 comments

Bbtree: Fastest Ordered Map

https://bbtree.xiangpeng.systems/post/
2•aoli-al•51m ago•0 comments

Show HN: A randomized controlled trial run inside an agent simulation

https://jameswniu.github.io/multi-agent-causal-marriage-simulation/
1•Hazelbolts•53m ago•0 comments

Show HN: Agentsh – A Decentralized, Scalable Multiagent Harness

https://github.com/microsoft/Agensh
1•brunoborges•54m ago•0 comments

Glymphatic clearance to alleviate traumatic brain edema& Alzheimer's pathology

https://www.science.org/doi/10.1126/sciadv.aeh8870
15•ersinesen•54m ago•3 comments

Decompiling Fast Food Tycoon 2: Drawing the World

https://healeycodes.com/decompiling-fast-food-tycoon-2-drawing-the-world
1•healeycodes•55m ago•0 comments

Ask HN: Windows Signing for FOSS Projects

2•johnj-hn•56m ago•0 comments

What if you could have AI applied to your brain?

1•whiteangel1984•57m ago•0 comments

OpenLoco, a remake of the 1998 classic game Lego Loco

https://github.com/AlexSDevDump/OPEN-LOCO
1•mschuster91•57m ago•1 comments

Show HN: The missing clipboard history for macOS that idles at 16 MB

https://roush.io/paste-buff
3•jjroush•58m 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