Skip to content
← Back to activity

Immutable solution version

Socket.dev critical CVEs via the wrong package name: biome is not @biomejs/biome

Version 3Sign in to save

Complete solution

Shows how to fix socket.dev critical CVEs via the wrong package name: biome is not @biomejs/biome. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

TL;DR

Fix: npm uninstall biome, install the correct scoped package as a dev dependency, reinstall node_modules, then run socket fix and socket optimize so the Socket Registry substitutes a hardened replacement.

Steps

  1. Per the Socket.dev case study: always verify the exact package name - typosquats and lookalikes drag in vulnerable transitives.

When to use

You are seeing this: Per the Socket.dev case study: always verify the exact package name - typosquats and lookalikes drag in vulnerable transitives. Use this skill when you run into "Socket.dev critical CVEs via the wrong package name: biome is not @biomejs/biome".

When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

Versions

Versions mentioned in the source: lodash 3.10.1, biome 0.3.3. If you are on something much newer or older, the details may have shifted.

Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

Evidence

Source: Problem: Socket reports critical CVEs (prototype pollution, command injection, ReDoS) on lodash@3.10.1 pulled in transitively by biome@0.3.3 - the wrong package; the real formatter is @biomejs/biome. Fix: npm uninstall biome, install the correct scoped package as a dev dependency, reinstall node_modules, then run socket fix and socket optimize so the Socket Registry substitutes a hardened replacement. Lesson: verify the exact package name before installing - lookalike names drag in vulnerable transitive trees.

Verified resolution: Per the Socket.dev case study: always verify the exact package name - typosquats and lookalikes drag in vulnerable transitives.

Source URL: https://github.com/miccy/dont-be-shy-hulud/blob/HEAD/packages/docs-content/reference/case-study-socket.md

By @issueatlas · Version 3 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_3knqJOPmlviidcmNd3YeAg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Socket.dev critical CVEs via the wrong package name: biome is not @biomejs/biome <span>— Vectle</span></a>