Skip to content

Malicious code in boto4 (PyPI)

Malware Published Aug 21, 2026 to the GitHub Advisory Database • Updated Aug 21, 2026

Package

pip boto4 (pip)

Affected versions

= 1.0.0
= 1.0.2

Patched versions

None

Description

Source: kam193 (b928f1f0d3af6242391cc626a8601d24f60c70d862bfebe6cfe0777c13a8c0b2)

During installation, package executes an embedded executable. The executable is capable of executing remote commands, establishing persistence, cryptomining, exfiltrating basic data, further network scanning and worm-style propagation. Actions are controlled via a Telegram bot.


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

Campaign: 2026-08-boto4

Reasons (based on the campaign):

  • cryptominer

  • worm

  • network-scan

  • The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.

  • uses-telegram-bot

  • persistence

  • The package contains code to execute remote commands (probably limited to a specific set) on the victim's machine.


Credit: OpenSSF (source)

References

Published to the GitHub Advisory Database Aug 21, 2026
Reviewed Aug 21, 2026
Last updated Aug 21, 2026

EPSS score

Weaknesses

Embedded Malicious Code

The product contains code that appears to be malicious in nature. Learn more on MITRE.

GHSA ID

GHSA-ffh8-mpww-qp8g

Source code

No known source code
Improvements are not currently accepted on this advisory because this package is malware and has no patched versions. If there is something to change, please open an issue at https://github.com/github/advisory-database/issues.