CVE-2022-2233: Malicious code in creathash (npm)

creathash Updated 02 Oct 2025

Summary

19/08/2022
CRITICAL
No i
Critical
Not published

MAL-2022-2233: Malicious code in creathash (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 creathash package is an npm package used for creating hash values. It is commonly used in various applications and systems for cryptographic operations. The package provides a simple and convenient way to generate hash values for data. However, the package has been found to contain malicious code, which can compromise the security of any system where it is installed or running.

Vulnerability Detail

The creathash package has been identified as containing malicious code. This code can give full control of the affected computer to an outside entity, compromising the confidentiality and integrity of the system. Any secrets and keys stored on the compromised computer should be rotated immediately from a different computer. Simply removing the package may not be sufficient, as there is no guarantee that all malicious software resulting from its installation will be removed. The presence of this package on a computer should be considered a full compromise, and appropriate actions should be taken to mitigate the risk.

How To Fix

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

npm uninstall creathash

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

There is no specific workaround mentioned for this vulnerability. The recommended course of action is to follow the steps outlined in the 'how_to_fix' section.

Conclusion

The creathash package has been found to contain malicious code, compromising the security of any system where it is installed or running. It is crucial to take immediate action to rotate all secrets and keys, remove the package, and perform a thorough security audit. Keeping software and packages up to date is essential to prevent similar incidents in the future. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for creathash →

Share this vulnerability

FAQ

The impact of this vulnerability is that an outside entity can gain full control of the affected computer, compromising the confidentiality and integrity of the system. Any secrets and keys stored on the compromised computer should be rotated immediately from a different computer.

To fix this vulnerability, it is recommended to rotate all secrets and keys stored on the affected computer from a different, secure computer. Remove the creathash package from the system and perform a thorough security audit to identify any other potential compromises or vulnerabilities.

Simply removing the package may not be sufficient, as there is no guarantee that all malicious software resulting from its installation will be removed. It is important to rotate all secrets and keys stored on the affected computer and perform a thorough security audit.

To prevent similar incidents in the future, it is important to keep all software and packages up to date. Regularly check for security updates and patches, and follow best practices for secure coding and system administration.

For further support on vulnerability remediation, you can reach out to info@devnack.com. They can provide guidance and assistance in addressing this vulnerability.

How To Fix

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

npm uninstall creathash

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