MAL-2025-191298Malicious code in @posthog/postgres-plugin (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | @posthog/postgres-plugin | 0.0.8 |
{"modified":"2025-12-01T04:28:26Z","published":"2025-11-25T00:16:49Z","schema_version":"1.7.4","id":"MAL-2025-191298","summary":"Malicious code in @posthog/postgres-plugin (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (10be24eebbc464a61788d5c151ce03171d4abe4b1cd7f27972fef642fc46deda)\nThe package @posthog/postgres-plugin was found to contain malicious code.\n\n## Source: google-open-source-security (7206a572ee8885a5159e862cc2b41998083ae7147b155f36d1e2b27ff36486f1)\nThis package was compromised by the Sha1-Hulud: The Second Coming NPM worm.\nThe malicious payload steals tokens and credentials and publishes them to\nGitHub. The worm will propogate itself to NPM packages the user owns and\nestablish persistence is a GitHub action.\nThe package may also destroy the user's home directory.\n","affected":[{"package":{"ecosystem":"npm","name":"@posthog/postgres-plugin"},"versions":["0.0.8"]}],"references":[{"type":"WEB","url":"https://www.aikido.dev/blog/shai-hulud-strikes-again-hitting-zapier-ensdomains"},{"type":"WEB","url":"https://www.wiz.io/blog/shai-hulud-2-0-ongoing-supply-chain-attack"},{"type":"WEB","url":"https://www.stepsecurity.io/blog/sha1-hulud-the-second-coming-zapier-ens-domains-and-other-prominent-npm-packages-compromised"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["actran@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"google-open-source-security","sha256":"7206a572ee8885a5159e862cc2b41998083ae7147b155f36d1e2b27ff36486f1","import_time":"2025-11-25T00:17:32.856551Z","modified_time":"2025-11-25T00:16:49Z","versions":["0.0.8"]},{"source":"amazon-inspector","sha256":"10be24eebbc464a61788d5c151ce03171d4abe4b1cd7f27972fef642fc46deda","import_time":"2025-12-01T04:26:50.903988383Z","modified_time":"2025-12-01T04:11:22Z","versions":["0.0.8"]}]}}数据来源:OpenSSF Malicious Packages · Apache-2.0