Cyber Security News

Two PyPi Malicious Package Mimic ChatGPT & Claude Steals Developers Data

Two malicious Python packages masquerading as tools for interacting with popular AI models ChatGPT and Claude were recently discovered on the Python Package Index (PyPI), the official repository for Python libraries.

These packages reportedly remained undetected for over a year, silently compromising developer environments and exfiltrating sensitive data.

As reported by a cybersecurity researcher, Leonid via X, the malicious packages were designed to exploit the growing popularity and adoption of AI tools in development workflows.

PyPi Malicious Package

Developers, eager to integrate ChatGPT and Claude into their projects, were unknowingly installing these malicious packages, believing them to be legitimate resources for engaging with OpenAI and Anthropic’s language models.

Maximizing Cybersecurity ROI: Expert Tips for SME & MSP Leaders – Attend Free Webinar

The packages, whose names have not yet been disclosed, operated by mimicking legitimate libraries, providing seemingly functional capabilities while embedding hidden malicious scripts.

These scripts exfiltrated sensitive information, including API keys, credentials, and possibly proprietary code, directly from developers’ systems to external servers controlled by the attackers.

The researcher emphasized that these packages managed to evade detection for over a year, highlighting significant challenges in securing open-source ecosystems.

The PyPI repository, a cornerstone for Python development, has faced increasing scrutiny in recent years due to the rise of malicious actors exploiting its openness.

This breach has sent shockwaves through the development community, as it underscores the potential risks of relying on unverified third-party libraries.

Developers are urged to immediately audit their dependencies and review any recent installations of AI-related packages.

PyPI maintainers are reportedly working to remove malicious packages and strengthen security protocols to prevent similar incidents in the future.

Experts recommend that developers adopt best practices, including verifying package authenticity, using virtual environments, and employing automated dependency scanners to detect vulnerabilities.

Are you from SOC/DFIR Teams? – Analyse Malware Files & Links with ANY.RUN -> Try for Free

Divya

Divya is a Senior Journalist at GBhackers covering Cyber Attacks, Threats, Breaches, Vulnerabilities and other happenings in the cyber world.

Recent Posts

Malicious ‘mParivahan’ App Circulates on WhatsApp, Skimming Sensitive Mobile Data

A new variant of the fake NextGen mParivahan app has emerged, exploiting the trust users…

20 seconds ago

Dell Alerts Users to Critical PowerScale OneFS Flaws Enabling Account Takeover

Dell Technologies has issued an urgent security advisory to its users, warning of several critical…

2 hours ago

SonicWall Patches Multiple Vulnerabilities in NetExtender Windows Client

SonicWall has issued a critical alert concerning multiple vulnerabilities discovered in its NetExtender Windows client.…

2 hours ago

Cable: Powerful Post-Exploitation Toolkit for Active Directory Attacks

Cybersecurity researchers are raising alarms about Cable, a potent open-source post-exploitation toolkit designed to exploit Active…

3 hours ago

Langflow AI Builder Vulnerability Allows Remote Server Takeover by Attackers

A critical security vulnerability has been discovered in the Langflow AI Builder, a popular tool…

3 hours ago

Hackers Claim WooCommerce Breach Exposing 4.4 Million Customer Records

A hacker operating under the alias “Satanic” has claimed responsibility for a massive data breach…

4 hours ago