sendgrid-sdk (npm) · Malicious Code
Affects sendgrid-sdkSource GCVE Database
Malicious package : remove sendgrid-sdk and rotate any secrets on hosts that installed it.
Data as of 8 Sep 2026, 13:53 UTC
Malicious package
Published to npm · OSV MAL-2026-5572
What to do
Remove sendgrid-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 |
|---|---|---|
| npmsendgrid-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 sendgrid-sdk npm package impersonates official SendGrid packages but contains no SDK functionality. Instead, it performs unauthorized reconnaissance by collecting detailed environment and user information during installation and sending it via unencrypted HTTP to a remote server. This behavior is designed to gather intelligence for potential supply-chain or phishing attacks. The package is publicly available on the npm registry, risking inadvertent installation by developers who mistype the package name.
References
- npmjs.com/package/sendgrid-sdk/v/0.2.4 (opens in a new tab)
- npmjs.com/package/sendgrid-sdk/v/0.1.1 (opens in a new tab)
- npmjs.com/package/sendgrid-sdk/v/0.2.1 (opens in a new tab)
- npmjs.com/package/sendgrid-sdk/v/0.1.0 (opens in a new tab)
- npmjs.com/package/sendgrid-sdk/v/0.2.0 (opens in a new tab)
- npmjs.com/package/sendgrid-sdk/v/0.2.2 (opens in a new tab)
- npmjs.com/package/sendgrid-sdk/v/0.1.3 (opens in a new tab)
- npmjs.com/package/sendgrid-sdk/v/0.2.3 (opens in a new tab)
- npmjs.com/package/sendgrid-sdk/v/0.1.2 (opens in a new tab)
- github.com/advisories/GHSA-3cvf-g4vx-wgr3 (opens in a new tab)