# GHSA-WG5F-M5MV-GMJG: Malicious code in my-mcp-server-driving-license-ocr (PyPI)

- Database: GitHub
- Malicious package: yes
- Published: 2026-11-13
- Modified: 2026-11-13

## Affected versions

- my-mcp-server-driving-license-ocr (PyPI): 0.1.3

## Description

## Source: amazon-inspector (6f389c95da49d7d8358b52ea58ed6dcba6ee9cc9f1d441dfab7a9a3eb1b0989e)
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.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/3ec3b383dfda825cc935822baf58ac4bdd4df43a/osv/malicious/pypi/my-mcp-server-driving-license-ocr/MAL-2026-19204.json))

## References

- https://github.com/ossf/malicious-packages/blob/3ec3b383dfda825cc935822baf58ac4bdd4df43a/osv/malicious/pypi/my-mcp-server-driving-license-ocr/MAL-2026-19204.json
- https://pypi.org/project/my-mcp-server-driving-license-ocr/0.1.3
- https://github.com/advisories/GHSA-wg5f-m5mv-gmjg

Page: https://cve.now/GHSA-WG5F-M5MV-GMJG

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
