Skip to content

MAL-2026-6751 Malicious code in bytekit (PyPI)

Unknown
Published
Updated
Exploit status
No public exploit known

Description


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

Source: amazon-inspector (0bbaea22b635a4a8425964572b733b806f45714a9090492d1c39d545088fe336)

The package was found to contain malicious code or consuming dependency that contains malicious code

Source: kam193 (f4594bf7abce5a96c971ecc42fc52eec534a545cfc614c1b8f3b8d18ca02dd9d)

The campaign consists of multiple packages. The trigger sits in the package 'procwire,' which depends on two others. During installation, procwire uses schemavault and bytekit packages. The first one holds the URL holding malware (in two places, once as steganography in the bundled image and once as a fallback just as a list of encoded bytes). The bytekit implements simple custom decoding used to retrieve back the URL in the fallback method. Additionally, procwire is also a dependency of confighub, turning another package into malware. The downloaded executable is run and quickly removed. The executable likely contains an infostealer and contacts the domain 030502[.]xyz


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

Campaign: 2026-07-procwire

Reasons (based on the campaign):

  • The package overrides the install command in setup.py to execute malicious code during installation.

  • Downloads and executes a remote executable.

  • obfuscation

  • The malicious code is intentionally included in a dependency of the package

  • malware

  • steganography

Upgrade path

1 package: 0 fixed.

PackageAffectedFixed inStatus
pypi bytekit(PyPI) = 3.4.1; = 3.4.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi bytekit(PyPI) = 3.4.1 No fix listed
pypi bytekit(PyPI) = 3.4.2 No fix listed

References