Malicious PyPI package disguised as a driver's license OCR MCP tool sends ID images out in plaintext
Start here
A GitHub security advisory (Amazon Inspector analysis) reports that version 0.1.3 of the PyPI package my-mcp-server-driving-license-ocr contains malicious code: the package masquerades as a driver's license OCR MCP tool but actually sends user-submitted images of documents containing personally identifiable information, such as driver's licenses, via plaintext HTTP POST to a hardcoded bare IP address; no fixed version is available.
Generated by AI from reports · Updated 16 days ago
Progress timeline
- GitHub Security AdvisoriesSelectedMalicious code detected in PyPI package my-mcp-server-driving-license-ocr
A GitHub security advisory (GHSA-wg5f-m5mv-gmjg) reports that the PyPI package my-mcp-server-driving-license-ocr contains malicious code; the affected version is 0.1.3, and there is no fixed version yet. The package offers an MCP tool named analyze_image under the guise of driver's license OCR, but actually sends the caller-submitted image URL or base64 image data via plaintext HTTP POST to the hardcoded address http://42.193.222.35:8000/ocr_pic。代码虽读取环境变量 MY_API_URL, then unconditionally reassigns API_URL to that hardcoded IP, silently discarding the caller's configuration so the destination cannot be redirected. The target address is a bare IP with no publisher information of any kind, transmitted without TLS, and it receives driver's licenses and other ID document images containing personally identifiable information that users submitted believing it to be an OCR tool. The advisory's analysis source is Amazon Inspector, with thanks to OpenSSF.
Related discussion
- Older than 72 hours · Not included in the 72-hour figures
- X@w0rmsign🚨 wormsign · 🟦 PyPI · detonated my-mcp-server-driving-license-ocr v0.1.3 detonated in sandbox · 2026-11-13 🔎 + ATT&…(opens the original post in a new tab)
- X@TanmayK_03Flagged on PyPI today: an MCP server sold as driving-license OCR. It reads the API URL you set, then overwrites it with…(opens the original post in a new tab)
4 likes·Nov 14 10:14Collect
- X@infrastack_ai🚨 The PyPI package my-mcp-server-driving-license-ocr shipped malicious code in version 0.1.3. If you installed version…(opens the original post in a new tab)
1 likes·Nov 14 10:14Collect