AI Agent keeps prompting me to accept every code edit in agent mode

could I get any response regarding the serious security bug that allows the AI agent to type text in the same chat field the user is typing in? This is not funny, it’s actually terrifying when you see it with your own eyes…

https://forum.cursor.com/t/weird-chat-message/139915/8?u=r4zen