Cyber Security News

New PyPI Supply Chain Attacks Python & NPM Users on Windows and Linux

A sophisticated malicious package campaign has emerged targeting Python and NPM users across Windows and Linux platforms through an unusual cross-ecosystem attack strategy.

The campaign exploits typo-squatting and name confusion tactics against popular packages including colorama, a widely-used Python library for terminal color control, and the similar colorizr JavaScript package on NPM.

The attack represents an escalation in open-source supply chain threats, combining multiple deception techniques to maximize its reach.

Threat actors uploaded numerous packages to PyPI with names closely mimicking legitimate libraries, creating a dangerous trap for developers who might mistype package names during installation.

What makes this campaign particularly noteworthy is its cross-ecosystem approach, where malicious PyPI packages deliberately mimic naming conventions from the NPM ecosystem, suggesting either coordinated confusion tactics or potential future expansion into JavaScript package repositories.

Checkmarx researchers identified this campaign as consistent with live adversarial activity and coordinated operations.

The researchers noted that the attack patterns indicate either targeted operations against specific organizations or sophisticated testing phases for broader deployment.

The malicious packages have since been removed from public repositories, but the campaign’s complexity raises concerns about similar future attacks.

Indications of Environment Variable access (Source – Checkmarx)

The payloads demonstrate advanced capabilities across both Windows and Linux platforms, featuring persistent remote access mechanisms, sensitive data harvesting, and sophisticated evasion techniques.

Windows variants specifically attempt to bypass antivirus and endpoint protection controls, while Linux payloads establish encrypted backdoors with remote control capabilities.

Windows Payload Evasion and Persistence Mechanisms

The Windows variants showcase particularly sophisticated anti-detection behaviors designed to establish long-term footholds on infected systems.

Process list access (Source – Checkmarx)

The malware actively checks for installed security software and modifies its behavior accordingly to avoid detection.

Among the most concerning evasion tactics, the payload executes specific commands to disable Windows Defender protections:-

"C:\Program Files\Windows Defender\MpCmdRun.exe" -RemoveDefinitions -All
Set-MpPreference -DisableI0AVProtection $true

These commands systematically remove malware definitions and disable Internet file scanning, creating blind spots in the system’s security posture.

The malware also harvests environment variables from the Windows registry, potentially exposing sensitive credentials and configuration secrets stored in system variables.

Celebrate 9 years of ANY.RUN! Unlock the full power of TI Lookup plan (100/300/600/1,000+ search requests), and your request quota will double.

Tushar Subhra Dutta

Tushar is a senior cybersecurity and breach reporter. He specializes in covering cybersecurity news, trends, and emerging threats, data breaches, and malware attacks. With years of experience, he brings clarity and depth to complex security topics.

Recent Posts

Google Chrome 153 Update Fixes 42 Security Flaws, Including 3 Critical Ones

Google has released an important Chrome 153 security update that fixes 42 vulnerabilities across the…

3 hours ago

CISA and NIST Release Technical Checklist for Safeguarding Identity Tokens From Theft and Misuse

The Cybersecurity and Infrastructure Security Agency (CISA) and the National Institute of Standards and Technology…

13 hours ago

CISA Shares 17 Techniques Used by Hackers to Compromise Active Directory Environments

CISA and five international cybersecurity agencies have released detailed guidance describing 17 common techniques hackers…

14 hours ago

Apple Rolls Out Massive Security Update Fixing 273 Vulnerabilities Across Its Devices

Apple has released one of its largest coordinated security rollouts, addressing 273 distinct critical vulnerabilities…

14 hours ago

How to Keep Malware’s Rotating Infrastructure From Becoming a Detection Gap

You can’t detect today's attacks with yesterday’s threat intelligence; that’s how you could briefly formulate…

14 hours ago

Microsoft Bans Its AI Models From Launching Cyberattacks or Escalating Their Own Access

Microsoft has published a draft Humanist AI Code of Conduct that would prohibit its in-house…

14 hours ago