OceanLotus APT Group Suspected in PyPI Supply Chain Attack Delivering Novel ZiChatBot Malware

By

PyPI Supply Chain Attack Linked to OceanLotus APT Group

Security researchers have uncovered a sophisticated supply chain attack on the Python Package Index (PyPI) that is delivering a previously unknown malware family called ZiChatBot. The attack is suspected to be the work of the OceanLotus threat group (also known as APT32).

OceanLotus APT Group Suspected in PyPI Supply Chain Attack Delivering Novel ZiChatBot Malware
Source: securelist.com

Beginning in July 2025, malicious wheel packages were uploaded to PyPI, mimicking legitimate libraries to trick developers. The packages were removed after the security community was alerted, but not before potential infections occurred.

Key Findings

“The attacker employed a novel technique to evade detection by using a benign-looking package as a dependency to conceal the malicious one,” said a Kaspersky researcher. “This is a carefully planned supply chain attack.”

Technical Details

The infection chain begins when a developer installs one of the fake libraries via pip install. The packages execute as droppers, delivering the ZiChatBot payload. The colorinal library serves as a representative example.

The packages provided platform-specific wheels (X86, X64 for Windows; x86_64 for Linux). The attacker used email accounts from TutaMail and ProtonMail to register the packages.

OceanLotus APT Group Suspected in PyPI Supply Chain Attack Delivering Novel ZiChatBot Malware
Source: securelist.com

Package Metadata

PackagePip CommandFirst UploadAuthor Email
uuid32-utilspip install uuid32-utils2025-07-16laz****@tutamail.com
colorinalpip install colorinal2025-07-22sym****@proton.me
termncolorpip install termncolor2025-07-22sym****@proton.me

Background

OceanLotus (APT32) is a Vietnam-linked advanced persistent threat group known for cyber espionage operations targeting governments, media, and private sector organizations. PyPI supply chain attacks have become a favored vector for distributing malware due to the trust developers place in open-source repositories.

In recent years, similar attacks have targeted npm, RubyGems, and PyPI. The use of Zulip as C2 infrastructure is unusual, allowing malware to blend in with legitimate chat traffic.

What This Means

Developers using PyPI should verify package authenticity before installation, especially those mimicking popular libraries. Organizations should monitor for unusual network traffic to Zulip API endpoints as an indicator of compromise.

The discovery underscores the need for enhanced security measures in open-source ecosystems. “This attack shows that threat actors are evolving their techniques to evade traditional defenses,” added the Kaspersky researcher.

Users who installed any of the three packages between July and August 2025 should scan their systems and rotate credentials immediately.

Related Articles

Recommended

Discover More

Active Windows Shell Spoofing Bug Sparks Urgent Patching DebateGermany Emerges as Prime Target in Europe's Escalating Cyber Extortion WaveAmazon WorkSpaces Now Gives AI Agents Secure Access to Legacy Desktop ApplicationsA Practical Guide to Building Reliable Multi-Agent AI Systems with Open ProtocolsSecuring .NET AI Agents: How to Govern MCP Tool Execution with AGT