Malicious code in @hibachi-xyz/types (npm)
Description
The npm package '@hibachi-xyz/types' at version 99.0.0 is identified as malicious. Instead of providing type definitions, it executes code on module load that collects environment variables containing sensitive keywords, gathers host and user information, and fingerprints the host environment. This data is then exfiltrated via an insecure HTTPS POST request with TLS verification disabled. The package appears to be part of a dependency confusion or version squatting attack targeting the '@hibachi-xyz' namespace.
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/types' npm package version 99.0.0 masquerades as a type definitions package but contains malicious code that executes upon requiring the module. It enumerates environment variables filtering for keys related to secrets and credentials, collects OS hostname and username, and runs system commands to fingerprint the host and detect container or CI environments. The collected data is sent as JSON to a remote server over HTTPS with disabled TLS certificate verification, facilitating credential and host information exfiltration. The package's naming and versioning pattern suggest it is designed for dependency confusion or version squatting attacks.
Potential Impact
This malicious package can lead to the exposure of sensitive environment variables, including secrets, tokens, and credentials, as well as system and user information. The exfiltration of this data to an attacker-controlled server can compromise the security of the affected system and any connected services that rely on these credentials. The disabled TLS verification increases the risk of interception or manipulation during data transmission.
Mitigation Recommendations
No official patch or remediation is indicated for this package. Users should immediately remove '@hibachi-xyz/types' version 99.0.0 from their dependencies and avoid installing packages from untrusted or suspicious sources. Review dependency trees for unexpected or suspicious packages, especially those with unusual versioning or naming patterns. Employ supply chain security best practices such as verifying package provenance and using tools to detect malicious packages.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10715
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a5a00a091ae9bcd3f7eee3a
Added to database: 07/17/2026, 10:14:56 UTC
Last enriched: 09/17/2026, 17:21:00 UTC
Last updated: 10/02/2026, 14:30:22 UTC
Views: 79
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.