—
MAL-2026-16121
Malicious code in websetup (PyPI)
Details
websetup@0.1.0 is a single module whose only function, setup.set(text=None, file_path=None) in websetup/sender.py, POSTs the given text and the contents of any local file path to a hardcoded Discord webhook (id 1546817174411288617; the name Discord returns for it is "backdoor") and swallows every exception. Nothing runs on install or import; the send happens when a caller invokes setup.set(). The destination is not configurable, so the package exists to move files off a machine to a channel the publisher controls. The Discord URL is listed under urls only.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI/websetup
No fixed version published yet for websetup (pip). Pin to a known-safe version or switch to an alternative.
References
- https://pypi.org/project/websetup/[PACKAGE]