Malicious code in euler-sdk (PyPI)
The euler-sdk package on PyPI contained malicious code that exfiltrates basic host information (IP address, username) during installation. The package overrides the install command in setup.py to execute the malicious payload when installed.
- Disclosed
- Last updated
- Blast radius
- All users who installed euler-sdk from PyPI
- Ecosystems
- Attack vectors
- Affected entities
- euler-sdkPyPI package containing malicious code
The euler-sdk package published on PyPI was found to contain malicious code designed to exfiltrate basic system information from the host machine. The malicious payload is executed during package installation by overriding the install command in setup.py.\n\nThe package has no legitimate functionality beyond the data exfiltration behavior. According to the OpenSSF malicious packages database, this was classified as a pentest-style package with limited harm potential, though it still represents a direct supply chain compromise.\n\nThe malicious code collects basic host data such as IP address and username. Users who installed this package during the window it was available on PyPI were affected.
Indicators of compromise
- Packages
- euler-sdk
Remediation
- Uninstall euler-sdk immediately from all systems where it was installed
- Review system logs for any suspicious activity or data exfiltration following installation
- Change credentials (passwords, API keys) on any systems where the package was installed
- Monitor affected systems for signs of compromise
- Check PyPI for any similar malicious packages with similar naming patterns
Sources
- GitHub Advisory GHSA-g6j4-8qxg-42mf · GitHub Advisory Database
Cite this entry
"Malicious code in euler-sdk (PyPI)." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed August 11, 2026; last updated August 11, 2026. https://supplychainattack.org/incident/malicious-code-in-euler-sdk-pypi-1w7fx8
Suggest a correction
Found an error or have a newer source? Corrections to factual errors take priority over new entries.
Related incidents
- resolvedcritical
Malicious code in socks5901 (PyPI)
The PyPI package socks5901 contained malicious code that exfiltrates files from /sdcard/ during import and communicates via Telegram bot. The package was identified and cataloged by the OpenSSF malicious-packages project.
PyPICompromised package - resolvedhigh
Malicious code in kb-ai (PyPI)
The kb-ai package on PyPI contained malicious code designed to demonstrate a dependency confusion attack. The package exfiltrated basic system data (IP address, username) and executed arbitrary code during installation via setup.py override.
PyPICompromised packageDependency confusion - resolvedcritical
Malicious code in @years19/n8n-nodes-utils-helper-b (npm)
The npm package @years19/n8n-nodes-utils-helper-b contained malicious code disguised as an n8n workflow utility. The postinstall hook executed reconnaissance, downloaded and extracted a Python tarball with TLS verification disabled, and exfiltrated system information to an attacker-controlled domain.
npmPyPICompromised package - resolvedcritical
Malicious code in @years19/n8n-nodes-utils-helper-c (npm)
The npm package @years19/n8n-nodes-utils-helper-c contained a malicious postinstall script that downloads a trojanized Python multidict module from an attacker-controlled server and injects it into the system's Python site-packages directory, enabling arbitrary code execution on any subsequent Python invocation.
npmPyPICompromised packageMalicious commit