Malicious code in nuvyra-marketplace-sdk (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-15569
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (5db08e65aec25f1dc4fd0c33173154dbd0e6ef6e79aa2f1b7f8b4f8df0b9a3a8) dist/client.js executes initializeProvider() at module top level, so the code runs whenever a consumer require()s or imports this SDK. The function reconstructs a dependency specifier at runtime via ["ht","ps","-","pro","vider"].join("").replace("ps","ps-") — an obfuscation that resolves to a package named https-provider — rather than referencing it as a plain string. Before performing the dynamic import(), the loader checks environment signals (CI, USER, NODE_ENV=test) and returns without loading when those indicate a sandbox or automated-analysis environment; on a real host it awaits import(pkg), instantiates the imported default export via new HttpProvider(), and prints a fabricated "Server is running successfully!" line as cover. The package.json declares this dependency under a different name (http-provider ^1.0.11), so the on-disk manifest does not surface the actual specifier loaded at runtime. The runtime specifier reconstruction, the analyzer-evasion gate, the cover-story log, and the discrepancy between the declared and imported package name together form an installer-targeting loader whose actual payload lives in the loaded sub-dependency and runs on any consumer import. ## Source: ghsa-malware (b4b62a0692398346c045c6c8d3a660837d2c4b5f11b3afd789f841d64775190c) 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.
- Source published
- 29 Aug 2026 19:26:31 UTC
- Source modified
- 31 Aug 2026 17:30:11 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.