Skip to main content
MalwarePublished

ctosec-appsec-wb-xray-adapter (PyPI) · Malicious Code

Affects ctosec-appsec-wb-xray-adapterSource GCVE Database

0

Malicious package : remove ctosec-appsec-wb-xray-adapter and rotate any secrets on hosts that installed it.

Data as of 27 Nov 2026, 05:09 UTC

Classification

Malicious package

Published to PyPI · OSV MAL-2025-192393

What to do

Remove ctosec-appsec-wb-xray-adapter 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
PyPIctosec-appsec-wb-xray-adapterAffected
  • =0.1.1
  • =0.2.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 ctosec-appsec-wb-xray-adapter package on PyPI contains malicious code that exfiltrates basic host information such as IP address and username upon installation or import. The package overrides the install command in setup.py to execute this malicious behavior. It serves no legitimate purpose beyond this data exfiltration.

References

Community reviews

Loading reviews…