@newspage/libx-amountnpm
Advisory published Updated
@newspage/libx-amount is a confirmed malicious npm package (MAL-2026-17873) that opens a backdoor for remote access (malicious versions 99.99.4, 99.99.41, 99.99.42). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in @newspage/libx-amount (npm)
What this malware does
npm user 'priyashareek' published this package in a dependency confusion campaign against the internal scopes @accenturecodefoundry and @newspage. The publisher used 99.99.x versions to outrank the internal packages. 0.0.0-stage and 99.99.1 are empty placeholders. In versions 99.99.4 and 99.99.41, index.js sends an HTTPS GET to attacker-controlled host accenture-npm.azurewebsites.net (/async, /libx). The same publisher's @accenturecodefoundry/mfe-pot-shared-ui-scds-core calls back to that host. The 'preinstall' script in these versions is empty; the publisher put 'node index.js || true' in the 'main' field instead, likely by mistake. Node.js can't resolve that 'main' target and falls back to index.js, so the beacon fires when code requires or imports the package, not during install.
The package is a placeholder whose index.js, on require/import, issues an HTTPS GET to the hardcoded host accenture-npm.azurewebsites.net at path /libx. The scoped name @newspage/libx-amount, the implausibly high 99.99.41 version, the A simple placeholder for npm. description, and the anonymous author together form the canonical dependency-confusion shape intended to shadow an internal @newspage-scoped package during resolution. The beacon's purpose is to confirm successful resolution of the squatted name inside a target organization, disclosing the installer's source IP and the fact that the internal namespace resolved to this external artifact. The package provides no other functionality.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Backdoor / remote accessFind it
Search your lockfiles and build artifacts for @newspage/libx-amount (3 malicious versions).
If you installed it — respond
@newspage/libx-amount establishes remote access, so treat any host that installed it as fully compromised. Isolate the machine, remove the package, rotate all credentials it could reach, and rebuild from a trusted image rather than cleaning in place — a backdoor may have planted additional persistence.
Did it already run?
If @newspage/libx-amount 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
Campaign
References
Credits
- Amazon Inspector · finder
- SafeDep · finder
Detect & block this
O3 blocks @newspage/libx-amount-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the C2 callback and severs the channel.