Critical Malicious Code Vulnerability in @alexadark/gatsby-theme-events Package

Summary

25/11/2025
CRITICAL
No i
Critical
Not published

MAL-2025-191182: Malicious code in @alexadark/gatsby-theme-events (npm). Affects @alexadark/gatsby-theme-events versions 1.0.1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The @alexadark/gatsby-theme-events package is an npm library designed for developers using Gatsby to create event-themed websites. It provides functionalities to manage and display events efficiently. However, this package has been compromised, making it susceptible to severe security threats, including unauthorized access to sensitive information.

Vulnerability Detail

The vulnerability originates from a malicious payload introduced by the Sha1-Hulud: The Second Coming NPM worm. This worm is designed to steal tokens and credentials from affected systems and publish them to GitHub. It can propagate itself to other npm packages owned by the user and establish persistence through GitHub actions. The malicious code may also lead to the destruction of the user's home directory, making it a critical threat to any system running this package.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall @alexadark/gatsby-theme-events

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

Currently, there are no effective workarounds to mitigate the risks posed by this vulnerability. The best course of action is to uninstall the package and monitor your system for any unusual activity.

Conclusion

The @alexadark/gatsby-theme-events package has been compromised by a malicious worm, posing significant security risks to any system using it. Immediate action is required to uninstall the package and secure sensitive information. Utilizing tools like Vulert can help in monitoring for such vulnerabilities in the future.

See every vulnerability recorded for @alexadark/gatsby-theme-events →

Share this vulnerability

FAQ

You should immediately uninstall the package and rotate any sensitive credentials stored on your system.

The malicious code can steal sensitive tokens and credentials, potentially compromising your GitHub repositories and other accounts.

Recovery involves uninstalling the package, rotating all credentials, and monitoring your system for any signs of further compromise.

Yes, you can use Vulert to monitor and alert for open-source vulnerabilities in your software by analyzing your package-lock.json file.

Vulert is a tool that monitors open-source vulnerabilities in your software without requiring code access or installation. You can check your application's vulnerability status using the Vulert playground.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall @alexadark/gatsby-theme-events

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback