Skip to main content
MalwarePublished Updated

spo365-graph (PyPI) · Malicious Code

Affects spo365-graphSource GCVE Database

0

Malicious package : remove spo365-graph and rotate any secrets on hosts that installed it.

Data as of 8 Oct 2026, 21:42 UTC

Classification

Malicious package

Published to PyPI · OSV MAL-2026-17421

What to do

Remove spo365-graph 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
PyPIspo365-graphAffected
  • 1.0.0 – 1.1.2
4 affected builds
Fixed in–

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

Description

The spo365-graph package on PyPI contains malicious code introduced in version 1.1.2 that executes during installation. This code deploys a rogue AWS Lambda function designed to collect credentials from AWS Secret Manager and exfiltrate other sensitive data. The package overrides the install command in setup.py to carry out these malicious actions.

References

Community reviews

Loading reviews…