# 8 Malicious PyPI Packages Use Python Dependencies as Keys to Unlock Hidden Malware

Source: [The Hacker News](https://thehackernews.com/2026/12/8-malicious-pypi-packages-use-python.html) · 2026-12-03 · Security
Page: https://themorning.dev/story/8-malicious-pypi-packages-use-python-dependencies-as-keys-to-unlock-hidden-malwa-a6e8cbd7c6ce9b77
Kind: security · Impact: high

## In brief

- Island reports an active, evolving campaign of eight malicious packages on PyPI, spread across four waves.
- The campaign uses a technique called DevGating, which uses the victim's Python dependencies as a key to unlock the payload.
- Payload execution is delayed until specific Python runtime conditions are met, which can hide the malicious code.

## Why it matters

Developers who install these packages can have hidden malware executed on their systems once the runtime conditions are met, so checks that only inspect install-time behaviour may miss it.

## Timeline

- 2026-12-03: Island publishes details of eight malicious PyPI packages across four waves

## Coverage

- [Island discovered eight malicious packages on PyPI that hide code](https://dev.to/hacksgr/island-discovered-eight-malicious-packages-on-pypi-that-hide-code-lok) — DEV Community: python, 2026-12-03
- [8 Malicious PyPI Packages Use Python Dependencies as Keys to Unlock Hidden Malware](https://thehackernews.com/2026/12/8-malicious-pypi-packages-use-python.html) — The Hacker News, 2026-12-03

Tags: malware, pypi, supply-chain, python, security

---

Brief generated by AI (claude-haiku-5-5) from the reporting listed under Coverage. Headlines belong to their publishers. The Morning Dev – https://themorning.dev
