Skip to content
OpenAdvisories
Malicious MAL-2025-191738

getpublicip

PyPI package · versions 1.0.1

Reported Jan 26, 2025 · Updated Dec 12, 2025

If this package is installed

Remove it, treat the machine (or CI runner) as compromised, and rotate every secret, token and key it could access — from a different, clean machine.

Details

Source: kam193 (041ba7130d1460fe6480d062c61c78db3b88cc5c6d060913d0501fdbdc7c35b0)
If installed using source package, the package collects selected environment variables, including GITHUB_TOKEN if set, and sends to an external service. The package doesn't hide its actions at all, but there are already multiple different packages with the same code.

---

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

Campaign: 2025-01-markitanalysis

Reasons (based on the campaign):

- The package overrides the install command in setup.py to execute malicious code during installation.

- exfiltration-env-variables