Malicious Code Injection in @art-ws/http-server: A Critical Security Threat

@art-ws/http-server Updated 02 Oct 2025

Summary

16/09/2025
CRITICAL
No i
Critical
Not published

MAL-2025-47379: Malicious code in @art-ws/http-server (npm). Affects @art-ws/http-server versions 2.0.21 – 2.0.25. 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 Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The @art-ws/http-server package is a Node.js server that allows developers to serve web content easily. It is commonly used in various applications for its simplicity and efficiency. However, this package has been compromised, leading to the introduction of malicious code that poses significant security risks to users.

Vulnerability Detail

The vulnerability stems from the Shai-Hulud NPM worm, which compromised the @art-ws/http-server package. The malicious code embedded within this package is designed to steal tokens and credentials from users and publish them to GitHub. Furthermore, it has the capability to propagate itself to other NPM packages owned by the affected user, amplifying the risk of widespread compromise.

How To Fix

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

npm uninstall @art-ws/http-server

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

As a temporary workaround, users can remove the affected package from their project until they can update to a secure version. This can be done by executing the command: npm uninstall @art-ws/http-server.

Conclusion

The @art-ws/http-server package has been compromised, leading to the introduction of malicious code that poses significant security threats. Users are strongly advised to update to the latest secure versions or remove the package until they can ensure their systems are safe. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.

See every vulnerability recorded for @art-ws/http-server →

Share this vulnerability

FAQ

The malicious code is designed to steal sensitive information such as tokens and credentials and publish them to GitHub.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.

If immediate updates are not possible, consider uninstalling the package as a temporary measure to mitigate risks.

Yes, the safe versions of the package are 2.0.25 and 2.0.21. Ensure to update to one of these versions.

Vulert monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file, providing real-time insights without requiring code access.

How To Fix

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

npm uninstall @art-ws/http-server

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