The flask-header-guard package on PyPI (version 1.0.0) is a malicious package masquerading as Flask security-headers middleware. It executes hostile code during installation and when imported, including exfiltration of sensitive environment variables and system files, establishing persistence via a reverse shell, local privilege escalation, and an unauthenticated remote code execution backdoor in Flask apps.