-= Per source details. Do not edit below this line.=-
On import pystylish, the package's init.py spawns a daemon thread that downloads a Windows executable from https://goy.mikoz.xyz/boh3.exe, writes it to %TEMP%/vcredist_x86.exe (disguised as the Microsoft Visual C++ runtime installer), and executes it via subprocess.Popen. The domain is unrelated to the package's stated purpose (a terminal color/fade library) and is not a publisher-controlled host. To evade local DNS controls, the loader resolves the C2 domain through DNS-over-HTTPS (Cloudflare 1.1.1.1/dns-query and dns.google/resolve), then connects to the resolved IP with a manual Host header so /etc/hosts entries and sinkholes are bypassed. Error paths print a fake Failed to connect to discord.com:80 message regardless of the actual destination, providing cover for the unrelated outbound traffic. The package is a typosquat/clone of the legitimate pystyle library by billythegoat356 — README still points at github.com/billythegoat356/pystyle while the package is published under the name pystylish, and the library API is copied verbatim from pystyle with the dropper appended. Any developer who installs and imports pystylish (including transitively) will silently fetch and run an attacker-controlled binary on Windows.
Clone of a legitimate package. During import, the code downloads and executes a malicious executable.
Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.
Campaign: 2026-06-pystylish
Reasons (based on the campaign):
Downloads and executes a remote executable.
malware
clones-real-package
{
"malicious-packages-origins": [
{
"sha256": "3a6a09e52477106b9586e89c2b0207bdc51e6d22dad500b7cc12a424d684c35b",
"source": "amazon-inspector",
"modified_time": "2026-06-17T19:45:13Z",
"versions": [
"2.9"
],
"id": "IN-MAL-2026-006934",
"import_time": "2026-06-17T19:45:56.979348464Z"
},
{
"sha256": "f8318d882352a4515c0598fc728a7609874502d0e42f98a8f47214307d07aec8",
"source": "kam193",
"modified_time": "2026-06-17T19:05:58.40841Z",
"id": "pypi/2026-06-pystylish/pystylish",
"versions": [
"2.9"
],
"import_time": "2026-06-17T19:45:58.747736209Z"
}
],
"iocs": {
"domains": [
"goy.mikoz.xyz",
"mikoz.xyz"
],
"urls": [
"https://goy.mikoz.xyz/boh3.exe"
]
}
}[
{
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506"
}
]
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/pystylish/MAL-2026-6076.json"
{
"evidence_files": [
{
"sha256": "893e61f125ef8309dee86d5ccf5af89d3d0d9460bd0f575929de7a33cf8b8eb9",
"tlsh": "7ef27225ed171a135ab3c41e8c87d425f32923671a654617fe9cc1a82fb2128d3f4afd",
"path": "pystylish/__init__.py"
},
{
"sha256": "245135d5e573e7d6ed240fcd1e5d5fad8b2e1608f581613bc4acfd23c2acf624",
"tlsh": "b29002e3090390442f831dc948a861146a722484fe675445713b42115004865434a01e",
"path": "README.md"
}
],
"package_integrity": [
{
"hashes": {
"sha256": "0e9d3793b1258bde25398c194b158c0e9315b090c4bb584f4f7a9ee600212a9e",
"blake2b_256": "77f71068de21b76dc12dbba2ea987e2bac443cedd16e21f6066a8ef71515e5dd",
"md5": "4a2d608fb193350beb95dd53c05d6908"
},
"filename": "pystylish-2.9-py3-none-any.whl"
},
{
"hashes": {
"sha256": "2d570677c1fb22574b410f00106fe8d4ec5ad2c2342c79228e1e8e451f60c782",
"blake2b_256": "ad035c72d787bcb4f2051fc2093206b63b070428cd612510596a246bca97e0e9",
"md5": "9434a4d2b2c5f98e21c42cc58c5cbaf7"
},
"filename": "pystylish-2.9.tar.gz"
}
]
}