cvelo
P2 · HighMalware

Malicious code in tg-msg-effect (npm)

  • GHSA-79jw-734h-5fvr

Description

`tg-msg-effect` poses as a Telegram message-effect helper. On import, `index.js` starts a detached, silenced `node core.js`. On Windows, `core.js` walks drives C: to Z:, collects every Telegram Desktop `tdata` session folder (the 16-hex session files, `<hex>s` directories and `key_datas`), zips them into `data_archive.zip` and uploads it to a base64-encoded, hardcoded Telegram bot (bot8456787917, chat 8120002132) via `sendDocument`. This hands the publisher the victim's logged-in Telegram sessions. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/b898a012b7d4c9d139a04141e5e4359c2df6c601/osv/malicious/npm/tg-msg-effect/MAL-2026-19950.json))

Text from the GitHub Advisory record.

Recommendation

Remove the package and rotate any secret the machine that installed it could reach. There is no version to update to.

Affected

  • tg-msg-effectnpm

    Affected versionsFixed in
    all versionsnone stated

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.