Saturday, March 22, 2025
HomeChatGPTTwo PyPi Malicious Package Mimic ChatGPT & Claude Steals Developers Data

Two PyPi Malicious Package Mimic ChatGPT & Claude Steals Developers Data

Published on

SIEM as a Service

Follow Us on Google News

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
Divya is a Senior Journalist at GBhackers covering Cyber Attacks, Threats, Breaches, Vulnerabilities and other happenings in the cyber world.

Latest articles

Attackers Leverage Weaponized CAPTCHAs to Execute PowerShell and Deploy Malware

In a recent surge of sophisticated cyberattacks, threat actors have been utilizing fake CAPTCHA...

Researchers Uncover FIN7’s Stealthy Python-Based Anubis Backdoor

Researchers have recently discovered a sophisticated Python-based backdoor, known as the Anubis Backdoor, deployed...

Researchers Reveal macOS Vulnerability Exposing System Passwords

A recent article by Noah Gregory has highlighted a significant vulnerability in macOS, identified...

JumpServer Flaws Allow Attackers to Bypass Authentication and Gain Full Control

JumpServer, a widely used open-source Privileged Access Management (PAM) tool developed by Fit2Cloud, has...

Supply Chain Attack Prevention

Free Webinar - Supply Chain Attack Prevention

Recent attacks like Polyfill[.]io show how compromised third-party components become backdoors for hackers. PCI DSS 4.0’s Requirement 6.4.3 mandates stricter browser script controls, while Requirement 12.8 focuses on securing third-party providers.

Join Vivekanand Gopalan (VP of Products – Indusface) and Phani Deepak Akella (VP of Marketing – Indusface) as they break down these compliance requirements and share strategies to protect your applications from supply chain attacks.

Discussion points

Meeting PCI DSS 4.0 mandates.
Blocking malicious components and unauthorized JavaScript execution.
PIdentifying attack surfaces from third-party dependencies.
Preventing man-in-the-browser attacks with proactive monitoring.

More like this

Attackers Leverage Weaponized CAPTCHAs to Execute PowerShell and Deploy Malware

In a recent surge of sophisticated cyberattacks, threat actors have been utilizing fake CAPTCHA...

Researchers Uncover FIN7’s Stealthy Python-Based Anubis Backdoor

Researchers have recently discovered a sophisticated Python-based backdoor, known as the Anubis Backdoor, deployed...

Researchers Reveal macOS Vulnerability Exposing System Passwords

A recent article by Noah Gregory has highlighted a significant vulnerability in macOS, identified...