Advisory

MAL-2025-6540

Also known as: None

Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.

Summary

Malicious code in mainx (PyPI)

Details

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

Source: kam193 (6a77aad2f42165ec9582f04fffab948f6a1125564e34f4d09c8d089b2708d8d2)
While described as educational package to simulate post-exploitation environment, the malware is active and once started, automatically attempts to exfiltrate sensitive data (credentials, cookies, etc.) and places a Discord implant. The remote target is hard coded in the code.

---

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

Campaign: 2025-06-mainx

Reasons (based on the campaign):

  • obfuscation
  • infostealer
  • files-exfiltration
  • exfiltration-credentials
  • exfiltration-browser-data
  • peristence-autorun
  • The package contains code to detect if it is running in a sandbox environment.

Severity

Not rated by the source.

Dates

Published
2025-06-24 15:56 UTC
Modified
2026-03-19 12:54 UTC

Affected packages and fixes

mainx

PyPI · All systems

Affected

  • Versions: 0.1, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1, 1.0

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: OpenSSF Malicious Packages · Apache-2.0

Sources & licences