MAL-2026-14538

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/spotify-url-resolvers/MAL-2026-14538.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-14538
Aliases
  • GHSA-w77g-6g5j-wr2r
Published
2026-08-26T14:19:00Z
Modified
2026-09-28T04:45:05Z
Summary
Malicious code in spotify-url-resolvers (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (7318f0d70d44a05847fe3363f59c4e1465df1ecab43fc87757c324397e2b1cea)

Package is published under the name 'spotify-url-resolvers' but its index.js starts a backup loop at module load that archives process.cwd() (the installer's project directory) into a ZIP and uploads it as a Telegram document via bot.telegram.sendDocument to a hardcoded bot token and chat_id defined in src/config.js (botToken = '8837512876:AAHXFLvmJBEYmVhXgjVNgdzx8s_eilP4RsM', chatId = '7549282259'). The archive-exclusion list drops node_modules and.git but does not exclude.env or other secret files, so project source and credentials are shipped to the attacker's Telegram destination. The loop repeats every hour. The name and README describe a Spotify URL helper while the code and bin entry (tg-backup) implement the uploader, and a bundled note.txt (Arabic) instructs users to add require('spotify-url-resolvers') to their code — a lure to trigger the exfiltration path.

Source: ghsa-malware (738d7a9b81c690910d48b55a1216b247db21990ce73947114c5b58e635bb1d68)

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.

Database specific
{
    "malicious-packages-origins":  [
        {
            "id":  "IN-MAL-2026-018756",
            "import_time":  "2026-08-26T14:20:37.141429179Z",
            "modified_time":  "2026-08-26T14:19:00Z",
            "sha256":  "7318f0d70d44a05847fe3363f59c4e1465df1ecab43fc87757c324397e2b1cea",
            "source":  "amazon-inspector",
            "versions":  [
                "3.4.2"
            ]
        },
        {
            "id":  "GHSA-w77g-6g5j-wr2r",
            "import_time":  "2026-09-28T04:33:51.327567943Z",
            "modified_time":  "2026-09-28T04:06:18Z",
            "ranges":  [
                {
                    "events":  [
                        {
                            "introduced":  "0"
                        }
                    ],
                    "type":  "SEMVER"
                }
            ],
            "sha256":  "738d7a9b81c690910d48b55a1216b247db21990ce73947114c5b58e635bb1d68",
            "source":  "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / spotify-url-resolvers

Package

Name
spotify-url-resolvers
View open source insights on deps.dev
Purl
pkg:npm/spotify-url-resolvers

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.4.2

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":  "src/BackupManager.js",
            "sha256":  "67490305a476692e887cdc254e7fd325cf0e1ede44660789367b66dcbae78e04",
            "tlsh":  "7d51230a6efe5131717b34de8fa7400a6026c0473816dedd3a9c93d89f8a42549a5ff4"
        },
        {
            "path":  "src/config.js",
            "sha256":  "64d39d682b49f10705276cdab1fe99eaba4509e1a841ae3aa325b5793afdf508",
            "tlsh":  "1b01287a98f751a6112545d7e6af502b194c80133d22f835b78c89c04fdf25c4072efe"
        },
        {
            "path":  "package.json",
            "sha256":  "1671aff87a273fce6872b833c783cd55b8809260cd1dd4e46d5535fd7db47dde",
            "tlsh":  "c0f02828cd71ada318c89a724d7b42423235d457592cbc1c3382525c8f8e13f24fd21d"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "spotify-url-resolvers-3.4.2.tgz",
            "hashes":  {
                "sha1":  "ec29ffe92bb0d7e678720ba5ceaa6140c0beb9f3",
                "sha512_sri":  "sha512-T/i6+ChHhMtWjydlKZiyTrQiBGKwQYGKpYMBXH6b/UeOs5jNly0FTeGde0+Z/YAisvPhiqNNm+YMdDX4+NPvxg=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/spotify-url-resolvers/MAL-2026-14538.json"