Critical Malicious Code Vulnerability in vite-postcss-bootstrap Package

vite-postcss-bootstrap Updated 02 Oct 2025

Summary

29/07/2025
CRITICAL
No i
Critical
Not published

MAL-2025-6346: Malicious code in vite-postcss-bootstrap (npm). Affects vite-postcss-bootstrap versions 0.0.4. 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

vite-postcss-bootstrap is an npm package designed to integrate Bootstrap with PostCSS, providing developers with a streamlined way to utilize Bootstrap's styling capabilities alongside PostCSS features. However, this package has been identified to contain embedded malicious code, posing significant security risks to any system that has it installed.

Vulnerability Detail

The vulnerability stems from the presence of embedded malicious code within the vite-postcss-bootstrap package. This malicious code can compromise the integrity of the system, allowing unauthorized access to sensitive information such as secrets and keys. Once installed, the package can fully control the affected computer, making it imperative for users to take immediate action to mitigate risks.

How To Fix

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

npm uninstall vite-postcss-bootstrap

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 workaround, if you need to maintain functionality while removing the vulnerable package, consider using alternative packages that provide similar features without the associated risks. Always ensure that any new packages are thoroughly vetted for security.

Conclusion

The vite-postcss-bootstrap package contains embedded malicious code that poses serious security risks. Users are advised to remove the package immediately and take necessary precautions to secure their systems. Regular monitoring for updates and using tools like Vulert can help in managing open-source vulnerabilities effectively.

See every vulnerability recorded for vite-postcss-bootstrap →

Share this vulnerability

FAQ

vite-postcss-bootstrap is an npm package that integrates Bootstrap with PostCSS, allowing developers to use Bootstrap's styling features in conjunction with PostCSS.

The embedded malicious code can compromise the system, allowing unauthorized access to sensitive information and potentially giving full control of the computer to an outside entity.

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

If you have vite-postcss-bootstrap installed, you should remove it immediately and rotate any secrets or keys stored on the affected computer.

Currently, there is no patch available for vite-postcss-bootstrap. The best course of action is to remove the package and monitor for updates from the maintainers.

How To Fix

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

npm uninstall vite-postcss-bootstrap

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