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.=-
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.
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.
{
"malicious-packages-origins": [
{
"id": "GHSA-6m4g-vm7c-f8w6",
"import_time": "2025-09-16T00:34:25.601085704Z",
"source": "ghsa-malware",
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
}
]
}
],
"modified_time": "2025-09-15T13:28:16Z",
"sha256": "d67a085f3dff5a57bd08eb486ebc3f90c9506a62ebcc30d189e7f24b1c424ec6"
},
{
"id": "GHSA-6m4g-vm7c-f8w6",
"import_time": "2025-09-17T00:07:09.252230607Z",
"source": "ghsa-malware",
"versions": [
"18.1.4"
],
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "20.0.3"
},
{
"last_affected": "20.0.6"
},
{
"introduced": "19.0.3"
},
{
"last_affected": "19.0.4"
}
]
}
],
"modified_time": "2025-09-16T16:23:25Z",
"sha256": "4c68b446781f3cff308e52d8fd3c1549dc682082fab7e634d72fe9d5fc2083e6"
},
{
"id": "GHSA-6m4g-vm7c-f8w6",
"import_time": "2025-09-17T00:34:59.078478303Z",
"source": "ghsa-malware",
"versions": [
"18.1.4"
],
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "20.0.3"
},
{
"last_affected": "20.0.6"
},
{
"introduced": "19.0.3"
},
{
"last_affected": "19.0.4"
}
]
}
],
"modified_time": "2025-09-16T16:23:25Z",
"sha256": "71556812036c6e2184d39237ff7f38c96fcf4597bc947a8fd7c5b257a22361bf"
},
{
"import_time": "2025-09-17T05:59:34.946982Z",
"source": "google-open-source-security",
"versions": [
"20.0.6",
"20.0.5",
"20.0.4",
"19.0.3",
"20.0.3",
"18.1.4"
],
"modified_time": "2025-09-17T05:58:45Z",
"sha256": "b39a50d6179dce1ee4e023cebcf88557e48d6060e10fd6c44db4b09abf2179bd"
},
{
"id": "GHSA-6m4g-vm7c-f8w6",
"import_time": "2025-09-18T04:13:59.076059011Z",
"source": "ghsa-malware",
"versions": [
"18.1.4"
],
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "20.0.3"
},
{
"last_affected": "20.0.6"
},
{
"introduced": "19.0.3"
},
{
"last_affected": "19.0.4"
}
]
}
],
"modified_time": "2025-09-16T16:23:25Z",
"sha256": "5373f05be4fe663b8179873d1903a0ea9edc245129d15759b1179b98db58eca5"
}
]
}[
{
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506"
},
{
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506"
},
{
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506"
},
{
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506"
}
]
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/ngx-bootstrap/MAL-2025-47197.json"