Cyber Security News

Threat Actors Exploit Open-Source Vulnerabilities to Spread Malicious Code

FortiGuard Labs has reported a sustained trend in the exploitation of open-source software (OSS) repositories for malware dissemination within supply chain ecosystems.

As development workflows increasingly depend on third-party packages, adversaries are capitalizing on vulnerabilities in platforms like NPM and PyPI to inject malicious code, facilitate data exfiltration, and inflict broader damage.

Leveraging proprietary AI-driven malware detection and real-time monitoring, FortiGuard’s systems enable proactive identification of emerging threats.

OSS Supply Chain Attacks

Analysis from Q2 2025 indicates that these attack vectors remain largely unchanged in methodology, with core tactics persisting despite heightened awareness.

During this period, over 1.4 million NPM packages and 400,000 PyPI packages were scanned, revealing a significant volume of malicious artifacts.

Key behaviors include data exfiltration via setup or install scripts, with statistical insights from over a thousand confirmed cases showing high incidences of low file counts, absent linked repositories, and obfuscated code techniques designed to minimize detection footprints, evade traceability, and execute payloads stealthily during installation.

Compared to prior quarters, there was a notable uptick in obfuscation layers, underscoring attackers’ efforts to complicate static and dynamic analysis.

In-Depth Examination

Delving into specific instances, several PyPI packages exemplify these tactics, including simple-mali-pkg-0.1.0, confighum-0.3.5, sinontop-utils-0.3.5, solana-sdkpy-1.2.5, and solana-sdkpy-1.2.6.

These artifacts employ install script execution, command overwriting, minimal file structures, and multi-layered encryption to conceal credential and wallet theft operations.

Decrypted mali.py indicating the stealing of personal data and wallets

For instance, the setup.py file in simple-mali-pkg-0.1.0 triggers a suspicious mali.py script laden with dozens of encryption strata, which, upon decryption, exposes functions targeting personal data, browser credentials, and cryptocurrency wallets.

This pattern aligns with broader trends where threat actors prioritize rapid, silent deployment to harvest sensitive information without alerting users.

Similarly, the NPM package postcss-theme-vars-7.0.7 mirrors these approaches through obfuscated JavaScript hidden in a misdirecting test-samples.dat file, impersonating legitimate PostCSS libraries.

Deobfuscation reveals sophisticated routines for stealing browser profiles (e.g., Chrome and Brave), saved passwords, autofill data, extension configurations, and sensitive documents, alongside keylogging, screenshot capture, and clipboard monitoring.

Data is exfiltrated via socket connections to attacker-controlled servers, highlighting persistence from prior campaigns, such as those linked to North Korean APT groups.

These examples illustrate how adversaries adapt proven methods, like code impersonation and behavioral evasion, to maintain efficacy in evolving OSS landscapes.

Q2 2025 findings affirm the enduring nature of OSS supply chain threats, with attackers relying on discreet exfiltration and obfuscation to exploit the expanding attack surface.

Organizations are urged to enhance defenses through vigilant monitoring, awareness of dependency risks, and integration of advanced scanning tools.

Fortinet’s protections, including AntiVirus detections for these packages and Web Filtering to block associated URLs, provide robust safeguards, while services like FortiDevSec prevent malicious dependencies in development pipelines.

For suspected breaches, contacting incident response teams is advised to mitigate impacts.

Indicators of Compromise (IOCs)

Package NameSHA256 HashDetection
simple-mali-pkg-0.1.0a9114a446a136ddf38c16f9e1bb1a83400cba423d0d97df121a54b67829be7b9Python/FreeCodingTools.10037449!tr
confighum-0.3.52e037be549c01fec14d9cad59075708476e90456deb53811f4301eb111c1104bPython/FreeCodingTools.10037449!tr
sinontop-utils-0.3.500892955b1a2302536f4d7175cd30d89f961c1f45d56461e62ba0549b5906ae9Python/FreeCodingTools.10037449!tr
solana-sdkpy-1.2.5d63099defcc1ee6dcbcbb68383e435347b661a9e399f5a028f735b5f6f3f86d7Python/FreeCodingTools.10037449!tr
solana-sdkpy-1.2.6de23b7350619938388cc01f8086df95858495c6c8d73743a3c20d0ced3aece5bPython/FreeCodingTools.10037449!tr
postcss-theme-vars-7.0.72d9d200b8e167fc95120e893dd3d7d02789a8ba41ba2632af2e342f35d1d2283JS/Stealer.A!tr

Find this News Interesting! Follow us on Google News, LinkedIn, and X to Get Instant Updates!

Aman Mishra

Aman Mishra is a Security and privacy Reporter covering various data breach, cyber crime, malware, & vulnerability.

Recent Posts

Hackers Use ConnectWise SkyKick Credentials to Access Microsoft 365, Halting Cloud Backups

Attackers abused compromised ConnectWise Cloud Backup credentials to access Microsoft 365 customer environments, prompting ConnectWise…

1 day ago

Anthropic’s Claude AI Uncovers Origins of NSA-Provided Cryptographic Keys After 25 Years

Anthropic says an internal Claude research model reconstructed how the National Security Agency generated seeds…

2 days ago

Critical WordPress Flaws Allow Attackers to Execute Remote Code Without Authentication

Two WordPress Core vulnerabilities can be chained to execute remote code without authentication, according to…

2 days ago

OpenBSD Kernel Flaw Dating Back 37 Years Enables Local Privilege Escalation to Root

A newly disclosed OpenBSD kernel exploitation chain combines a shared memory accounting flaw with a…

2 days ago

GhostAction Hackers Hide Credential-Stealing Malware in Fake Font Files Across 94 GitHub Repositories

GhostAction attackers have expanded their GitHub credential theft campaign with a second stage that disguises…

2 days ago

SideCopy Hackers Target Indian Organizations With ReverseRAT Malware to Steal Data

Indian authorities have warned that SideCopy hackers are targeting Indian organizations, including academic institutions, with…

2 days ago