@hibachi-xyz/types
Affected
- Versions:
99.0.0
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: None
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in @hibachi-xyz/types (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (214e1b690352ce0af70ce6a37d3b7ac4d8dec4269dc7606b7a65fbb6d4406e8b)
The package presents itself as 'Type definitions' for the @hibachi-xyz scope at version 99.0.0, but index.js exports an empty object and its only behavior on module load is credential and host exfiltration. On require(), the code enumerates process.env and filters keys matching /KEY|SECRET|TOKEN|PASS|PRIV|SIGN|AWS|CIRCLE|GITHUB|DB|RDS|SENTRY|PYPI|NPM|DOCKER|KUBE|TUNNEL|CF_/i, captures os.hostname() and os.userInfo().username, and runs whoami && id && cat /proc/1/cgroup via child_process.execSync to fingerprint the host and detect container/CI context. The collected secrets and reconnaissance data are POSTed as JSON to https://jorijo.xyz:8443/t with TLS certificate verification disabled (rejectUnauthorized:false). The name/version shape (generic 'types' subpackage under an organization scope at an inflated version 99.0.0) is consistent with dependency-confusion or version-squat targeting the @hibachi-xyz org.
Source: ossf-package-analysis (51e71c95ff8fc1a03433cfc6ce2b1da6199175e11db673b35349bf852a6c5e5f)
The OpenSSF Package Analysis project identified '@hibachi-xyz/types' @ 99.0.0 (npm) as malicious.
It is considered malicious because:
Not rated by the source.
99.0.0None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0