Skip to main content
MalwarePublished

tns-py (PyPI) · Malicious Code

Affects tns-pySource GCVE Database

0

Malicious package : remove tns-py and rotate any secrets on hosts that installed it.

Data as of 27 Oct 2026, 00:48 UTC

Classification

Malicious package

Published to PyPI · OSV MAL-2026-3219

What to do

Remove tns-py 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
PyPItns-pyAffected
  • =1.0.0
Fixed in–

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

Description

The tns-py package on PyPI version 1.0.0 contains malicious code designed to exfiltrate environment variables. This behavior is part of a campaign targeting cryptocurrency users by embedding malicious code in dependencies. The package is intentionally crafted to steal sensitive information, posing a threat to users who install or use it.

References

Community reviews

Loading reviews…