Skip to content

Malicious code in ghazaly (npm)

Malware Published Aug 11, 2026 to the GitHub Advisory Database • Updated Aug 11, 2026

Package

npm ghazaly (npm)

Affected versions

= 99.9.0

Patched versions

None

Description

Source: amazon-inspector (d2054792481618ddf941c251fc0793ec8c1b85fe14107567b5c29cac9330d5be)

package.json declares a postinstall hook that executes index.js on npm install. index.js requires os, https, and child_process, runs whoami via execSync, and reads os.hostname(), process.cwd(), and non-internal IPv4 addresses from os.networkInterfaces(). The collected host and identity data is sent as query-string parameters via https.get to a hardcoded Burp Collaborator subdomain (xghhv5sajm33m7krgi4n8my0mrsig84x.oastify.com). Package metadata is consistent with a dependency-confusion lure: version 99.9.0, empty author/description/keywords, and a nonsense dependency name dependencyfsdsfdsfg pinned to ^99.9.0.


Credit: OpenSSF (source)

References

Published to the GitHub Advisory Database Aug 11, 2026
Reviewed Aug 11, 2026
Last updated Aug 11, 2026

EPSS score

Weaknesses

Embedded Malicious Code

The product contains code that appears to be malicious in nature. Learn more on MITRE.

GHSA ID

GHSA-2j9m-4gmh-3m8p

Source code

No known source code
Improvements are not currently accepted on this advisory because this package is malware and has no patched versions. If there is something to change, please open an issue at https://github.com/github/advisory-database/issues.