@ngp-ui/context-providersnpm
Advisory published Updated
@ngp-ui/context-providers is a confirmed malicious npm package (MAL-2026-20772) that executes malicious code on install (malicious version 99.0.0). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in @ngp-ui/context-providers (npm)
What this malware does
@ngp-ui/[email protected] is a dependency-confusion package with no functional code: it takes a name in the @ngp-ui scope at version 99.0.0, high enough to outrank a same-named package on a private registry. Its preinstall script runs node preinstall.js on npm install, which reads the machine's hostname and resolves <hostname>.ngp-ui.context-providers.oob.jr0ch17[.]com, sending the hostname of every installing machine to a DNS server controlled by the publisher. The npm account jr0ch17-bb published @ngp-ui/context-providers and 2 sibling @ngp-ui packages with the same script within a minute on 2026-11-27.
Malicious versions
Detection & response playbook
Malicious packageFind it
Search your lockfiles and build artifacts for @ngp-ui/context-providers (version 99.0.0).
If you installed it — respond
Remove @ngp-ui/context-providers from your project and lockfile, then assume any secrets accessible to the build or runtime were exposed: rotate API keys, tokens, and credentials, and audit for unexpected outbound activity or persistence.
Did it already run?
If @ngp-ui/context-providers was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.
Frequently asked questions
Credits
- InvisiRisk, Inc. · finder
Detect & block this
O3 blocks @ngp-ui/context-providers-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.