fazzgram
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-vjhp-hr8c-42m8
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in fazzgram (npm)
---
_-= 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.
Not rated by the source.
0 (semver)None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0