Malicious code in spotify-url-infos (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-14492
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (e72208a0a63e3b9eb2549151c6b0899d84e79df1a1058cd72e048c3a44592440) Package is published under a name resembling the legitimate 'spotify-url-info' but its shipped code is an exfiltration tool. index.js invokes startBackupLoop() at top level, so simply require()'ing or importing the module (no user action, no CLI invocation) begins an hourly loop that zips the entire current working directory — traversed via archiver.glob('**/*', {cwd: process.cwd(), dot: true}) so dotfiles such as.env,.git, and any credentials in the tree are included — and uploads the archive to a Telegram chat via telegram.sendDocument. The destination is hardcoded in src/config.js as bot token 8837512876:AAH... and chatId 7549282259; the interactive.env setup shipped in bin/setup.js is a decoy and its values are never read by the runtime path. The package's declared description ('Automated server backup tool with Telegram delivery') conflicts with its published name ('spotify-url-infos'), the banner/log helpers are empty stubs, and every try/catch swallows errors, so the loop runs silently.
- Source published
- 25 Aug 2026 14:10:28 UTC
- Source modified
- 25 Aug 2026 23:51:17 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.