Malicious code in pafer (PyPI)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: kam193 (a74b7c5b356a87fe0262954cbedbcc432497ab25edaccbade0ce9ce04b16a8c9) In this campaign, the main package (webreader) has an embeded pickle disguised as a config. A related dependency (pafer) contains code to load the pickle. During unpickling, malicious code embeded in the pickle file is automatically executed. It then establishes persistence via a PTH file and downloads the next stage payload. It finally acts like a RAT, allowing remote exfiltration and code execution. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-10-webreader Reasons (based on the campaign): - rat - Downloads and executes a remote malicious script. - obfuscation - The package contains code to execute remote commands (probably limited to a specific set) on the victim's machine. - abuses-pth - persistence - The malicious code is intentionally included in a dependency of the package - files-exfiltration
- Products
- pafer
- Affected versions
- 0.9.7, 0.9.8
- Fixed versions
- Not specified
- CVEs
- Not specified
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:53 UTC · Revision 1
Source evidence
--- _-= Per source details. Do not edit below this line.=-_ ## Source: kam193 (a74b7c5b356a87fe0262954cbedbcc432497ab25edaccbade0ce9ce04b16a8c9) In this campaign, the main package (webreader) has an embeded pickle disguised as a config. A related dependency (pafer) contains code to load the pickle. During unpickling, malicious code embeded in the pickle file is automatically executed. It then establishes persistence via a PTH file and downloads the next stage payload. It finally acts like a RAT, allowing remote exfiltration and code execution. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-10-webreader Reasons (based on the campaign): - rat - Downloads and executes a remote malicious script. - obfuscation - The package contains code to execute remote commands (probably limited to a specific set) on the victim's machine. - abuses-pth - persistence - The malicious code is intentionally included in a dependency of the package - files-exfiltration
osv:MAL-2026-17756
pafer
Fixed versions: Not specified
Complete source record
{
"id": "9af0697e651c812092220bfdd8c07926021a22c580bf62570bc23943a74d7504",
"url": "https://osv.dev/vulnerability/MAL-2026-17756",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Malicious code in pafer (PyPI)",
"summary": "--- _-= Per source details. Do not edit below this line.=-_ ## Source: kam193 (a74b7c5b356a87fe0262954cbedbcc432497ab25edaccbade0ce9ce04b16a8c9) In this campaign, the main package (webreader) has an embeded pickle disguised as a config. A related dependency (pafer) contains code to load the pickle. During unpickling, malicious code embeded in the pickle file is automatically executed. It then establishes persistence via a PTH file and downloads the next stage payload. It finally acts like a RAT, allowing remote exfiltration and code execution. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-10-webreader Reasons (based on the campaign): - rat - Downloads and executes a remote malicious script. - obfuscation - The package contains code to execute remote commands (probably limited to a specific set) on the victim's machine. - abuses-pth - persistence - The malicious code is intentionally included in a dependency of the package - files-exfiltration",
"evidence": "osv:MAL-2026-17756",
"products": [
{
"name": {
"value": "pafer",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.9.7",
"evidence": "/affected/0/versions"
},
{
"value": "0.9.8",
"evidence": "/affected/0/versions"
}
]
}
],
"severity": "unknown",
"structured": {
"id": "MAL-2026-17756",
"aliases": [
"MAL-2026-17756"
],
"affected": [
{
"package": {
"name": "pafer",
"purl": "pkg:pypi/pafer",
"ecosystem": "PyPI"
},
"versions": [
"0.9.7",
"0.9.8"
],
"database_specific": {
"source": "https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/pafer/MAL-2026-17756.json"
}
}
],
"modified": "2026-10-20T14:30:03.724041547Z",
"provider": "osv",
"references": [
"https://bad-packages.kam193.eu/pypi/package/pafer"
],
"provider_metadata": {
"iocs": {
"urls": [
"https://api.npoint.io/40e32d283a9d97e59252/a"
],
"domains": [
"frjmzbjbhwvtdnsuodmu.supabase.co"
]
},
"malicious-packages-origins": [
{
"id": "pypi/2026-10-webreader/pafer",
"sha256": "a74b7c5b356a87fe0262954cbedbcc432497ab25edaccbade0ce9ce04b16a8c9",
"source": "kam193",
"versions": [
"0.9.7",
"0.9.8"
],
"import_time": "2026-10-10T11:40:44.044102873Z",
"modified_time": "2026-10-10T11:11:35.029137Z"
},
{
"id": "pypi/2026-10-webreader/pafer",
"sha256": "996e28750a2dcc9675967fd2694c758a684cf4c0d451e4b764cfb4129ce80645",
"source": "kam193",
"versions": [
"0.9.7",
"0.9.8"
],
"import_time": "2026-10-20T14:18:31.999033988Z",
"modified_time": "2026-10-10T11:11:35.029137Z"
}
]
}
},
"related_cves": [],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 389092,
"published_at": "2026-10-10T11:11:35+00:00"
}