Malicious Python Packages and Code Execution via pip download
Summary
Running pip download (a Python command that downloads packages without installing them) can execute malicious code on your computer due to a design flaw, even though many people assume only pip install poses a security risk. This vulnerability allows attackers to run arbitrary code (commands of their choice) simply by downloading a compromised package.
Classification
Related Issues
Original source: https://embracethered.com/blog/posts/2022/python-package-manager-install-and-download-vulnerability/
First tracked: February 12, 2026 at 02:20 PM
Classified by LLM (prompt v3) · confidence: 75%