swanlab-setup
Warn
Audited by Gen Agent Trust Hub on Apr 23, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The function
swanlab_setup_for_containerinscripts/functions.shis vulnerable to shell command injection. It interpolates variables likeSWANLAB_API_KEYandSWANLAB_HOSTdirectly into a shell command string that is executed viadocker exec bash -c. A maliciously crafted API key or host address could trigger arbitrary command execution within the target container. - [EXTERNAL_DOWNLOADS]: The skill installs the
swanlabpackage from the Python Package Index (PyPI) usingpip installas part of its setup and login routines.
Audit Metadata