• Home
  • News
  • AI
  • Cyber
  • GRC
  • Blogs
  • Live CVE
No Result
View All Result
Sumtrix
  • Home
  • News
  • AI
  • Cyber
  • GRC
  • Blogs
  • Live CVE
No Result
View All Result
Sumtrix
No Result
View All Result
Home Cyber

Malicious PyPI and npm Packages Discovered Exploiting Dependencies in Supply Chain Attacks

Jane Doe by Jane Doe
August 18, 2025
in Cyber
Share on FacebookShare on Twitter

Malicious packages are actively infiltrating the Python Package Index (PyPI) and npm repositories, posing a significant threat to software supply chains. Security researchers have recently uncovered multiple campaigns where threat actors are exploiting the trust developers place in these popular open-source ecosystems. The attacks primarily leverage dependencies to compromise systems, often through a variety of sophisticated techniques.

The core of these attacks is the software supply chain, where malicious code is injected into a component that many other applications rely on. The PyPI and npm ecosystems are particularly vulnerable because modern software projects often use hundreds of open-source packages as dependencies. An attack on a single popular package can spread malicious code to countless downstream projects and users.

Attackers employ several methods to achieve this:

Read

Gorilla Technology Secures Major AI Government Intelligence Platform Win in Asia

CrowdStrike’s Fal.Con 2025 Event Kicks Off, Focusing on AI and Ecosystem Innovation

  • Typosquatting: This technique involves creating packages with names that are very similar to popular, legitimate ones. Developers might accidentally type “coloramapkgsw” instead of “colorama” and unknowingly install a malicious package.
  • Dependency Confusion: Attackers upload a malicious package to a public repository with the same name as a private, internal package used by a company. Due to the default behavior of some package managers, the public, higher-versioned malicious package is installed instead of the intended private one.
  • Malicious Dependencies: A seemingly harmless package is created, but its true purpose is to pull in a second, hidden dependency that contains the actual malware. This multi-stage approach makes the initial package appear benign and harder to detect. For example, a package called termncolor was found to download a malicious payload via a dependency named colorinal.

Once installed, these malicious packages are designed to execute code during the installation process, before the developer even gets a chance to use them. The payloads are diverse and often aim for a significant impact:

  • Credential Harvesting: Attackers steal sensitive data such as browser credentials, cryptocurrency wallet keys, and SSH keys. A recent npm package, crypto-encrypt-ts, targeted cryptocurrency wallets specifically.
  • System Sabotage: Some packages have been found to contain “wiper” malware that deletes entire application directories. While not financially motivated, this type of attack can cause widespread damage and disruption.
  • Remote Access: Malware can establish a persistent backdoor on the infected system, allowing attackers to run shell commands, take screenshots, and exfiltrate data remotely. One such campaign leveraged a compromised public access token to inject a remote access trojan into several packages.

Protecting against these attacks requires a multi-layered approach. Developers should be cautious when adding new dependencies and scrutinize package names for any suspicious typos. Using tools that automatically scan for known malicious packages and implementing stricter security policies for build pipelines are also essential steps. Companies should also consider auditing their dependencies and ensuring that private packages are given precedence over public ones to prevent dependency confusion attacks.

Previous Post

Sharjah to Hold AI Skills Challenge for Youth Before IGCF 2025

Next Post

UK Telecoms Firm Takes Systems Offline After Cyber Attack

Jane Doe

Jane Doe

More Articles

Fujitsu Develops Energy-Efficient Generative AI Technology
Cyber

UN Establishes Global Dialogue on AI Governance to Address AI Risks and Oversight

In a landmark move, the United Nations has launched a new global initiative to establish an international framework for AI...

by Jane Doe
September 8, 2025
Fujitsu Develops Energy-Efficient Generative AI Technology
Cyber

EU Data Act to Become Applicable on September 12, 2025, Regulating Data Access and Sharing

The European Union's Data Act is poised to become applicable on September 12, 2025, marking a significant milestone in the...

by Jane Doe
September 8, 2025
Fujitsu Develops Energy-Efficient Generative AI Technology
Cyber

VirusTotal Finds Hidden Malware Phishing Campaign in SVG Files

In a new and concerning development, security researchers at VirusTotal have identified a sophisticated phishing campaign that uses Scalable Vector...

by Jane Doe
September 8, 2025
Fujitsu Develops Energy-Efficient Generative AI Technology
Cyber

AI-powered Malware Hits Over 2,180 GitHub Accounts in “s1ngularity” Attack

A new and insidious form of cyberattack, leveraging artificial intelligence (AI) to automate and scale malicious activities, is reportedly targeting...

by Jane Doe
September 8, 2025
Next Post
Dubai Launches AI Tech that Lets Passengers Walk Through Immigration Without Showing Passport

UK Telecoms Firm Takes Systems Offline After Cyber Attack

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

I agree to the Terms & Conditions and Privacy Policy.

Latest News

Hacking AI the Right Way: A Guide to AI Red Teaming

Hacking AI the Right Way: A Guide to AI Red Teaming

May 27, 2025
Researchers Cracked the Encryption Used by DarkBit Ransomware

Researchers Cracked the Encryption Used by DarkBit Ransomware

August 12, 2025
Researchers Cracked the Encryption Used by DarkBit Ransomware

High-severity WinRAR 0-day exploited for weeks by 2 groups

August 12, 2025

Transforming App Development with AI, Part 3: Challenges and Ethical Considerations

March 19, 2025
Exploring AI’s Critical Role in Climate Change at the G7 Summit

Exploring AI’s Critical Role in Climate Change at the G7 Summit

May 28, 2025
Are We Ready for the Next Cyber Storm? Why Staying Passive Is the Greatest Risk

Are We Ready for the Next Cyber Storm?

April 26, 2025
Researchers Cracked the Encryption Used by DarkBit Ransomware

Ghanaian Nationals Extradited for Roles in $100M Romance and Wire Fraud

August 12, 2025
Sumtrix.com

© 2025 Sumtrix – Your source for the latest in Cybersecurity, AI, and Tech News.

Navigate Site

  • About
  • Contact
  • Privacy Policy
  • Advertise

Follow Us

No Result
View All Result
  • Home
  • News
  • AI
  • Cyber
  • GRC
  • Blogs
  • Live CVE

© 2025 Sumtrix – Your source for the latest in Cybersecurity, AI, and Tech News.

Our website uses cookies. By continuing to use this website you are giving consent to cookies being used. Visit our Privacy and Cookie Policy.