npm package report

Is ngx-bootstrap safe?

7 versions of ngx-bootstrap were compromised (credential stealer). Other versions are not flagged as malicious.

Do not install the 7 versions listed below

CRITICAL

Credential stealer. Added to CyberXYZ 2025-09-15, OSV malicious-package feed (Google / OpenSSF).

// what we observed

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 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.

Reported by GitHub Advisory Database and Google Open Source Security via OSV.

mitre ttp
T1056
// versions and what to do
Malicious
18.1.4, 19.0.3, 19.0.4, 20.0.3, 20.0.4, 20.0.5, 20.0.6
Move to
20.0.2 newest 20.x release, no known advisory
19.0.2 newest 19.x release, no known advisory
18.1.3 newest 18.x release, no known advisory
22.0.0 current release, no known advisory

If one of these versions was installed, remove it and treat the credentials, tokens and SSH keys on that machine as exposed: rotate them. Check CI runners and container images that installed it too.

npm install ngx-bootstrap@20.0.2

OSV record

// reach

1 direct dependencies

none carry a known advisory

    1 packages depend on it

    an advisory here reaches each of them

    Create a free accountfor every dependency path, dependent and what to upgrade
    // ai model usage

    Tracked for PyPI packages. HuggingFace models declare Python dependencies, so npm packages are not covered.



    Checked 2026-10-31 at 00:00 UTC. Updated continuously from NVD, GHSA, OSV and CNA feeds.

    Think a verdict here is wrong? Tell us — we respond within 2 business days.