Vulnerability in faker.js 6.6.6

faker.js Updated 02 Oct 2025

Summary

09/01/2022
N/A
No i
Unrated
Not published

GSD-2022-1000008: faker.js 6.6.6 is broken and the developer has wiped the original GitHub repo. 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 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

faker.js is a JavaScript package that generates fake data for various purposes, such as testing and prototyping. It is widely used in the JavaScript ecosystem, with 2,571 dependent packages relying on it. However, version 6.6.6 of faker.js has encountered a critical issue. The original GitHub repository for faker.js has been intentionally wiped of its content, leaving the package broken. It seems that both the GitHub and NPM accounts of the original developer have been locked out. A fork of the repository with the original code is now available at https://github.com/faker-js/faker.

Vulnerability Detail

The vulnerability in faker.js 6.6.6 stems from the intentional wiping of the original GitHub repository. This action has left the package in a broken state, impacting the functionality of the dependent packages. The ramifications of this vulnerability include potential data inconsistencies, test failures, and issues in prototyping. It is important to note that this incident is related to GSD-2022-1000007 and appears to be part of the same incident.

How To Fix

No fixed version is published for this vulnerability.

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

Workaround

As a workaround, you can manually download the forked repository from https://github.com/faker-js/faker and include it in your project. This will ensure that you have a local copy of the original code and can continue using faker.js without relying on the broken version from the NPM registry.

Conclusion

In conclusion, faker.js 6.6.6 is vulnerable due to the intentional wiping of the original GitHub repository. This has left the package broken and impacts the functionality of dependent packages. To fix the vulnerability, update to the forked repository or manually include it in your project. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for faker.js →

Share this vulnerability

FAQ

faker.js is a JavaScript package that generates fake data for various purposes, such as testing and prototyping.

faker.js has 2,571 dependent packages that rely on it.

The original GitHub repository for faker.js was intentionally wiped, likely as part of an incident involving the developer's account being locked out.

The vulnerability in faker.js can lead to data inconsistencies, test failures, and issues in prototyping for applications relying on the package.

To fix the vulnerability, update your package.json file to point to the forked repository at https://github.com/faker-js/faker and run the necessary installation commands.

Related vulnerabilities

Recent vulnerabilities recorded for faker.js.

How To Fix

No fixed version is published for this vulnerability.

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