package-with-conditions (npm) · Malicious Code
Affects package-with-conditionsSource GCVE Database
Malicious package : remove package-with-conditions and rotate any secrets on hosts that installed it.
Data as of 28 Nov 2026, 12:56 UTC
Malicious package
Published to npm · OSV MAL-2025-6263
What to do
Remove package-with-conditions 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 |
|---|---|---|
| npmpackage-with-conditions | 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 'package-with-conditions' versions 10.0.1 and 10.1.0 have been identified as malicious. This package communicates with domains linked to malicious activity and executes commands associated with harmful behavior. Any system with this package installed should be considered fully compromised, and all stored secrets and keys must be rotated immediately from a secure environment. Removal of the package alone may not eliminate all malicious software introduced by it.