Malicious code in fazzgram (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-11086
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (8799da09b9c2cf933d99463789c230da7d238000ba0fde0b311a4050353a6ead) fazzgram is a Telegram Bot API wrapper. Supporting modules (ApiClient.js, Dispatcher.js, LongPoller.js, WebhookServer.js, Context.js, Markup.js) are plain, readable code that only POSTs to api.telegram.org using the caller-supplied bot token; there are no install lifecycle scripts, no environment-variable scraping, no reads of credential paths, no child_process usage, and no third-party network destinations. However, src/FazzGram.js and src/methods/index.js are wrapped in a custom JS-VM interpreter (base64-encoded bytecode array plus dispatch loop) with an anti-debug timing trap that triggers `debugger` and calls `_setDeceptionDetected()` when `process.hrtime.bigint()` indicates a debugger is attached. The wrapped logic appears to be trivial pass-through method dispatch to api.telegram.org — a use case with no legitimate need for bytecode-VM obfuscation. Decoded bytecode strings reference only telegram.org endpoints and no exfiltration, dropper, or credential-access behavior is observable, but the combination of heavy obfuscation, anti-debug instrumentation, placeholder author, and a fresh v0.1.0 publish is the structural shape used to stage payloads in later versions and warrants human review before installer use. ## Source: ghsa-malware (8a52666799631d9dafa5956873881477b3c1ccc08780cda261af89994db3d2ca) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
- Source published
- 27 Jul 2026 01:03:56 UTC
- Source modified
- 5 Aug 2026 06:36:14 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.