MAL-2024-8726 Malicious code in invokehttp (PyPI)

Malicious package Published
Package
invokehttp
Registry
PyPI

What is MAL-2024-8726?

MAL-2024-8726 is a malicious package in invokehttp, published on 29 Aug 2024.

Official description

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

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

What should I do about MAL-2024-8726?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

Sources

Is MAL-2024-8726 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free