---
title: PyPI Packages Hid Malware That Runs Only With the Requests Library
description: Security firm Island tied eight malicious add-ons on Python's main code registry to one campaign; four were still up after it reported them.
canonical_url: https://codekeeper.co/ticker/pypi-packages-hid-malware-that-runs-only-with-the-requests-library
---

[Malware](https://codekeeper.co/ticker/tag/malware) | [Software security](https://codekeeper.co/ticker/tag/software-security)

# PyPI Packages Hid Malware That Runs Only With the Requests Library

Security firm Island tied eight malicious add-ons on Python's main code registry to one campaign; four were still up after it reported them.

![Content Team](https://codekeeper.co/hubfs/_sized/Codekeeper_21_beeldmerkL-800.png)

By Content Team Dec 3, 2026

Share [![Share on facebook](https://codekeeper.co/hubfs/Codekeeper%202025/Icons/Blog%20-%20Facebook.svg)](http://www.facebook.com/share.php?u=https%3A%2F%2Fcodekeeper.co%2Fticker%2Fpypi-packages-hid-malware-that-runs-only-with-the-requests-library%3Futm_medium%3Dsocial%26utm_source%3Dfacebook) [![Share on linkedin](https://codekeeper.co/hubfs/Codekeeper%202025/Icons/Blog%20-%20Linkedin.svg)](http://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fcodekeeper.co%2Fticker%2Fpypi-packages-hid-malware-that-runs-only-with-the-requests-library%3Futm_medium%3Dsocial%26utm_source%3Dlinkedin) [![Share on twitter](https://codekeeper.co/hubfs/Codekeeper%202025/Icons/Blog%20-%20X.svg)](https://twitter.com/intent/tweet?original_referer=https%3A%2F%2Fcodekeeper.co%2Fticker%2Fpypi-packages-hid-malware-that-runs-only-with-the-requests-library%3Futm_medium%3Dsocial%26utm_source%3Dtwitter&url=https%3A%2F%2Fcodekeeper.co%2Fticker%2Fpypi-packages-hid-malware-that-runs-only-with-the-requests-library%3Futm_medium%3Dsocial%26utm_source%3Dtwitter&source=tweetbutton&text=) [![Share on email](https://codekeeper.co/hubfs/Codekeeper%202025/Icons/Blog%20-%20Mail.svg)](mailto:?subject=Check%20out%20https%3A%2F%2Fcodekeeper.co%2Fticker%2Fpypi-packages-hid-malware-that-runs-only-with-the-requests-library%3Futm_medium%3Dsocial%26utm_source%3Demail%20&body=Check%20out%20https%3A%2F%2Fcodekeeper.co%2Fticker%2Fpypi-packages-hid-malware-that-runs-only-with-the-requests-library%3Futm_medium%3Dsocial%26utm_source%3Demail) ![Copy link](https://codekeeper.co/hubfs/Codekeeper%202025/Icons/Blog%20-%20Copy.svg)

ON THIS PAGE

### Want more insights like this?

Subscribe to our newsletter to get the latest software protection strategies delivered to your inbox.

By submitting your email, you consent to Codekeeper contacting you and agree to our [privacy policy](https://codekeeper.co/privacy-policy) .

Security firm Island said on December 2, 2026, that a malware campaign on the Python Package Index (PyPI), Python's main public code registry, has run since September 25 in four waves, eight packages in all. Each front package, including a mail parser called mailreader, really works. The harmful code is split with a helper package from a separate account. Island calls the trick DevGating. In the two latest waves, the payload stays encrypted, keyed to the name of a module that loads alongside the popular requests library, so a sandbox testing the package alone sees nothing. Once unlocked, the malware adds a Python startup file that survives uninstalling and reaches later jobs on that install, including continuous integration (CI) builds. The current payload is a harmless placeholder, though an October wave served a remote access trojan. Downloads stayed in the low hundreds as of November 16. Island reported the four packages still listed, including mailreader 2.7.1 and 2.7.2, on December 1, and advises hunting for unexpected Python startup files. Source: [Infosecurity Magazine](https://www.infosecurity-magazine.com/news/devgating-pypi-malware-devs/)

Share this article [![Share on facebook](https://codekeeper.co/hubfs/Codekeeper%202025/Icons/Blog%20-%20Facebook.svg)](http://www.facebook.com/share.php?u=https%3A%2F%2Fcodekeeper.co%2Fticker%2Fpypi-packages-hid-malware-that-runs-only-with-the-requests-library%3Futm_medium%3Dsocial%26utm_source%3Dfacebook) [![Share on linkedin](https://codekeeper.co/hubfs/Codekeeper%202025/Icons/Blog%20-%20Linkedin.svg)](http://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fcodekeeper.co%2Fticker%2Fpypi-packages-hid-malware-that-runs-only-with-the-requests-library%3Futm_medium%3Dsocial%26utm_source%3Dlinkedin) [![Share on twitter](https://codekeeper.co/hubfs/Codekeeper%202025/Icons/Blog%20-%20X.svg)](https://twitter.com/intent/tweet?original_referer=https%3A%2F%2Fcodekeeper.co%2Fticker%2Fpypi-packages-hid-malware-that-runs-only-with-the-requests-library%3Futm_medium%3Dsocial%26utm_source%3Dtwitter&url=https%3A%2F%2Fcodekeeper.co%2Fticker%2Fpypi-packages-hid-malware-that-runs-only-with-the-requests-library%3Futm_medium%3Dsocial%26utm_source%3Dtwitter&source=tweetbutton&text=) [![Share on email](https://codekeeper.co/hubfs/Codekeeper%202025/Icons/Blog%20-%20Mail.svg)](mailto:?subject=Check%20out%20https%3A%2F%2Fcodekeeper.co%2Fticker%2Fpypi-packages-hid-malware-that-runs-only-with-the-requests-library%3Futm_medium%3Dsocial%26utm_source%3Demail%20&body=Check%20out%20https%3A%2F%2Fcodekeeper.co%2Fticker%2Fpypi-packages-hid-malware-that-runs-only-with-the-requests-library%3Futm_medium%3Dsocial%26utm_source%3Demail) ![Copy link](https://codekeeper.co/hubfs/Codekeeper%202025/Icons/Blog%20-%20Copy.svg)

![blog_book_a_demo_cta_3x](https://codekeeper.co/hubfs/_sized/Codekeeper%202025/blog_book_a_demo_cta_3x-768x512.webp)

Have questions about protecting your software?

Our escrow experts are standing by to help.

[Book a free demo](https://codekeeper.co/book-a-demo)

YOU MAY ALSO LIKE

[Malware Fake Game Cheats on Hugging Face and GitHub Led to Windows Malware Dec 2, 2026](https://codekeeper.co/ticker/fake-game-cheats-on-hugging-face-and-github-led-to-windows-malware)

[Malware Fake Advocates Sent Spyware Links to Azerbaijani Prisoners' Wives Dec 2, 2026](https://codekeeper.co/ticker/fake-advocates-sent-spyware-links-to-azerbaijani-prisoners-wives)

[Malware Researchers Tie iPhone Spyware App to Italian Surveillance Firm Dec 1, 2026](https://codekeeper.co/ticker/researchers-tie-iphone-spyware-app-to-italian-surveillance-firm)

[Malware Worm Linked to North Korea Rewrites Developers' GitHub Commits Nov 30, 2026](https://codekeeper.co/ticker/worm-linked-to-north-korea-rewrites-developers-github-commits)
