Skip to content
EventPast event

Malicious PyPI package disguised as a driver's license OCR MCP tool sends ID images out in plaintext

1 reports1 reporting sourcesLatest report

Start here

AI overview

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

Nov 13
  1. GitHub Security AdvisoriesSelected
    Malicious 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

Total 3 items