Malicious Code Vulnerability in edx-salesforce Package
Summary
MAL-2026-1048: Malicious code in edx-salesforce (PyPI). Affects edx-salesforce versions 99.9.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 edx-salesforce package is a Python library available on PyPI, designed to facilitate integration with Salesforce services. It is commonly used in educational platforms that utilize Salesforce for managing customer relationships. However, this package has been identified to contain malicious code that compromises user data and system integrity.
Vulnerability Detail
The vulnerability originates from the package's code, which exfiltrates basic information about the host system, such as the IP address and username, upon installation or import. This malicious behavior is executed by overriding the install command in the setup.py file, allowing the package to run harmful code during the installation process. The risk is categorized as limited, but it poses a significant threat to user privacy and system security.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall edx-salesforce
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 workaround, users can avoid using the edx-salesforce package until a patched version is released. Additionally, consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The edx-salesforce package has been identified as containing malicious code that poses a risk to user data and system integrity. Users are advised to uninstall the package and monitor for updates. Utilizing tools like Vulert can help in identifying vulnerabilities in open-source software.
See every vulnerability recorded for edx-salesforce →
FAQ
The vulnerability involves malicious code that exfiltrates sensitive information from the host system during installation.
You can use the Vulert playground at Vulert Scanner to check if your application is affected without needing to sign up.
Uninstall the edx-salesforce package immediately and monitor for a patched version to ensure your system's security.
Yes, consider using other libraries that offer similar Salesforce integration features without the malicious code.
Vulert uses Pipfile.lock to monitor and alert in real-time for open-source vulnerabilities in your software, providing an easy way to stay informed.