The default configuration of the Jenkins dashboard does not need a user to authenticate to his or her dashboard in order to access the script console. It’s feasible to get a remote shell and run system commands.
Do not allow an unauthenticated user access to the script console.