Skip to main content

Malicious code in spo365-graph (PyPI)

0
Critical
Published: 10/01/2026 (10/01/2026, 18:58:14 UTC)
Source: GCVE Database
Product: spo365-graph

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.

Affected software

PyPIghsa
spo365-graph
Affected versions
=1.0.0=1.1.0=1.1.1=1.1.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/02/2026, 17:54:12 UTC

Technical Analysis

The spo365-graph PyPI package was found to include malicious functionality starting in version 1.1.2. Specifically, during installation, the package overrides the standard install command to deploy a rogue AWS Lambda function. This function collects credentials stored in AWS Secret Manager and exfiltrates these credentials along with other data. The malicious behavior is embedded in the package installation process, enabling credential theft and data exfiltration without user consent.

Potential Impact

Successful installation of the malicious spo365-graph package results in unauthorized deployment of an AWS Lambda function that steals AWS credentials from Secret Manager and exfiltrates sensitive data. This compromises the confidentiality of AWS credentials and potentially other sensitive information accessible via the compromised environment.

Defensive Guidance

No official patch or remediation is indicated in the provided data. Users should avoid installing versions 1.0.0, 1.1.0, 1.1.1, and 1.1.2 of the spo365-graph package. Verify package integrity before installation and consider using trusted package sources or scanning tools to detect malicious packages. Monitor for any unauthorized AWS Lambda functions and revoke any compromised credentials immediately.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-17421
Osv Schema Version
1.7.4
Ecosystems
["PyPI"]

Threat ID: 6abfee7ba43b0b3b89e543bc

Added to database: 10/02/2026, 17:48:43 UTC

Last enriched: 10/02/2026, 17:54:12 UTC

Last updated: 10/02/2026, 23:39:20 UTC

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses