adbf@1.0.205
Malicious code in adbf (npm)
Analysis
adbf ships a 7.4 MB single-file bundle (index.js) obfuscated with javascript-obfuscator — a dense _0x identifier table, a string-array decoder, and \x-escaped method names — that carries a hardcoded Telegram command-and-control channel and a hardcoded database credential set, and contacts remote hosts whenever the package is loaded or its `adbf` bin is run. The README documents only "npm install -g adbf; adbf" and mentions none of this network activity. On execution the bundle: - Sends messages to the Telegram Bot API using two hardcoded bot tokens (stored base64-encoded in index.js, bot IDs 6809260210 and 6077895886) each paired with a hardcoded chat_id, via api.sendMessage({chat_id, text}) — a Telegram-based C2/exfiltration channel. - Opens a PostgreSQL connection to a hardcoded server (user "root", base64-encoded password and host in index.js, port 12301) and reports "Database ERR: Error: Connection terminated unexpectedly" when it cannot connect. - Polls hxxps://www[.]izko[.]org[.]tr/api/web/v1/gold-settings and hxxps://www[.]izko[.]org[.]tr/api/web/v1/gold-prices with an axios/1.20.0 user agent, and repeatedly opens socket[.]io WebSocket connections to wss://veri[.]ozbag[.]com/socket[.]io/?status=true&EIO=4&transport=websocket. - Reads process.env and spawns child processes (spawnSync taskkill on Windows). - Ships atob.txt, a base64 blob that decodes to a git publish script (rm -rf .git; npm version patch; git add .; git commit; git push -u origin master --force). IOCs: hosts www[.]izko[.]org[.]tr, veri[.]ozbag[.]com, api[.]telegram[.]org; IP 163[.]5[.]53[.]143:12301; paths /api/web/v1/gold-settings, /api/web/v1/gold-prices, /socket[.]io/?status=true&EIO=4&transport=websocket.
- analyzed by
- Leitwacht
- first seen
- Oct 17, 2026, 08:05 AM
- analyzed
- Oct 17, 2026, 09:55 AM
- weekly installs
- 92
hxxps://github[.]com/necdetuygur/adbf Request takedown / dispute →Related advisories
- adbf@1.0.217 same package
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.