Skip to main content
Menu
Advisories

Malicious code in py-sock2 (PyPI)

GHSA-MRM7-9JXF-VX65Published Updated GitHubMalware

Description

Source: kam193 (317abc5a9c1b535f3db6fd260a2f77eaaceb45745cd93deea7e9b3dd1d0cb933)

The package installs a persistent job that allows the attacker for exfiltrating files and executing remote code on the victim's machine.

---

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

Campaign: 2026-10-agentaix

Reasons (based on the campaign):

  • files-exfiltration
  • peristence-autorun
  • The package contains code to execute remote commands (probably limited to a specific set) on the victim's machine.
  • rat
  • persistence
  • Downloads and executes a remote malicious script.

---

Credit: OpenSSF (source)

Affected versions

References