Malicious code in @hibachi-xyz/config (npm)
Description
The npm package '@hibachi-xyz/config' version 99.0.0 is identified as malicious. Upon requiring the package, it enumerates environment variables to collect sensitive credential-like information and executes system commands to gather user and system details. This data is then sent to a remote server with TLS verification disabled, indicating potential data exfiltration. The package version and scope suggest it is a typosquatting or hijacked package mimicking legitimate hibachi packages.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The '@hibachi-xyz/config' npm package at version 99.0.0 contains malicious code that, when loaded, scans environment variables for keys resembling credentials (e.g., KEY, SECRET, TOKEN, PASS, AWS, GITHUB, DOCKER) and collects their values. It also runs system commands ('whoami', 'id', and 'cat /proc/1/cgroup') to gather user and container-related information. The collected data is compiled into a JSON payload and sent via an HTTPS POST request to a remote endpoint (https://jorijo.xyz:8443/t) with TLS certificate verification disabled (rejectUnauthorized:false), increasing the risk of man-in-the-middle attacks. The package appears to be a malicious typosquat or scope hijack of legitimate hibachi packages, leveraging version inflation (99.0.0) to appear distinct.
Potential Impact
This malicious package can exfiltrate sensitive environment variables that may contain credentials or secrets, potentially compromising user accounts, cloud services, and other integrated systems. The execution of system commands can reveal user and container context, aiding attackers in further exploitation or lateral movement. The use of disabled TLS verification weakens transport security, increasing the risk of interception of the exfiltrated data.
Mitigation Recommendations
No official patch or remediation is currently documented for this malicious package. The best mitigation is to avoid installing or using '@hibachi-xyz/config' version 99.0.0. Users should verify package authenticity and source before installation, prefer official and verified packages, and monitor dependencies for suspicious or unexpected additions. Remove the package if already installed and rotate any potentially exposed credentials.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10713
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a5a00a091ae9bcd3f7eee40
Added to database: 07/17/2026, 10:14:56 UTC
Last enriched: 09/17/2026, 17:06:59 UTC
Last updated: 10/03/2026, 21:32:21 UTC
Views: 83
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.