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
Published
2026-08-26T14:19:00Z
Modified
2026-08-26T14:30:13.956694935Z
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 chatid defined in src/config.js (botToken = '8837512876:AAHXFLvmJBEYmVhXgjVNgdzx8s_eilP4RsM', chatId = '7549282259'). The archive-exclusion list drops nodemodules 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.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-018756",
            "source": "amazon-inspector",
            "import_time": "2026-08-26T14:20:37.141429179Z",
            "modified_time": "2026-08-26T14:19:00Z",
            "sha256": "7318f0d70d44a05847fe3363f59c4e1465df1ecab43fc87757c324397e2b1cea",
            "versions": [
                "3.4.2"
            ]
        }
    ]
}
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

Affected versions

3.*
3.4.2

Database specific

cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    }
]
indicators
{
    "package_integrity": [
        {
            "filename": "spotify-url-resolvers-3.4.2.tgz",
            "hashes": {
                "sha512_sri": "sha512-T/i6+ChHhMtWjydlKZiyTrQiBGKwQYGKpYMBXH6b/UeOs5jNly0FTeGde0+Z/YAisvPhiqNNm+YMdDX4+NPvxg==",
                "sha1": "ec29ffe92bb0d7e678720ba5ceaa6140c0beb9f3"
            }
        }
    ],
    "evidence_files": [
        {
            "path": "src/BackupManager.js",
            "tlsh": "7d51230a6efe5131717b34de8fa7400a6026c0473816dedd3a9c93d89f8a42549a5ff4",
            "sha256": "67490305a476692e887cdc254e7fd325cf0e1ede44660789367b66dcbae78e04"
        },
        {
            "path": "src/config.js",
            "tlsh": "1b01287a98f751a6112545d7e6af502b194c80133d22f835b78c89c04fdf25c4072efe",
            "sha256": "64d39d682b49f10705276cdab1fe99eaba4509e1a841ae3aa325b5793afdf508"
        },
        {
            "path": "package.json",
            "tlsh": "c0f02828cd71ada318c89a724d7b42423235d457592cbc1c3382525c8f8e13f24fd21d",
            "sha256": "1671aff87a273fce6872b833c783cd55b8809260cd1dd4e46d5535fd7db47dde"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/spotify-url-resolvers/MAL-2026-14538.json"