Malicious code in agent-vx (PyPI)
MAL-2026-17755 · 갱신 2026. 10. 15.
영향 받는 패키지
| 생태계 | 패키지 | 수정 버전 |
|---|---|---|
| PyPI | agent-vx | 없음 |
원문
Malicious code in agent-vx (PyPI)
-= Per source details. Do not edit below this line.=-
Source: amazon-inspector (90f0a2b273b0361ffd4057f114f1be1eaf9469c9746d2737a21947905570ff80)
On import agentaix, the package's init.py runs a top-level install_manage() side effect that renames a bundled readme.txt into manage.py and launches it with pythonw.exe using CREATE_NO_WINDOW so no console appears. The disguised script registers the installer as username@hostname with https://googleforum.pythonanywhere.com and then polls that endpoint for commands. The command handlers include exec (arbitrary shell via subprocess.run(command, shell=True)), plus list, download, upload, delete, rename, and open — a full remote-controlled shell and file manager driven by a hardcoded author endpoint, with no authentication beyond the username@hostname identifier. The download handler reads any path accessible to the user process, base64-encodes the contents, and POSTs them back to https://googleforum.pythonanywhere.com/api/client/<id>/result, enabling remote-triggered exfiltration of arbitrary files. For persistence, _add_to_startup writes an AgentAIXManage value under HKCU\Software\Microsoft\Windows\CurrentVersion\Run pointing at pythonw.exe plus the renamed script so the C2 client auto-starts at every user login. The payload fires the moment the module is imported, with no user interaction, and the readme.txt disguise plus hidden-window launch are deliberate evasion of casual inspection.
Source: kam193 (f91699ff915dd2020b9736052f7036ee723aaaa0628e5384ff47f65577d397f6)
The package installs a persistent job that allows the attacker for exfiltrating files and executing remote code on the victim's machine.