Skip to content
OpenAdvisories
Malicious MAL-2024-8726

invokehttp

PyPI package · versions 2.5.5, 2.5.3

Reported Aug 29, 2024 · Updated Mar 19, 2026

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

The __init__.py contains a call to execute a Base64-encoded script to download a second stage payload.

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

Source: kam193 (e3374942a3d2de4ea1f9444223c351c0ef5356c571a08e8ddb62144f7564def0)
In the invokehttp, the __init__.py contains obfuscated code attempting to download and run one of two executables. They are identified as malicious by VT and the tracks of Telegram URLs suggests attempting data exfiltration. The package itself looks like a copy of requests.
In flophttp, using exactly the same obfuscation method, the infostealer is directly embeded into package code and exfiltrates data to a telegram channel.

---

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

Campaign: 2024-08-invokehttp

Reasons (based on the campaign):

- infostealer

- Downloads and executes a remote executable.

- obfuscation

- clones-real-package

Indicators of compromise

Shown defanged and not clickable. Search any indicator to find other packages using it.

URLs