Urgent.News

What's breaking now, across thousands of outlets.

Tech

Zod Got Backdoored. Your Lockfile Didn't Save You, Luck Did.

Zod is in roughly every TypeScript codebase you've touched. Last weekend, "Zod 4.6.6 compromised by malware?" hit the front page of Hacker News. Here's what actually happened, and why the lucky ending shouldn't make you relax. TL;DR Malicious commits were pushed to colinhacks/zod on GitHub. Same pattern hit nubjs/nub and standard-schema/standard-schema . The payload was a remote loader that asks…

Malicious files appeared in test paths within the Zod and standard-schema TypeScript codebases, leading to a compromised version being pushed to GitHub. The attacker used Ethereum smart contracts to download and execute remote JavaScript. The malicious commit was reverted, and npm's preinstall scanning prevented the release of the compromised package.

This incident highlights the importance of securing dependencies by disabling install scripts, maintaining fresh versions, adding cooldowns, and properly verifying and pinning lockfiles.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Sizing a self-hosted forge: finding Gitea instances before you patch

Sizing a self-hosted forge: finding Gitea instances before you patch Patch management for a self-hosted product starts with a question the vendor cannot answer: how many of these do we run, and which…

  • Organizations must identify all self-hosted Gitea instances before patching.
  • Comprehensive inventory of Gitea instances is essential to mitigate potential compromise.

Carku wins Global Sources Innovation Award for portable power station

Battery manufacturer Carku received the 2026 Global Sources Innovation Award in Hong Kong for its PB 113 400W portable energy storage system

  • Carku wins Global Sources Innovation Award for portable power station
  • PB-113 model features 400W AC output for off-grid travel
  • Leadership emphasizes safety in emergency jump-starting and energy storage

More from Monday 12 October →