Critical Malicious Code Vulnerability in Airbnb-Typescript-Prettier Package

airbnb-typescript-prettier Updated 02 Oct 2025

Summary

14/08/2025
CRITICAL
No i
Critical
Not published

MAL-2025-14199: Malicious code in airbnb-typescript-prettier (npm). Affected versions are not published. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The airbnb-typescript-prettier package is a tool designed to integrate Airbnb's JavaScript style guide with TypeScript and Prettier, facilitating code formatting and style consistency in TypeScript projects. However, it has been identified to contain malicious code that poses significant security risks to users.

Vulnerability Detail

The vulnerability in the airbnb-typescript-prettier package stems from the inclusion of malicious code that can compromise the integrity of the user's application. This code may allow unauthorized access, data exfiltration, or other harmful actions, potentially leading to severe consequences for developers and end-users alike. The issue was introduced in version 0 and affects all subsequent versions.

How To Fix

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

npm uninstall airbnb-typescript-prettier

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 measure, you can avoid using the airbnb-typescript-prettier package until a secure version is released. Consider using alternative packages that provide similar functionality without the associated risks.

Conclusion

The airbnb-typescript-prettier package has been found to contain malicious code that poses significant security risks. It is essential to uninstall the package and monitor for updates or alternatives to ensure the safety of your application.

See every vulnerability recorded for airbnb-typescript-prettier →

Share this vulnerability

FAQ

It is a package that integrates Airbnb's JavaScript style guide with TypeScript and Prettier for consistent code formatting.

The malicious code can potentially allow unauthorized access and data exfiltration, posing serious security risks.

You can use Vulert, which monitors open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.

You should uninstall the package immediately and look for alternatives or wait for a patched version to be released.

Regularly monitor your dependencies using tools like Vulert and keep your packages updated to the latest secure versions.

How To Fix

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

npm uninstall airbnb-typescript-prettier

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