(Unwanted) ability to manage power options using busybox

I started playing with Codespaces yesterday, and was interested in what options or security flaws are possible to use inside the container. I tried many power-related commands (e.g., shutdown or reboot) and they were not available, which is the correct behaviour.
However, when I installed busybox using apt, it allowed me to turn the container off by entering busybox poweroff command.
I am not sure if this is intended or not, but I wanted you to know this.