guardicore / monkey

Infection Monkey - An open-source adversary emulation platform
https://www.guardicore.com/infectionmonkey/
GNU General Public License v3.0
6.63k stars 775 forks source link

Build agents as a non-root user #4245

Closed mssalvatore closed 2 months ago

mssalvatore commented 2 months ago

The Infection Monkey Agent for Linux, as well as a number of plugins, are built inside a docker container. All of the commands used to build these are run as root inside the container, which is undesirable. Modify the container and build steps for Agents and plugins so that commands are run as a non-root user.