If this package is installed
Remove it, treat the machine (or CI runner) as compromised, and rotate every secret, token and key it could access — from a different, clean machine.
Details
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.