frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Engineering a reusable insulin patch pump

1•u-pump•1m ago•0 comments

The Harvesting of Lettuce

https://sftw.substack.com/p/310-to-yuma
1•HR01•1m ago•0 comments

Seamless codebase-relevant context enrichment for prompts

https://github.com/arterialist/magic-prompt
1•Arterialist•2m ago•0 comments

Is Sienna Rose AI? All Signs Point to 'Yes'

https://www.rollingstone.com/music/music-news/sienna-rose-ai-artist-real-1235499068/
1•geox•2m ago•0 comments

With AI coding we can just make our own editors

https://github.com/posix4e/minivim
1•alexnewman•7m ago•1 comments

Show HN: StayUp – a background desktop app for activity-based time trackers

1•delusdev•8m ago•0 comments

How to Build an AI Agent Declaratively with Terraform

https://chatbotkit.com/tutorials/how-to-build-an-ai-agent-declaratively-with-terraform
1•_pdp_•9m ago•0 comments

Perelman's Proof of the Poincar E Conjecture: A Nonlinear PDE Perspective

https://arxiv.org/pdf/math/0610903
1•tzury•15m ago•0 comments

Show HN: SMath Units, RCPC Initiative

https://github.com/JTRSoftware/Project_RCPC/tree/main/ReadyToShare/sMath
1•jtr87•16m ago•0 comments

Blue on X: "unrot your brain"

https://twitter.com/bluewmist/status/2012755834636533893
2•bilsbie•18m ago•0 comments

Show HN: Open-source confusion matrix generator for ML models

1•pareshrnayak•18m ago•1 comments

Ljudmila

https://wiki.ljudmila.org/Main_Page
2•jruohonen•18m ago•0 comments

The real technical debt is semantic decay and only platforms can stop it

https://unvarnishedgrady.substack.com/p/on-platforms-iii-the-physics-of-meaning
1•ecurb•18m ago•0 comments

Show HN: 13MB full-text site search

https://www.asciimx.com/log/site-search/
1•kovac•19m ago•0 comments

Coding with LLMs can still be fun

https://www.codingwithjesse.com/blog/coding-with-llms-can-still-be-fun/
1•CodingWithJesse•19m ago•0 comments

Could Europe Defeat America in an All-Out War?

https://globalaffairsexplained.com/europe-defeat-america/
1•type0•21m ago•1 comments

Show HN: Moshi – Talk to Claude Code from your phone (zero desktop install)

https://getmoshi.app
1•rjyo•21m ago•0 comments

What is Plan 9?

https://fqa.9front.org/fqa0.html#0.1
15•AlexeyBrin•23m ago•3 comments

Show HN: Straw – HTTP Liquid template engine

https://github.com/moritzrinow/straw
1•devmojo•24m ago•0 comments

Stop Begging Prospects to Open Your Files

https://www.sendnow.live
2•sendnow•25m ago•0 comments

Show HN: I made a Tetris based block puzzle game

https://playdropstack.com/
3•lastodyssey•27m ago•0 comments

String Theory Can Now Describe a Universe That Has Dark Energy

https://www.quantamagazine.org/string-theory-can-now-describe-a-universe-that-has-dark-energy-202...
2•7777777phil•29m ago•0 comments

Self Driving Biology

https://mattshams.com/writings/self-driving-biology
1•hnpwd•29m ago•0 comments

Artist's Statement (1971)

https://www.emohr.com/articles-biblio/ManfredMohrParis1971Text.jpg
3•jruohonen•30m ago•0 comments

I hotreload Rust and so can you

https://kampffrosch94.github.io/posts/hotreloading_rust/
2•birdculture•31m ago•0 comments

Show HN: LlmSHAP – Multi-threaded input importance for prompts and RAG context

https://github.com/filipnaudot/llmSHAP
4•filipn9•36m ago•3 comments

QKX Exchange Red Flags: When Charts Don't Match Real Market Behavior

1•Kangaroo_•38m ago•0 comments

I went from literature/language to Rust systems programming in under a year

https://github.com/whispem
1•whispem•39m ago•1 comments

Software engineers can no longer neglect their soft skills

https://www.qu8n.com/posts/most-important-software-engineering-skill-2026
2•quanwinn•41m ago•0 comments

Show HN: I learned to code at 84 to build a privacy-first location app

https://placemeguardian.com/demoportal.php
1•morgleman•42m 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•9mo ago

Comments

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

nailer•9mo 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•9mo ago
Yes. It’s an engineering failure to have multiple copies of the same logic. That isn’t specific to JavaScript.
tough•9mo 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

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

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

abhisek•9mo 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•9mo ago
.xyz isn’t exotic for blockchains.