Malicious Code Vulnerability in ntoctfutils: Remote Executable Execution
Summary
MAL-2026-850: Malicious code in ntoctfutils (PyPI). Affects ntoctfutils versions 0.1.0 – 1.0.0. 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
ntoctfutils is a Python package available on PyPI, designed for various utility functions in Capture The Flag (CTF) competitions. It aims to assist users in managing and automating tasks related to CTF challenges. However, this package has been compromised, leading to severe security risks due to its ability to download and execute malicious code.
Vulnerability Detail
The vulnerability originates from a malicious version of the ntoctfutils package, specifically versions 0.1.0 and 1.0.0, which contain code that downloads and executes a remote executable identified as malware. This poses significant risks, including unauthorized access to user systems, data theft, and potential system compromise. The malicious code is linked to the IP address 178.20.47.231, which serves the malware.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall ntoctfutils
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 ntoctfutils package until a secure version is available. Additionally, users should monitor their systems for any unauthorized activities that may have resulted from the installation of the compromised package.
Conclusion
The ntoctfutils package has been compromised, leading to a serious vulnerability that allows malicious code execution. Users are advised to uninstall the affected versions and monitor their systems closely. Utilizing tools like Vulert can help in identifying and managing such vulnerabilities effectively.
See every vulnerability recorded for ntoctfutils →
FAQ
The vulnerability allows the package to download and execute malicious code from a remote server, posing significant security risks.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.
You should uninstall the affected versions immediately and monitor your system for any suspicious activities.
As of now, users should refrain from using the package until a secure version is released. Always check PyPI for updates.
Vulert monitors and alerts users in real-time for open-source vulnerabilities in their software using just the Pipfile.lock, ensuring proactive security management.