Malicious Code Vulnerability in @hrmony/kit Package

@hrmony/kit Updated 29 Sep 2026

Summary

29/09/2026
CRITICAL
No i
Critical
Not published

MAL-2026-17263: Malicious code in @hrmony/kit (npm). Affects @hrmony/kit versions 1.99.0. 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

The @hrmony/kit package is an npm library that is intended for use in JavaScript applications. It is designed to provide certain functionalities, but it has been found to contain malicious code that compromises the security of systems using it. The package does not export any functional API, and its primary purpose appears to be data exfiltration.

Vulnerability Detail

The vulnerability originates from malicious code embedded in the @hrmony/kit package. Upon requiring or importing the package, it connects to the EC2 Instance Metadata Service to collect sensitive information, including IAM role security credentials and environment variables. This data is then sent to a hardcoded external endpoint. The package also includes a preinstall hook that attempts to execute similar malicious actions. The presence of this code poses significant risks, including unauthorized access to sensitive data and potential exploitation of the affected systems.

How To Fix

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

npm uninstall @hrmony/kit

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, ensure that your application does not use the @hrmony/kit package. Additionally, monitor your environment for any unauthorized access or data exfiltration attempts.

Conclusion

The @hrmony/kit package contains malicious code that poses a serious security risk. It is crucial to remove this package from your projects immediately to prevent unauthorized access to sensitive information. Regular monitoring for vulnerabilities is recommended.

See every vulnerability recorded for @hrmony/kit →

Share this vulnerability

FAQ

The @hrmony/kit package is an npm library that has been found to contain malicious code designed to exfiltrate sensitive information from systems.

The malicious code connects to the EC2 Instance Metadata Service to gather sensitive data and sends it to a hardcoded external endpoint.

You should immediately uninstall the @hrmony/kit package from your project using the command npm uninstall @hrmony/kit.

No, there are no patched versions of the @hrmony/kit package available. Complete removal is necessary.

You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just the package-lock.json file. You can also check if your application is affected by this vulnerability using the Vulert playground without any signup.

How To Fix

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

npm uninstall @hrmony/kit

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