Critical Malicious Code Vulnerability in singtok Package
Summary
MAL-2025-191868: Malicious code in singtok (PyPI). Affected versions are not published. 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 singtok package, available on PyPI, is designed for various functionalities related to social media interactions. However, it has been compromised, leading to significant security concerns. This package is widely used in Python projects, making it a potential target for malicious actors. The vulnerability allows for the execution of harmful code, posing risks to users and their systems.
Vulnerability Detail
The vulnerability originates from obfuscated code within the singtok package that initiates upon importing the module. This code downloads and executes well-known malware from remote servers. The malicious behavior is hidden behind seemingly normal operations, making it difficult for users to detect. The campaign associated with this vulnerability, identified as '2025-02-tiksing', highlights the package's intent to execute remote executables, further emphasizing the severity of the threat.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall singtok
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 singtok package until a secure version is released. If the package is essential for your project, consider isolating its usage in a controlled environment to minimize exposure to potential threats.
Conclusion
The singtok package has been identified as having a critical vulnerability that allows for the execution of malicious code. Users are urged to update their packages promptly and consider using tools like Vulert for ongoing monitoring. Awareness and proactive measures are essential to safeguard against such threats.
See every vulnerability recorded for singtok →
FAQ
The vulnerability involves malicious code that downloads and executes malware upon importing the package.
You can use Vulert's playground at Vulert Scanner to check if your application is affected without any signup.
If you cannot update the package, consider removing it from your project or using an alternative package that provides similar functionality.
Obfuscation makes it challenging to identify malicious behavior, as the harmful actions are hidden behind normal-looking code.
Yes, tools like Vulert can monitor your dependencies in real-time for open-source vulnerabilities, helping you stay informed.