MAL-2026-5572Malicious code in sendgrid-sdk (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | sendgrid-sdk | 0.1.0 |
| npm | sendgrid-sdk | 0.1.1 |
| npm | sendgrid-sdk | 0.1.2 |
| npm | sendgrid-sdk | 0.1.3 |
| npm | sendgrid-sdk | 0.2.0 |
| npm | sendgrid-sdk | 0.2.1 |
| npm | sendgrid-sdk | 0.2.2 |
| npm | sendgrid-sdk | 0.2.3 |
| npm | sendgrid-sdk | 0.2.4 |
{"schema_version":"1.7.4","id":"MAL-2026-5572","published":"2026-06-11T05:10:36Z","modified":"2026-09-01T11:20:29.883132076Z","aliases":["GHSA-3cvf-g4vx-wgr3"],"summary":"Malicious code in sendgrid-sdk (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (08f1d48bc557c6afa69c74455fe35f34ed0992082dc30fc09d032523d2329f63)\nPackage impersonates the official SendGrid npm packages (@sendgrid/*) but ships no SDK functionality — index.js exports an empty object. Its sole purpose is a postinstall recon beacon. On `npm install`, postinstall.js collects extensive installer-side identifiers — hostname, reverse-DNS FQDN, OS user, USERPROFILE, Active Directory domain (USERDNSDOMAIN, USERDOMAIN, LOGONSERVER), proxy/VPN/ZScaler environment signals, OneDrive corporate flag, install working directory, and CI repository identifiers (GitHub/GitLab/CircleCI/Travis/Bitbucket/Azure/Jenkins URLs and npm registry) — and transmits them via plain HTTP GET to http://46.224.67.169:3000/ping with each field as a query parameter (pkg, addomain, fullpath, etc.). The combination of name impersonation, empty SDK surface, and unsolicited fingerprinting of corporate AD/CI environments to a bare-IP HTTP endpoint is recon staging for follow-on supply-chain or phishing attacks. README framing this as a \"honeypot\" does not constitute installer consent — the package is published to the public npm registry where any developer mistyping the SendGrid name will trigger the beacon.\n","affected":[{"package":{"name":"sendgrid-sdk","ecosystem":"npm"},"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"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"postinstall.js","sha256":"a5c2f07299786513a13027cafbdb7c19966e5b87329925e0fc2097b1b03d7c2e","tlsh":"c2a1ff364f5545691beb211d972f740ea6bef01308a6da403eaca1942ff13931378ef5"},{"path":"package.json","sha256":"d3fc9aa5b99c8d61188be3f463009642629b0f526321e53845b1f20f51d8473c","tlsh":"cfe08c104b314e3378c8ab990d676909e9929c1785547c2d27af11988b9e37a98ff22e"}],"package_integrity":[{"filename":"sendgrid-sdk-0.2.4.tgz","hashes":{"sha1":"18ce2b97551f9c32bf4bbd4d22ebcaf538d06260","sha512_sri":"sha512-ZiZS2yFU7Qi1vzuvScReXbJQ8kju46FTi1ScJO5ejVAR2JJWssyoJ5ENFmq9TyXozhbvrryITVFFV9EgnBdXyw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/sendgrid-sdk/v/0.2.4"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/sendgrid-sdk/v/0.1.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/sendgrid-sdk/v/0.2.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/sendgrid-sdk/v/0.1.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/sendgrid-sdk/v/0.2.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/sendgrid-sdk/v/0.2.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/sendgrid-sdk/v/0.1.3"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/sendgrid-sdk/v/0.2.3"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/sendgrid-sdk/v/0.1.2"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-3cvf-g4vx-wgr3"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-005551","import_time":"2026-06-11T05:41:06.184562851Z","modified_time":"2026-06-11T05:10:36Z","sha256":"df3992f84ee5a81eb1ad508d9fd6e2a0a51f8552056effe7dece155e1fdfd619","source":"amazon-inspector","versions":["0.2.4"]},{"id":"IN-MAL-2026-005619","import_time":"2026-06-11T07:49:33.3982726Z","modified_time":"2026-06-11T06:18:53Z","sha256":"740af421012a33d5773d502ef2ac51f5697d2ec0baa0598a08afa722dd14e209","source":"amazon-inspector","versions":["0.1.1"]},{"id":"IN-MAL-2026-005621","import_time":"2026-06-11T07:49:33.600875714Z","modified_time":"2026-06-11T06:18:56Z","sha256":"76af40b4d1204d2e756b8c339048795de2e130301b007f4495e08853371fe2ed","source":"amazon-inspector","versions":["0.2.1"]},{"id":"IN-MAL-2026-005620","import_time":"2026-06-11T07:49:33.483697699Z","modified_time":"2026-06-11T06:18:55Z","sha256":"7f23e6fb704388bb60fbae0ed2d4ad51bc2cabe671da387eed6f450951c708b2","source":"amazon-inspector","versions":["0.1.0"]},{"id":"IN-MAL-2026-005624","import_time":"2026-06-11T07:49:33.927827959Z","modified_time":"2026-06-11T06:18:58Z","sha256":"a19a2f5792f568f4391d6ff89ab07575e238550f96b31c82afde532d4378cd94","source":"amazon-inspector","versions":["0.2.0"]},{"id":"IN-MAL-2026-005622","import_time":"2026-06-11T07:49:33.717452604Z","modified_time":"2026-06-11T06:18:56Z","sha256":"d1f3e67a6fb5063042d65f8123f4d2a8ae7ce481a022396e7285fe788342876d","source":"amazon-inspector","versions":["0.2.2"]},{"id":"IN-MAL-2026-005626","import_time":"2026-06-11T07:49:34.119637969Z","modified_time":"2026-06-11T06:19:09Z","sha256":"e4474baa48b79c2fdb036376386c7b83ebd7720c690e330e4e84f957d6364bee","source":"amazon-inspector","versions":["0.1.3"]},{"id":"IN-MAL-2026-005623","import_time":"2026-06-11T07:49:33.825923384Z","modified_time":"2026-06-11T06:18:57Z","sha256":"08f1d48bc557c6afa69c74455fe35f34ed0992082dc30fc09d032523d2329f63","source":"amazon-inspector","versions":["0.2.3"]},{"id":"IN-MAL-2026-005625","import_time":"2026-06-11T07:49:34.026522344Z","modified_time":"2026-06-11T06:19:06Z","sha256":"25333dd5bc97c012a677a97b234e7f79e57c49239aa138949a2b9085a3829553","source":"amazon-inspector","versions":["0.1.2"]},{"id":"RLMA-2026-05311","import_time":"2026-07-09T09:16:51.962044955Z","modified_time":"2026-07-07T13:10:20Z","sha256":"517ffe97bbd29e072cd5a00eaf32be3cf125a6f458ce7d94aa1fdd9f1e61ad1a","source":"reversing-labs","versions":["0.1.0","0.1.1","0.1.2","0.1.3","0.2.0","0.2.1","0.2.2","0.2.3","0.2.4"]},{"id":"RLUA-2026-06484","import_time":"2026-09-01T11:18:23.98264619Z","modified_time":"2026-08-24T17:10:26Z","sha256":"a8b242b30222c9474b920e7afccad20e1527634887cf923e5156e07f8eb59c58","source":"reversing-labs"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"ReversingLabs","contact":["https://www.reversinglabs.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0