Skip to content

MAL-2025-191483 Malicious code in hooktest2 (PyPI)

Unknown
Published
Updated
Exploit status
No public exploit known

Description


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

Source: kam193 (207bb5790445a690e4cbb75453026def57279287f88d6c54c7af956e3ba89e1c)

During installation, the package starts a code to retrieve and execute commands from Discord


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

Campaign: 2025-11-hooktest1

Reasons (based on the campaign):

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

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

  • rat

Source: ossf-package-analysis (4f2601a65663badae35e814ced0812aa9618d4a318fb46f045721e67043d9957)

The OpenSSF Package Analysis project identified 'hooktest2' @ 0.1.1 (pypi) as malicious.

It is considered malicious because:

  • The package communicates with a domain associated with malicious activity.

Upgrade path

1 package: 0 fixed.

PackageAffectedFixed inStatus
pypi hooktest2(PyPI) = 0.1.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi hooktest2(PyPI) = 0.1.1 No fix listed

References