cvelo
P2 · HighMalware

Malicious code in lgcook (npm)

  • GHSA-g32j-5xrq-mg65

Description

Malicious package. A dependency-confusion style package (version 99.1.1) whose install script runs an inline `node -e` payload that collects the package name, the user name and the hostname, looks up the public IP via `api.ipify.org`, and sends it to a hardcoded Telegram bot (bot 8236864682, chat 8655055695). Observed in a sandboxed install. The same bot is used by packages already in OSV (pa-marked, pa-marked-internal, chandan-module-test). Published 2026-04-19T19:04Z and unpublished from npm about 15 minutes later. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/c12c2501196fb99e4c30b2533ea0ab512c576d14/osv/malicious/npm/lgcook/MAL-2026-20047.json))

Text from the GitHub Advisory record.

Affected

  • lgcooknpm

    • No versions listed

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.