Critical Malicious Code Vulnerability in css-overscroll-contain Package

css-overscroll-contain Updated 09 Oct 2026

Summary

08/10/2026
CRITICAL
No i
Critical
Not published

MAL-2026-17705: Malicious code in css-overscroll-contain (npm). Affects css-overscroll-contain versions 1.0.1 – 1.0.3. 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 css-overscroll-contain package is an npm utility designed to manage CSS overscroll behavior. It is intended for developers to enhance user experience by controlling how content behaves when it is scrolled. However, this package has been found to contain malicious code that compromises the security of applications using it.

Vulnerability Detail

The vulnerability originates from the package's shipped modules, which execute a self-invoking function immediately upon loading. This function conducts host reconnaissance and steals sensitive credentials by collecting data such as host identity, file descriptors, network information, and Kubernetes service account tokens. The malicious code sends this data to a hardcoded external endpoint, posing significant risks to the security and integrity of affected systems.

How To Fix

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

npm uninstall css-overscroll-contain

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, you can remove the css-overscroll-contain package from your project until a secure version is available. You can do this by running the following command: npm uninstall css-overscroll-contain.

Conclusion

The css-overscroll-contain package has a critical vulnerability that allows for malicious code execution, leading to potential data theft. It is essential to update or remove the package to protect your application from these risks. Regular monitoring and using tools like Vulert can help maintain the security of your software.

See every vulnerability recorded for css-overscroll-contain →

Share this vulnerability

FAQ

css-overscroll-contain is an npm package designed to manage CSS overscroll behavior for web applications.

The vulnerability allows attackers to perform host reconnaissance and steal sensitive credentials, including tokens and environment variables.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.

Yes, you can temporarily uninstall the css-overscroll-contain package to mitigate risks until a secure version is released.

For further inquiries, you can reach out to Amazon Inspector at inspector-research@amazon.com.

How To Fix

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

npm uninstall css-overscroll-contain

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