Syntax Snack Pack: When Chalk, Debug, and Color turn against you…


A Tasty Treats NEWSLETTER for Web Developers

Issue #53:

  • HTML tips so good you’ll wonder why no one told you sooner
  • jQuery refuses to die — and it might outlive us all
  • Color-shifting CSS tricks to make your UI look like it’s in a Marvel movie
  • Hot take: What’s harder - front-end or back-end?
  • Did you see we dropped the first batch of limited-edition web dev pin packs???

🚨🗞️ BREAKING NEWS

The maintainer of 18 widely used npm packages (over 2 BILLION downloads per week in total) including debug, chalk and color - got hacked and his credentials were used to publish malicious versions of these packages.

You might not use these dependencies directly BUT your dependencies might use these, so you should check if you have any of the listed versions installed (see below for scripts).

For a detailed timeline of what happened and an analysis of the malware see this post by Aikido.

TLDR: maintainer got phished, attackers published crypto stealing malware with his credentials, npm removed the packages after 1 hour, compromised packages still got downloaded millions of times within that hour, the included malware was just crypto stealing that only worked in the browser 🤦‍♂️ (no machine persistence, RCE or other credentials stolen).

To check if you've been impacted:

  • Check your local node_modules to see if it contains the malware: grep -R 'checkethereumw'
  • Check your npm cache with this script by phxgg
  • Check your project with this script by AndrewMohawk

Thanks to this post by Security Alliance for the remediation links.

Stay safe out there - don't click links in emails, pin your package versions, eat your veggies.

- CJ

HTML tips you won’t find in most tutorials

FROM CJ

Sick tips for all you HTML programmers out there.

jQuery - The Library That Won't Die

CJ'S LINK

Why jQuery is still relevant in 2025

Color Shifting in CSS

HAND selected by cj

An exploration of color animation techniques with CSS.

just for fun:

slideventura.com - Ace Ventura sliding door simulator

fun PROVIDED by cj

Slide your mouse to re-live a classic movie scene.

All Hail The Algorithm

Some good stuff™ from the socials

The Feed

New episodes 2×/week + other new video content!

SHAMELESS PLUG

SvelteKit observability just got 10x better,
and we’re here for it

The Svelte team just rolled out full observability and tracing support for SvelteKit — making it the first ESM-based meta-framework with built-in instrumentation.

Great news for Sentry users, and a big step forward for the JavaScript ecosystem.

Syntax

Read more from Syntax

A Tasty Treats NEWSLETTER for Web Developers Issue #57: Live(ish) from GitHub Universe: VS Code, GitHub, and Copilot updates worth tuning in for CJ pokes around Apple’s leaked source code — and finds gold A TypeScript dev big-brained regex with full type safety Plus: The horse that just won’t quit A special shoutout to those who came and hung out with us in SF last week.🫶 Clues By Sam FROM scott Daily logic puzzle. Your goal is to figure out who is criminal and who is innocent. Sick Shaders...

A Tasty Treats NEWSLETTER for Web Developers Issue #56: Snag swag & drink beers with us at Barebottle Brewing in San Francisco next Monday @5PM! RSVP Did you see that CJ is quitting AI coding? Cloudflare’s new “Code Mode” might be the first sane MCP tool @ts-ignore isn’t your get-out-of-TypeScript-free card @ts-ignore is almost always the worst option FROM CJ You should probably be using these things instead of @ts-ignore. Code Mode: the better way to use MCP cj'S LINK Cloudflare has come up...

A Tasty Treats NEWSLETTER for Web Developers Issue #55: First up, a warm welcome to Niki Brandner, the newest member of the Syntax team! She’s joining us as a Senior Podcast Producer — and we’re stoked to have her on board.Gear up for a long one — but trust us, it’s stacked. We'll skip the bullets, dive on in. BIG NEWS Open AI Launched a few new products yesterday at their Dev Day. Some interesting ones are ChatKit - a sort of boilerplate for building agentic chat experiences. They also...