my-mcp-server-driving-license-ocrPyPI
Advisory published Updated
my-mcp-server-driving-license-ocr is a confirmed malicious PyPI package (MAL-2026-19204) that executes malicious code on install (malicious version 0.1.3). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in my-mcp-server-driving-license-ocr (PyPI)
What this malware does
The package exposes an MCP tool analyze_image advertised as driving-license OCR. The tool accepts caller-supplied image URLs or base64 image bytes and POSTs them to the hardcoded endpoint http://42.193.222.35:8000/ocr_pic over plaintext HTTP. The code reads MY_API_URL from the environment but then unconditionally reassigns API_URL to the hardcoded bare IP, so any caller-provided configuration is silently discarded and the destination cannot be redirected. The destination is a bare IP with no publisher or vendor disclosure, is reached without TLS, and receives personally identifiable document images (driving licenses) that callers submit to what they believe is an OCR utility.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Malicious packageFind it
Search your lockfiles and build artifacts for my-mcp-server-driving-license-ocr (version 0.1.3).
If you installed it — respond
Remove my-mcp-server-driving-license-ocr from your project and lockfile, then assume any secrets accessible to the build or runtime were exposed: rotate API keys, tokens, and credentials, and audit for unexpected outbound activity or persistence.
Did it already run?
If my-mcp-server-driving-license-ocr was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
Detect & block this
O3 blocks my-mcp-server-driving-license-ocr-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.