malicious npm packages - pypi malicious packages - malicious code - malware report - npm malware - pypi malware

Npm Malware Today: Weekly Malicious Code Digest

Npm malware today continues to evolve, with attackers publishing malicious code, malicious npm packages, and PyPI malicious packages designed to target development workflows, CI/CD pipelines, and open-source ecosystems. The Malicious Code Digest is Xygeni’s ongoing research report that tracks and verifies real malicious packages across npm, PyPI, VS Code, and OpenVSX, including confirmed backdoors, data-stealers, credential exfiltration payloads, and automated multi-version malware campaigns.

Our research team updates this page regularly with validated findings, indicators of compromise (IOCs), behavioral patterns, and technical analysis. As a result, developers, AppSec teams, and security engineers can stay ahead of npm malware today and emerging malicious package activity impacting modern software supply chains.

NPM Malware Today: Weekly Summary 24–29 April 2026

Researchers confirmed 97 malicious packages across public registries during this period.

Dataset observations

  • Most confirmed packages were published in npm
  • Additional cases affected PyPI, OpenVSX, and Composer
  • Repeated malicious publishing across the same package families and related names
  • High or atypical version patterns such as 99.x, 99.9.x, and 1.0.x
  • Strong use of payment and checkout, enterprise-style, internal web app, analytics, UI foundation, developer-tool, cloud-themed, and component-related naming patterns
  • Multiple coordinated version bursts designed to resemble legitimate package updates

View the full weekly malware report →

Monthly Malware Report: Confirmed Malicious npm Packages in April 2026

Welcome to the latest edition of the Xygeni Malicious Code Digest (Monthly Edition). In April 2026, our research team confirmed more than 250 malicious packages, primarily across npm, with additional cases affecting PyPI, VS Code, OpenVSX, and Composer.

April was not only about volume. Alongside automation-driven publishing waves, aggressive version inflation campaigns, package family clustering, and internal-tool impersonation, we observed some of the month’s most notable patterns in coordinated malicious publishing across:

fake internal tooling, AI-themed packages, payment and checkout modules, analytics clients, frontend components, developer utilities, Kubernetes and cloud tooling, VS Code and OpenVSX extensions, and trusted brand-like package names designed to blend into real software delivery pipelines.

These were not simple typosquatting incidents. Across the broader April dataset, we observed credential abuse patterns, supply chain manipulation, repeated namespace reuse, and coordinated malicious publishing designed to blend into real developer environments and software delivery pipelines.

Across the broader dataset, we continued to observe scripted multi-version publishing, inflated versioning schemes, payment- and enterprise-themed naming, AI- and agentic-themed package names, SDK and frontend component impersonation, internal-tool mimicry, and classic tactics such as dependency confusion and data exfiltration.

This report is part of our ongoing Malicious Code Digest, where we validate new threats and provide actionable intelligence to help DevSecOps teams stay ahead of software supply chain risk.

Ecosystem Package Date
npmpa-marked:99.1.10Apr 27, 2026
pypimoonbit-locale-compat:0.2.3Apr 27, 2026
npm@alfa.life.mapp/app.web:99.0.13Apr 27, 2026
npm@sbt_gitverse/analytics-client:99.0.1Apr 27, 2026
npm@frengki0707/google-cloud-clone:1.33.1Apr 27, 2026
npm@alfa.life.mapp/app.web:99.0.14Apr 27, 2026
npm@tochka-ui/foundation:99.0.2Apr 27, 2026
openvsxarcane-spark/ubel:0.1.0Apr 28, 2026
npm@2011-08-19/n:99.9.9Apr 28, 2026
npm@frengki0707/google-cloud-clone:1.38.0Apr 27, 2026

How We Detect Malicious Code in npm Malware and PyPI Malware

Xygeni uses multi-layered techniques to stop malicious code before it spreads. First of all, static code analysis detects obfuscation patterns, hidden payloads, and script abuse. In addition, behavioral sandboxing analyzes install hooks, runtime commands, and persistence tricks. Moreover, machine learning detection identifies zero-day npm malware and pypi malware variants missed by signature scanners. Finally, the Early Warning System monitors public repositories in real time, validates findings, and alerts DevOps teams immediately.

As a result, this combination ensures developers receive fast, actionable intelligence integrated directly into CI/CD workflows.

Why Developers Should Care About Malicious npm Packages

Modern threats rarely wait for runtime. For example, malicious npm packages often execute during installation, while pypi malicious packages hide token exfiltration or backdoors. Attackers:

  • Flip private GitHub repos to public to replicate them.
  • Exfiltrate credentials and secrets using encoded payloads.
  • Use obfuscated JavaScript loaders to deploy ransomware or botnets.

In fact, malicious open-source packages surged 156% in one year. Therefore, teams that rely only on delayed feeds or basic scanners fall behind.

What This Malware Report Tracks in npm and PyPI

This digest is the central hub for:

  • Confirmed malicious npm packages
  • Confirmed pypi malicious packages
  • Behavior-based detections of malicious code
  • Registry-confirmed incidents
  • Weekly and monthly malware report summaries
  • Historical changelog of all npm malware and pypi malware findings

In other words, it provides a single point of reference. The research team at Xygeni updates this page weekly with links to full technical analyses and GitHub IOCs.

How to Protect Against Malicious npm Packages and PyPI Malware

Because of this growing risk, organizations need more than basic dependency checks. Strong defenses against malicious npm packages and pypi malicious packages require both preventive controls and runtime enforcement:

Enforce Lockfile-Only Installs Against Malicious npm Packages

Use npm ci or pip install --require-hashes in CI/CD.
This ensures the exact dependency tree defined in lockfiles is used. As a result, attackers cannot slip in modified or typosquatted versions of malicious npm packages.

Pre-Install Scanning for npm Malware and PyPI Malware

Integrate Xygeni’s Early Warning Engine to scan npm malware and pypi malware before packages reach your environment.
Moreover, detect suspicious postinstall scripts, obfuscated loaders, or hardcoded C2 URLs.

Guardrails to Block Builds with Malicious Code

Set guardrails to fail builds automatically if confirmed malicious npm packages or pypi malicious packages are detected.
For example, break builds on packages with unpublished maintainers, obfuscation patterns, or IOC matches. Consequently, malicious code never passes unnoticed.

Generate and Validate SBOMs Against Malicious npm Packages and PyPI Malware

Create SBOMs (CycloneDX, SPDX) for every build.
Afterward, compare against known malicious npm packages and pypi malware feeds to track both direct and transitive dependencies.

Credential and Token Protection from npm Malware and PyPI Malware

Many malicious npm packages try to read .npmrc, .pypirc, or environment variables.
Therefore, run builds in hardened containers with minimal secrets exposed. Additionally, use secrets managers instead of environment variables to block malicious code abuse.

Monitor Registry and Maintainer Changes in Malicious npm Packages

Attackers often hijack abandoned projects.
In particular, watch for sudden maintainer swaps, unusual versioning jumps, or excessive publishes in npm malware and pypi malicious packages.

Developer Training on Detecting Malicious Code in npm and PyPI

Teach teams to spot red flags such as:

  • Package names with typos (reqeust instead of request).
  • Unusual install or prepare scripts.
  • Recently created packages with suspiciously high version numbers.
    Above all, this awareness helps detect malicious code early.

Runtime Anomaly Detection for Malicious npm Packages and PyPI Malware

Even if malware bypasses static checks, runtime detection in CI/CD can catch:

  • Unexpected network connections.
  • File system modifications outside expected directories.
  • Persistence attempts across jobs.
    Finally, this ensures npm malware and pypi malware threats are stopped even after installation.

By combining these controls, teams prevent malicious npm packages and pypi malicious packages from ever reaching production pipelines.

Try Xygeni’s Malware Detection Tools

Xygeni delivers:

  • Real-time detection of malicious code, including backdoors, spyware, and ransomware.
  • In contrast to basic scanners, analysis across npm, PyPI, Maven, NuGet, RubyGems, and more.
  • Automatic build blocking when the malware report identifies risk.
  • Exploitability insights, maintainer reputation checks, and anomaly detection.

Stay Informed

Our team updates this page every week. To receive alerts and detailed reports:

  • Subscribe to our Newsletter
  • Follow @XygeniSecurity on Linkedin
  • Bookmark this page to track the latest npm malware and pypi malware threats
sca-tools-software-composition-analysis-tools
Prioritize, remediate, and secure your software risks
7-day free trial
No credit card required

Secure your Software Development and Delivery

with Xygeni Product Suite