{
  "id": 23309573,
  "title": "8 Malicious PyPI Packages Use Python Dependencies as Keys to Unlock Hidden Malware",
  "url": "https://urgent.news/2026/12/03/8-malicious-pypi-packages-use-python-dependencies-as-keys-to-unlock",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-12-03T17:24:41.000Z",
  "source": {
    "name": "The Hacker News",
    "slug": "the-hacker-news",
    "url": "https://thehackernews.com/2026/12/8-malicious-pypi-packages-use-python.html"
  },
  "original_language": null,
  "account": "A recent campaign targeting the Python Package Index (PyPI) has been discovered to utilize a technique called DevGating, which leverages the victim's Python dependencies as a decryption key for hidden malware. This campaign, active since September 25, 2026, has spanned four waves and eight packages, with the attacker refining their evasion methods. The latest wave introduces two packages, \"mailreader\" and \"confext,\" which appear harmless but contain malicious code hidden within a pickle file. DevGating sets the malware apart from traditional threats by remaining dormant until it detects the victim's environment. When the Python process loads the \"requests.packages.urllib3.util.connection\" dependency, the malware utilizes it to decrypt and launch its payload. This technique allows the malware to evade detection, even by security tools that analyze packages independently. The campaign also includes three earlier waves, such as \"webreader\" and \"pafer,\" which employed similar methods to hide malicious code. The ultimate goal of this attack is to infiltrate Python directly from memory on Linux machines and retrieve code from npoint.io, a one-way JSON store that can be updated at any time. The DevGating technique highlights a gap between how security tools analyze packages and how developers actually use them, as a package can pass static analysis and testing yet execute malicious code when imported into a real project.",
  "summary": "An \"active and evolving\" campaign targeting the Python Package Index (PyPI) repository has been found to employ a novel technique dubbed DevGating that uses the victim's Python dependencies as a key to unlock the payload. The campaign, according to Island, has been active since September 25, 2026, and spans four waves and eight packages, with the attacker progressively iterating its evasion",
  "summary_source": "publisher",
  "key_points": [],
  "editors_take": null,
  "opinion": false,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "outlets_capped": false,
    "also_reported_by": []
  },
  "machine_translated": false,
  "ai_generated": true,
  "disclaimer": "Accounts, briefs, key points, the editor’s take and translations are written by software from other outlets’ reporting and may contain errors. A summary whose summary_source is \"publisher\" is the outlet’s own feed text. Always check the linked original."
}