MAL-2026-21038: Malicious code in ghraphy (PyPI)

Published Dec 3, 2026
·
Updated

--- -= Per source details. Do not edit below this line.=-

Source: kam193 (6d5cd1851aa61a4042e2c9f4a2ceaa2d11e611e6a1b0af80e9a9a9c13da7be62) Disguised as a math library, the package delivers code functionality for executing remote code. It is a continuation of previously removed packages.

---

Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.

Campaign: 2026-11-alogithms

Reasons (based on the campaign):

- obfuscation

- abuses-pth

Affected Software

1 affected component
pip/ghraphy=1.0.1, =1.0.2, =1.0.3, =1.0.5

Event History

Dec 3, 2026
Advisory Published
via OSV·09:09 AM
Data Sourced
via OSV·09:09 AM
DescriptionAffected Software

Frequently Asked Questions

1

What does an attacker need to exploit this package?

The package itself contains functionality for executing remote code. Exposure therefore depends on installing or otherwise executing ghraphy in a Python environment.

2

How can I determine whether my environment is affected?

Check Python dependency manifests, lockfiles, build logs, package indexes, and installed-package inventories for ghraphy. Also review pip installation history where available, since the package abuses .pth mechanisms.

3

What should I do if ghraphy is present?

Treat the environment as potentially compromised because the package is categorized as malicious and can execute remote code. Remove the package and investigate systems where it was installed or executed, including credentials and other sensitive data accessible to those environments.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203