VYPR

npm · Malicious package advisory

Malware

dynamic-import-webpack

GHSA-gj22-9fh6-5pjh

Malicious code in dynamic-import-webpack (npm)

Details

**Severity:** Critical

**Affected versions:** `= 1.0.0`

The package dynamic-import-webpack was found to contain malicious code.## Source: google-open-source-security (6f9cf66ec7ebae846d89e7ce18fbdb1318e4cd99bf61c0e719bd78ce8c6aabe1)
This package installs a dependency hosted on a custom domain that runs an
info stealer during installation. The info stealer focuses on stealing
npm, git, and other CI/CD related tokens.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/78792aee23e5c759f309a3d2e9397caf2439773e/osv/malicious/npm/dynamic-import-webpack/MAL-2025-19031.json))

**References:**
- https://github.com/ossf/malicious-packages/blob/78792aee23e5c759f309a3d2e9397caf2439773e/osv/malicious/npm/dynamic-import-webpack/MAL-2025-19031.json
- https://www.koi.ai/blog/phantomraven-npm-malware-hidden-in-invisible-dependencies
- https://github.com/ossf/malicious-packages/blob/71b5ccd62809b0f6e173eff59b5900130cf7fc02/osv/malicious/npm/dynamic-import-webpack/MAL-2025-19031.json
- https://github.com/advisories/GHSA-gj22-9fh6-5pjh

Compromised versions (1)

  • = 1.0.0

Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.