Skip to main content

Malicious code in sendgrid-sdk (npm)

0
High
Published: 06/11/2026 (06/11/2026, 05:10:36 UTC)
Source: GCVE Database
Product: sendgrid-sdk

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.

Affected software

npmghsa
sendgrid-sdk
Affected versions
=0.2.4=0.1.1=0.2.1=0.1.0=0.2.0=0.2.2=0.1.3=0.2.3=0.1.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/08/2026, 13:53:44 UTC

Technical Analysis

The malicious sendgrid-sdk npm package mimics official SendGrid packages (@sendgrid/*) but exports an empty object with no SDK features. Its postinstall script collects extensive installer environment data including hostname, reverse DNS, OS user, Active Directory domain details, proxy/VPN signals, OneDrive corporate flags, install directory, and continuous integration repository URLs. This data is exfiltrated via plain HTTP GET requests to a remote IP address (http://46.224.67.169:3000/ping) as query parameters. The package’s primary purpose is reconnaissance for follow-on attacks such as supply-chain compromises or phishing. Despite a README claiming it is a "honeypot," the package is publicly published, and users do not consent to this data collection.

Potential Impact

Unauthorized collection and transmission of sensitive environment and user information can lead to targeted supply-chain or phishing attacks. The exposure of corporate Active Directory and CI environment details increases the risk of further compromise. The use of unencrypted HTTP for data exfiltration exposes the data to interception. The impersonation of official packages increases the likelihood of accidental installation by developers.

Mitigation Recommendations

No official patch or remediation is available since this is a malicious package impersonating legitimate software. Users and organizations should avoid installing sendgrid-sdk and verify package names carefully before installation. Use trusted package sources and consider implementing package allowlists or automated scanning to detect and block malicious packages. Monitor for and remove any instances of this package in existing projects.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-5572
Osv Schema Version
1.7.4
Aliases
["GHSA-3cvf-g4vx-wgr3"]
Ecosystems
["npm"]

Threat ID: 6a96f317acd9273b49e493fc

Added to database: 09/01/2026, 15:45:27 UTC

Last enriched: 09/08/2026, 13:53:44 UTC

Last updated: 10/01/2026, 22:40:44 UTC

Views: 28

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses