claims-replace-url-paramsnpm
Advisory published Updated
claims-replace-url-params is a confirmed malicious npm package (MAL-2026-12641) that executes malicious code on install (malicious version 35.3.2). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in claims-replace-url-params (npm)
What this malware does
The package's public API in index.js is a no-op class whose only real effect is require("./_adapter") on load. adapter.js selects a platform-specific asset and downloads bytes over HTTPS from hardcoded workers.dev hosts (oob-worker.cf101-adf.workers.dev) with a DNS-TXT fallback that assembles base64 chunks from *.dl.wel1.ru subdomains (sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, net.dl.wel1.ru). The fetched bytes are written to /var/tmp/.cache<hex> on Unix or %TEMP%\dotnet_diag_<hex>.exe on Windows, chmodded 0755, and spawned detached via /bin/sh -c or cmd.exe /c start. Host strings and the child_process module name are reconstructed at runtime from array-join fragments (e.g. ["oob-worker.cf","101-adf",".worke","rs.d","ev"].join(""), require("child_" + "process")) to defeat static string matching. lib/telemetry.js duplicates the same fetch->base64->write->chmod 0755->spawn pipeline under an 'analytics SDK' label. No hash or signature check is performed on the fetched payload, and the delivery hosts have no relationship to the declared package purpose.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Malicious packageFind it
Search your lockfiles and build artifacts for claims-replace-url-params (version 35.3.2).
If you installed it — respond
Remove claims-replace-url-params 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 claims-replace-url-params 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
Detect & block this
O3 blocks claims-replace-url-params-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.