NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
Malicious package

cloudsmith-vscnpm

Advisory published Updated

cloudsmith-vsc is a confirmed malicious npm package (MAL-2026-4530) that typosquats a legitimate package to trick installs (malicious version 2.1.2). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in cloudsmith-vsc (npm)

MAL-2026-4530
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall cloudsmith-vsc

What this malware does

package.json declares a preinstall hook ("preinstall": "node index.js") that runs automatically on npm install. index.js reads installer-side system identity and files — os.hostname(), os.userInfo(), homedir, DNS configuration, package metadata, /etc/passwd, and /etc/hosts — and POSTs them over HTTPS to a hardcoded Burp Collaborator subdomain (6hoa7n94q5v6yig1hqokwg6f066zupie.oastify.com). The package metadata is empty (no description, author, or license) and the name impersonates the Cloudsmith vendor brand, consistent with a dependency-confusion / typosquat recon-and-exfil payload. Any machine that installs this package transmits host fingerprinting and local account data to the attacker.

Malicious versions

1 flagged
2.1.2

Indicators of compromise (SHA-256)

2b49ad4432747f754181e7a8428aff5fd2613f9d86283f05a04c2dd1f9ac2f2f
b426dccab89457fd791a8fd83473fe7afa862d2e532c41b1fd635bb251e5c830

Detection & response playbook

Typosquat
  1. Find it

    Search your lockfiles and build artifacts for cloudsmith-vsc (version 2.1.2).

  2. If you installed it — respond

    cloudsmith-vsc is a typosquat — you almost certainly intended a legitimately-named package. Remove cloudsmith-vsc, install the correct package, and rotate any secrets exposed during the install since post-install scripts may have already run.

  3. Did it already run?

    If cloudsmith-vsc was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.

Frequently asked questions

No. cloudsmith-vsc on npm has been identified as a malicious package (version 2.1.2 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-004014IN-MAL-2026-004015

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks cloudsmith-vsc-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.

Explore

cloudsmith-vsc (npm) malicious package — MAL-2026-4530 | O3 Security