Figured as much, anyone opening a database to any sort of potentially hostile input should know to restrict the permissions.
I'm more focused on the AI side of things. Like, if it's done as a part of the (system) prompt, it should eventually be possible to evict the command tokens when the context window becomes too large?