VYPR

pypi · Malicious package advisory

Malware

jsonschema-utf8

GHSA-w7fc-8jg6-hmrf

Malicious code in jsonschema-utf8 (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 4.1.2`

## Source: kam193 (61bf4fa82a7c398e580d547d641bc19e3b16ba446191da04f39dcf9cf9a41eab)
Package clones a popular package (loguru, jsonschema, ...). While it claims to have some additional features, the real change is an added compiled native library which is silently loaded in the background during the importing of the module. The exact behavior is unknown, but the binary is obfuscated


---

Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.


Campaign: 2025-12-loguru-utf8


Reasons (based on the campaign):


 - clones-real-package


 - obfuscation


 - typosquatting


 - native-extension

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/jsonschema-utf8/MAL-2025-192436.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/jsonschema-utf8
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/jsonschema-utf8/MAL-2025-192436.json
- https://www.virustotal.com/gui/file/da48508c771e9a12a4a235660800683f1df40d90b814df9c6e35a8713017f363/detection
- https://github.com/advisories/GHSA-w7fc-8jg6-hmrf

Compromised versions (1)

  • = 4.1.2

Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.