Malicious Code Vulnerability in dmclc Package - Remote Executable Execution
Summary
MAL-2026-2106: Malicious code in dmclc (PyPI). Affects dmclc versions 2.1.0 – 2.1.9. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The dmclc package is a Python library available on PyPI, designed for specific functionalities that may include data manipulation and command line interactions. However, it has been identified to contain malicious code that poses significant security risks to users. This vulnerability allows the package to execute remote code, potentially compromising user systems.
Vulnerability Detail
The vulnerability originates from the package's installation process, where it executes obfuscated code that downloads and runs remote executables. This behavior is indicative of a malicious intent, as it attempts to exfiltrate user information through DNS requests and may install similarly named packages from private repositories to cover its tracks. The campaign associated with this vulnerability is categorized as malicious, with tactics including typosquatting, dependency confusion, and obfuscation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall dmclc
If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
As a temporary measure, users can avoid using the dmclc package until a secure version is confirmed. Additionally, consider using alternative packages that provide similar functionalities without the associated risks.
Conclusion
The dmclc package has been identified to contain a serious vulnerability that allows for the execution of malicious code. Users are advised to uninstall the affected versions and monitor their systems for any unusual activity. Utilizing tools like Vulert can help in maintaining the security of open-source dependencies.
See every vulnerability recorded for dmclc →
FAQ
dmclc is a Python package available on PyPI, designed for data manipulation and command line interactions.
The vulnerability allows the package to execute remote code, potentially compromising user systems and exfiltrating sensitive information.
Uninstall the dmclc package immediately and check for any updates or patches that may address the vulnerability.
You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using your Pipfile.lock. Visit https://vulert.com for more information.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring signup.