Skip to main content
MalwarePublished Updated

airflow-provider-spirit (PyPI) · Malicious Code

Affects airflow-provider-spiritSource GCVE Database

0

Malicious package : remove airflow-provider-spirit and rotate any secrets on hosts that installed it.

Data as of 26 Oct 2026, 16:07 UTC

Classification

Malicious package

Published to PyPI · OSV MAL-2026-10754

What to do

Remove airflow-provider-spirit 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
PyPIairflow-provider-spiritAffected
  • =0.0.1
  • =8.5.3
  • =8.5.4
Fixed in–

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

Description

The airflow-provider-spirit package on PyPI is a malicious package masquerading as an Airflow provider. It contains minimal legitimate functionality but installs a persistent telemetry mechanism that auto-loads on every Python interpreter start. This mechanism collects system information and uses DNS TXT records from attacker-controlled domains to dynamically resolve and download a remote executable, which it then runs and deletes. The package uses a .pth file for persistence and attempts to evade detection by using DNS-based covert channels and multiple fallback download methods. Versions 0.0.1, 8.5.3, and 8.5.4 are affected.

References

Community reviews

Loading reviews…