MAL-2026-5842 Malicious code in browserslist-db-sync (npm)
- Package
- browserslist-db-sync
- Registry
- npm
What is MAL-2026-5842?
MAL-2026-5842 is a malicious package in browserslist-db-sync, published on 15 Jun 2026.
Official description
lib/mirror.js line 13 contains a Buffer.from(…, "base64").toString("utf8") pattern. This decoding primitive is common in benign code (parsing JWTs, decoding configuration, handling embedded assets) but is also used to obfuscate hardcoded URLs, payloads, or credentials. Contextual tracing of how the decoded value is used did not complete, so intent cannot be determined from the available evidence. The package name suggests a browserslist database mirror/sync utility; a human reviewer should confirm whether the decoded data is benign content (configuration, mirror URL) or hides attacker-controlled strings or executable payload.
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
What should I do about MAL-2026-5842?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.
Sources
Also known as GHSA-mfw9-5hqc-vc53.