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

ms-affiliate-linksnpm

Advisory published Updated

ms-affiliate-links is a confirmed malicious npm package (MAL-2026-2643) that executes malicious code on install (malicious version 99.0.0). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in ms-affiliate-links (npm)

MAL-2026-2643
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall ms-affiliate-links

What this malware does

The package ms-affiliate-links was found to contain malicious code.

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.

Malicious versions

1 flagged
99.0.0

Indicators of compromise (SHA-256)

ab4cc1e50ba42205438ad4545163f0b82122b7cc28ee037793e09f46f2b640a0
dcc81049c4459a62812c221192f3a89e23aa1e292eaf247c67b9f851bcb4837a
341048b16926b4d40796ca96aef3816934a2b84602c26451638154b6d90ab5d8
2bf0e2aaa356708ab97410e076757402ae3cd092e7ea3f043e35e78b63f19127

Detection & response playbook

Malicious package
  1. Find it

    Search your lockfiles and build artifacts for ms-affiliate-links (version 99.0.0).

  2. If you installed it — respond

    Remove ms-affiliate-links from your project and lockfile, then assume any secrets accessible to the build or runtime were exposed: rotate API keys, tokens, and credentials, and audit for unexpected outbound activity or persistence.

  3. Did it already run?

    If ms-affiliate-links 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. ms-affiliate-links on npm has been identified as a malicious package (version 99.0.0 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

GHSA-44p5-8q53-5vm5RLMA-2026-01994RLUA-2026-05168

References

Credits

  • Amazon Inspector · finder
  • ReversingLabs · finder

Detect & block this

O3 blocks ms-affiliate-links-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

ms-affiliate-links (npm) malicious package — MAL-2026-2643 | O3 Security