{"id":"MAL-2026-11086","summary":"Malicious code in fazzgram (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (8799da09b9c2cf933d99463789c230da7d238000ba0fde0b311a4050353a6ead)\nfazzgram 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.\n\n## Source: ghsa-malware (8a52666799631d9dafa5956873881477b3c1ccc08780cda261af89994db3d2ca)\nAny 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.\n","aliases":["GHSA-vjhp-hr8c-42m8"],"modified":"2026-08-05T06:36:14.369119885Z","published":"2026-07-27T01:03:56Z","database_specific":{"malicious-packages-origins":[{"source":"ghsa-malware","id":"GHSA-vjhp-hr8c-42m8","import_time":"2026-07-27T09:43:03.850287853Z","modified_time":"2026-07-27T01:03:57Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"8a52666799631d9dafa5956873881477b3c1ccc08780cda261af89994db3d2ca"},{"modified_time":"2026-08-05T05:21:12Z","sha256":"6820706db530efa97735df93c67a343063125ca74bd9e02687b647a2d917f9a8","source":"amazon-inspector","versions":["0.1.1"],"id":"IN-MAL-2026-013012","import_time":"2026-08-05T06:00:30.881970517Z"},{"sha256":"8799da09b9c2cf933d99463789c230da7d238000ba0fde0b311a4050353a6ead","source":"amazon-inspector","versions":["0.1.0"],"id":"IN-MAL-2026-012996","import_time":"2026-08-05T06:00:28.95966129Z","modified_time":"2026-08-05T05:19:01Z"}]},"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-vjhp-hr8c-42m8"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/fazzgram/v/0.1.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/fazzgram/v/0.1.0"}],"affected":[{"package":{"name":"fazzgram","ecosystem":"npm","purl":"pkg:npm/fazzgram"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["0.1.1","0.1.0"],"database_specific":{"cwes":[{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."},{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"},{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."}],"indicators":{"evidence_files":[{"tlsh":"8b81414a2df7202582b332f85b926005b219e42b7119c9d8b5dc57d07f8dd3866b5fe8","path":"src/core/ApiClient.js","sha256":"fe195db94fb6256d1b2f089f37716de123a4497d6984b4a54f975651821fed02"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/fazzgram/MAL-2026-11086.json"}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}