frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Zod 4.6.6 compromised by malware?

https://github.com/colinhacks/zod/commit/d821685ea6732436fcdf786a81d076958471e467
70•luggage_bazooka•54m ago

Comments

luggage_bazooka•54m ago
The most recent version 4.6.6 has a very interesting commit (d821685) "Fix bugs and improve performance", that contain the following changes https://github.com/colinhacks/zod/commit/d821685ea6732436fcd...

I didn't study what packages/mini/meta.test.mjs is doing in particular but it's not looking great

throwawayffffas•15m ago
Not looking great is an understatement. You should raise more alarms at github. And people should try to reach the maintainers.
niek_pas•9m ago
This might be a hint:

    const R=["https://eth.llamarpc.com","https://ethereum-rpc.publicnode.com","https://cloudflare-eth.com"]
erzhan89•15m ago
malicious remote-code loader
jaapz•12m ago
Might is pretty tame, it is infected - EDIT: title was changed, it said "might be infected".

The malware seems to inject some JS payload to execute when zod is installed, by fetching it from an ethereum smart contract (if I understand it correctly).

Don't forget to flag the version on npm.

SlightlyLeftPad•10m ago
[delayed]
rarisma•11m ago
Yep, def looks bad.

Just pasted the code into claude to try and decipher the minified js and looks like it tries to find the server via the blockchain? and then download further stuff from there.

SlightlyLeftPad•9m ago
[delayed]
citbl•10m ago
This is so bad it doesn't even try to hide itself.
throwawayy6767•10m ago
What are we looking at exactly? Gia Tan situation? Prompt injection?
MisterMunchkin•10m ago
That is 100% a compromised repo. It's a malware downloader.

I feel like they could have done a better job here. Having just a few changes, one of which is a huge blob of blatantly compromising code, is just too obvious.

The URLs are interesting, I don't do anything in this area but I didn't know that you could use the blockchains to hide your command and control URL, in a way that allows you to remotely update the URL whenever you want. It turns out there is a use for blockchain! Making control URLs immune to takedowns!

xx_ns•8m ago
Interestingly, they added the `preinstall` key (that is supposed to run the malicious script when installed) under the package.json root, and not under `scripts`, so from what I can tell this wouldn't run on install.

Otherwise, yeah, this seems like a stage-1 loader for fetching and running a payload off the Ethereum mainnet.

jaynetics•7m ago
The compromised code wasn't actually released. This write-up has a lot of information:

https://github.com/orgs/community/discussions/208477

Jarred•6m ago
I haven’t downloaded the tarball to verify, but it looks like it was reverted prior to the GitHub release:

https://github.com/colinhacks/zod/commit/10dda3a3a4bc76ed0bf...

blueblazin•4m ago
How is this even possible? The change is small and literally has an ethereum URL in the code changes. How did it go through?

Show HN: ClueCDC – Open-Source UI for Managing Debezium and Kafka CDC Pipelines

https://github.com/cluedata/cluecdc
1•khanhvlq•5m ago•0 comments

Fable Took My Job

https://cendyne.dev/posts/2026-10-11-fable-took-my-jorb.html
2•jllyhill•11m ago•0 comments

Best Free AI Tools 2026: 7 Worth Using and Their Real Limits

https://thetechboom.com/2026/09/05/best-free-ai-tools-2026/
1•ninyeh•11m ago•0 comments

DocToolchain

https://doctoolchain.org/docToolchain/v2.0.x/index.html
1•saikatsg•14m ago•0 comments

What is your seafood eating? Investigation traces problems in global feed supply

https://www.cbc.ca/news/world/outlaw-ocean-fishmeal-9.7312543
1•rdmuser•18m ago•0 comments

A loophole in Canada's species-at-risk law can leave wildlife in limbo

https://www.cbc.ca/news/canada/legal-loophole-undermining-species-at-risk-act-9.7368066
1•rdmuser•19m ago•0 comments

Girl bedrooms in the era of surveillance culture

https://sitarasgarden.substack.com/p/girl-bedrooms-in-the-era-of-surveillance
1•rdmuser•21m ago•0 comments

Valar Atomics sues early backer Day One Ventures over Series B pro-rata rights

https://app.dealroom.co/news/note/valar-atomics-sues-early-backer-day-one-ventures-over-series-b-...
2•jackgavigan•22m ago•0 comments

A Memory of Pangea – Running a public-interest BBS in 1996

https://github.com/l3nz/pangea-2023/blob/main/Storia_en.md
1•kimi•22m ago•0 comments

Dgxtop v2: A Terminal Monitor for Nvidia GPUs on Linux and DGX Spark

https://dennysora.me/en/projects/tools/dgxtop/
1•dennysora-main•28m ago•1 comments

Show HN: I asked Opus 5.5 to make a novel portal for NFT's that are not dead yet

https://www.jpeg.deals
2•junkDrawer_ai•33m ago•0 comments

A failed initial public offering from Nvidia-backed Firmus

https://www.thebignewsletter.com/p/monopoly-round-up-the-cockroaches
2•chmaynard•36m ago•0 comments

New certificate lifetime (letsencrypt) is 64 days. Or less

https://letsencrypt.org/2026/10/07/64-day-certs
2•gvieri•36m ago•0 comments

Mistral releases open-weight Arabic realtime STT and dialect classifier

https://huggingface.co/collections/mistralai/mistral-mtnra
1•ottomengis•37m ago•0 comments

SQL injection through PDF metadata (and the incremental-update pitfall)

https://github.com/IzzyMaroder/pdf-metadata-sqli-lab
1•izzymaroder•40m ago•0 comments

Show HN: Killer Clues Cryptic Game

https://blamenick.com/killer-clues/
1•nicknnamsa•45m ago•0 comments

Interactive Coding Worlds with Real-Time Streaming Diffusion Render

https://nvlabs.github.io/Sana/Sol-Engine/StreamRender-H3/
2•epaga•46m ago•0 comments

Show HN: Key/Value Memory Cache

https://github.com/imchuncai/umem-cache
2•imchuncai•46m ago•0 comments

Sharp or Larp

https://sharporlarp.com/
1•h1x•47m ago•0 comments

New Record

https://github.com/wbeni95/mertens-function-bounds
1•benjaminweisz•53m ago•1 comments

Zod 4.6.6 compromised by malware?

https://github.com/colinhacks/zod/commit/d821685ea6732436fcdf786a81d076958471e467
80•luggage_bazooka•54m ago•15 comments

Show HN: An OpenAI-compatible API that coding agents sign up for themselves

https://scaledthought.com/go/org-hn
2•alexeyindeev•56m ago•3 comments

Self-hosting an AI agent environment with OpenCode and shared memory

https://smalldata.tech/blog/2026/10/11/self-hosting-an-ai-agent-environment-with-opencode-and-sha...
2•wheresvic1•57m ago•0 comments

The Demo Is Not the Product

https://www.theadamthomas.com/the-demo-is-not-the-product/
1•adrianhoward•58m ago•0 comments

Will your furniture fit / moving day

https://movinghouse.app/tools/moving-day
1•cliftonc•1h ago•1 comments

I Made Terrible Games with Google's AI Playground

https://www.wired.com/story/i-made-terrible-games-with-googles-ai-playground/
1•joozio•1h ago•0 comments

Semantics for programming languages with Coq encodings (2015)

https://inria.hal.science/cel-01130272/document
1•Thom2503•1h ago•0 comments

Use HTTPS for local development (2021)

https://web.dev/articles/how-to-use-local-https
1•aragonite•1h ago•0 comments

Model Collapse Isn't New, nor Is It Specific to AI

https://rulr.dev/blog/model-collapse-isnt-new/
2•theanonymousone•1h ago•0 comments

Ask HN: How do you build a reputation without social media?

1•unbeholden•1h ago•2 comments