You're under the assumption that the companies producing these give a shit about security. It'll probably increase a bit but I doubt it will be by much. If they have shipped devices that leave the doors wide open for almost any intrusion, they won't invest engineering/AI time and money to make these better than before and certainly won't review the code that the model spit out beyond a quick check if the promised base functionality still works.
The Home Assistant hackers are some of the most persistent reverse engineers that I have seen. Almost as much as game crackers and cheat developers.