NetSight
unscoredMalware report

MAL-2026-19204

Malicious code in my-mcp-server-driving-license-ocr (PyPI)

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
pipmy-mcp-server-driving-license-ocrunknownnone recorded

Weakness classification

References