m365-action-sdk (npm) · Malicious Code
Affects m365-action-sdkSource GCVE Database
Malicious package : remove m365-action-sdk and rotate any secrets on hosts that installed it.
Data as of 21 Nov 2026, 03:54 UTC
Malicious package
Published to npm · OSV MAL-2025-191500
What to do
Remove m365-action-sdk from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmm365-action-sdk | Affected– | Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm package m365-action-sdk was found to contain malicious code. Any system with this package installed or running should be considered fully compromised. It is advised to remove the package and immediately rotate all secrets and keys from a different, uncompromised computer. Due to potential full control by an attacker, removing the package alone may not eliminate all malicious software.