Skip to main content
MalwarePublished

twitter-request-diagnostics (PyPI) · Malicious Code

Affects twitter-request-diagnosticsSource GCVE Database

0

Malicious package : remove twitter-request-diagnostics and rotate any secrets on hosts that installed it.

Data as of 30 Oct 2026, 01:47 UTC

Classification

Malicious package

Published to PyPI · OSV MAL-2026-18403

What to do

Remove twitter-request-diagnostics 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
PyPItwitter-request-diagnosticsAffected
  • =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 twitter-request-diagnostics package on PyPI version 1.0.0 contains malicious code that acts as a backdoor. It exposes an endpoint that can exfiltrate environment variables and execute arbitrary commands sent to it, posing a significant security risk to applications using this package.

References

Community reviews

Loading reviews…