Skip to main content
MalwarePublished Updated

txs-lib-sdk (npm) · Malicious Code

Affects txs-lib-sdkSource GCVE Database

0

Malicious package : remove txs-lib-sdk and rotate any secrets on hosts that installed it.

Data as of 26 Oct 2026, 16:18 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-14198

What to do

Remove txs-lib-sdk from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npmtxs-lib-sdkAffected
  • =1.0.2
  • =1.0.1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The npm package txs-lib-sdk version 1.0.2 contains malicious code that executes arbitrary Node.js commands on the host system. Its getTransactions() API reads a disguised file, decodes and deobfuscates a payload, then executes it with full system privileges. This behavior is hidden through multiple layers of obfuscation and is not legitimate for the package's stated purpose. Any system with this package installed should be considered fully compromised.

References

Community reviews

Loading reviews…