pdf-reader

Warn

Audited by Socket on Aug 17, 2026

1 alert found:

Security
SecurityMEDIUM
scripts/pdf_read.py

This module is primarily a PDF-to-Markdown converter with an optional OCR fallback. It contains no obvious covert malware behavior (no exfiltration, persistence, or hidden payloads). The dominant security concern is explicit execution of a user-supplied OCR command template via subprocess.Popen(..., shell=True). If an attacker can influence --ocr-cmd (directly or indirectly), the module can be used to run arbitrary commands on the host. Otherwise, with trusted --ocr-cmd and controlled execution environment, remaining risks are mainly resource/DoS (many pages) and local file output handling.

Confidence: 74%Severity: 70%
Audit Metadata
Analyzed At
Aug 17, 2026, 12:41 PM
Package URL
pkg:socket/skills-sh/vichhka-git%2Fpdf-reader-skills%2Fpdf-reader%2F@cf39fb7c77bef9abc82dd12a250c67f27a77fdee45ea056e1ff6d4294174f03e
Security Audit — socket — pdf-reader