Advisory

MAL-2025-47197

Also known as: GHSA-6m4g-vm7c-f8w6

Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.

Summary

Malicious code in ngx-bootstrap (npm)

Details

The package ngx-bootstrap was found have been identified as potentially malicious due to the inclusion of a minified postinstall script. It is considered suspicious because: The script appears to attempt to steal access tokens for npm, GitHub, AWS, GCP, etc. There is no changelog or new tags in the GitHub repository associated with these releases. The packages were uploaded by a service account: https://www.npmjs.com/~ngxbs

---
_-= Per source details. Do not edit below this line.=-_

Source: ghsa-malware (d67a085f3dff5a57bd08eb486ebc3f90c9506a62ebcc30d189e7f24b1c424ec6)
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Source: google-open-source-security (b39a50d6179dce1ee4e023cebcf88557e48d6060e10fd6c44db4b09abf2179bd)
This package was compromised by the Shai-Hulud NPM worm. The malicious payload
steals tokens and credentials and publishes them to GitHub before propogating
itself to NPM packages the user owns.

Severity

Not rated by the source.

Dates

Published
2025-09-15 12:12 UTC
Modified
2025-09-18 04:14 UTC

Affected packages and fixes

ngx-bootstrap

npm · All systems

Affected

  • introduced 20.0.3, last affected 20.0.6, introduced 19.0.3, last affected 19.0.4 (semver)

Fixed versions

None listed

Fix

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

View this record on OSV.dev

Source

Source: OpenSSF Malicious Packages · Apache-2.0

Sources & licences