npm · Malicious package advisory
Malwaresanitize-url
MAL-2026-2701
Malicious code in sanitize-url (npm)
Details
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (36f98260cc1b910a8921671795398ad7f986f02b0b7bc8efef18a4df09b87d51) The package sanitize-url was found to contain malicious code. ## Source: ossf-package-analysis (0614e2498dbee5c3133dc2dff5457f14cd9f7cd1ec54ac26a035f895c396bbfa) The OpenSSF Package Analysis project identified 'sanitize-url' @ 8.9.9 (npm) as malicious. It is considered malicious because: - The package communicates with a domain associated with malicious activity. - The package executes one or more commands associated with malicious behavior.
Compromised versions (1)
- 8.9.9
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.