{"id":"MAL-2026-13729","title":"Malicious code in dlmm-sdk (PyPI)","summary":"Malicious code in dlmm-sdk (PyPI)","severity":"none","vendor":"dlmm-sdk","product":"dlmm-sdk","ecosystem":"pip","affected":["dlmm-sdk"],"published":"2026-08-11","updated":"2026-08-11","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/MAL-2026-13729","references":[{"url":"https://bad-packages.kam193.eu/pypi/package/dlmm-sdk"},{"url":"https://pypi.org/project/dlmm-sdk/1.0.0/"}],"tags":["osv","pip"],"ingestedAt":"2026-08-11T19:17:08.817Z","slug":"MAL-2026-13729","body":"## Overview\n\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (9ddf2d03d839f7eff709e78da1d6a85226cdd3b9171dbcb59a4a95c741e0773e)\nThe package's top-level module runs a report() routine on import, and setup.py invokes the same import at install time. The routine collects environment variables matching secret-shaped keywords (KEY, TOKEN, SECRET, AWS, GITHUB, NPM, MNEMONIC, WALLET, SOLANA, HELIUS,...), reads ~/.npmrc and ~/.gitconfig, enumerates ~/.ssh, ~/.aws, ~/.config/solana, ~/.config/anchor, and ~/.config/gcloud, and gathers hostname, username, cwd, and platform. The collected JSON is POSTed via urllib.request.urlopen to a hardcoded webhook.site endpoint (https://webhook.site/326b0891-2093-4800-a4c1-686ce3e07b09). Module docstring and setup.py comment label the behavior 'environment diagnostics,' but the code path is bulk credential and host-identity exfiltration to a non-first-party collector. The package name resembles Meteora's DLMM SDK.\n\n## Source: kam193 (007be0fc2d53a2c72f277ddb12c24bb04ae1e17d2bf03f83b70367c3bf1b9122)\nDuring import the package exfiltrates sensitive env variables and credential files. In addition, listings of cryptocurrency wallet directories are collected.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2026-08-dlmm\n\n\nReasons (based on the campaign):\n\n\n - exfiltration-env-variables\n\n\n - dependency-confusion\n\n\n - exfiltration-credentials\n\n\n - crypto-related\n\n\n## Affected packages\n\n- `dlmm-sdk`\n\n## Remediation\n\nRefer to the advisory for the patched release.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}