MAL-2024-12351 Malicious code in spy-ai (PyPI)

Malicious package Published
Package
spy-ai
Registry
PyPI

What is MAL-2024-12351?

MAL-2024-12351 is a malicious package in spy-ai, published on 2 Oct 2024.

Official description

Every time the user sends a message to the AI, the user IP, message as well as the response are exfiltrated to a hardcoded telegram channel. This behaviour is not mentioned in the package description. Instead, the description lures to offer advanced features.


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

Campaign: 2024-09-spider-ai

Reasons (based on the campaign):

  • exfiltration-generic

  • A Telegram webhook is used to send collected data.

  • action-hidden-in-lib-usage

What should I do about MAL-2024-12351?

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

Sources

Is MAL-2024-12351 in your software?

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

Check your SBOMs for free