The confirmation should either be removed, limited to only specific problematic instances, and/or have a setting to disable it.
The command execution confirmation screen makes existing datapacks and similar features more clunky while doing next to nothing to protect users. There is almost no instance in which a malicious command can be prevented by this screen as the screen must first be triggered by the server or a prior command (by /tellraw, giving a book with on_click elements, or /dialog) which means you cannot "trick" a player into doing something that can't be done without going through the screen. With my current understanding, having taken cyber security courses and running my own Minecraft server, I cannot devise a method wherein this could prevent or warn of malicious command execution. In the case of accidentally clicks or command mistakes, this menu will generally either be ignored, used only for testing purposes while putting a system together, fail to be useful because the user already doesn't know that the command it displays is broken, or should have a more descriptive custom confirmation dialog created by the person who wrote the dialog instead. This also gives a stronger preference to servers with plugins because they can respond to the "custom" on_click action.
Please sign in to leave a comment.
13 Comments