@swiggy-private/js-utils (npm) · Malicious Code
Affects @swiggy-private/js-utilsSource GCVE Database
Malicious package : remove @swiggy-private/js-utils and rotate any secrets on hosts that installed it.
Data as of 21 Nov 2026, 03:55 UTC
Malicious package
Published to npm · OSV MAL-2024-12168
What to do
Remove @swiggy-private/js-utils 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 |
|---|---|---|
| npm@swiggy-private/js-utils | 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 @swiggy-private/js-utils contains malicious code that compromises any computer on which it is installed or running. The presence of this package indicates a full system compromise, requiring immediate rotation of all secrets and keys from a different, uncompromised machine. Simply removing the package does not guarantee removal of all malicious software introduced by it.
References
- github.com/advisories/GHSA-8hx8-3r9w-cc2f (opens in a new tab)
- security.snyk.io/vuln/SNYK-JS-SWIGGYPRIVATEJSUTILS-8553968 (opens in a new tab)
- github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/%40swiggy-private/js-utils/MAL-0000-ghsa-malware-dde360b840cb400d.json (opens in a new tab)
- github.com/github/advisory-database/issues/6102 (opens in a new tab)