MAL-2026-10715
Malicious code in @hibachi-xyz/types (npm)
Details
--- _-= 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.
Are you affected?
Enter the version of the package you're using.
Affected packages
No fixed version published yet for @hibachi-xyz/types (npm). Pin to a known-safe version or switch to an alternative.