{"schema_version":"1.9.2","id":"MAL-2026-18121","published":"2026-10-21T04:23:18Z","modified":"2026-10-29T14:30:41.928347344Z","aliases":["GHSA-xw7m-xxch-j3hp"],"summary":"Malicious code in my-auto-follow-eltio (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (f6f6e8fd17c3c20b0dd9889e9ce58ae2222c659d4af55e16024711c6c531b335)\nnpm package my-auto-follow-eltio@1.0.0 is a fork of the Baileys WhatsApp library. Two of its source files, lib/Socket/chats.js (~140 KB) and lib/Socket/dugong.js (~96 KB), use a custom base85-style string-array plus per-function decoder scheme to obfuscate their contents. After decoding, the logic corresponds to ordinary Baileys chats-socket operations and WhatsApp message-format builders (payment, product, interactive, album, event, poll). The preinstall script only performs a Node.js version gate and the main entry is a library factory with no top-level side effects. No hardcoded attacker-controlled endpoints, remote code fetch, credential or home-directory reads, browser/wallet secret access, silent-relay of caller data, or lifecycle-time execution of external content are present. The package name suggests an 'auto-follow' behavior that could act with the connected WhatsApp account's identity, but no such covert action is observable in the visible code paths, and the obfuscation of a Baileys fork is an unusual authorship/transparency signal on its own.\n\n## Source: ghsa-malware (45770007693536ebd250ec1fd0cfd32f539866ac842fddf6b3cf613a493fb4d3)\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","affected":[{"package":{"name":"my-auto-follow-eltio","ecosystem":"npm","purl":"pkg:npm/my-auto-follow-eltio"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.0"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"lib/Socket/dugong.js","sha256":"37bb464fa91f35aa2e7ce4d1ebc4839895c32d76150b306d88ded2eb7c9f4fbc","tlsh":"e59340ccebad7876c6d016720437161edbf91dc00a8b2950e2ca6dc127aef6251add7c"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/my-auto-follow-eltio/MAL-2026-18121.json"}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-xw7m-xxch-j3hp"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/my-auto-follow-eltio/v/1.0.0"}],"database_specific":{"malicious-packages-origins":[{"id":"GHSA-xw7m-xxch-j3hp","import_time":"2026-10-21T04:30:05.235546842Z","modified_time":"2026-10-21T04:23:18Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"45770007693536ebd250ec1fd0cfd32f539866ac842fddf6b3cf613a493fb4d3","source":"ghsa-malware"},{"id":"IN-MAL-2026-022071","import_time":"2026-10-29T14:14:23.077112539Z","modified_time":"2026-10-29T13:45:00Z","sha256":"f6f6e8fd17c3c20b0dd9889e9ce58ae2222c659d4af55e16024711c6c531b335","source":"amazon-inspector","versions":["1.0.0"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}