Windows is technically almost as secure though , since the confirmation prompt is displayed on a virtual desktop that even already elevated processes need extra privileges to access… still wont protect against someone else doing stuff on your computer tho
web version is not as bad as the official client tbf
( even on Windows i was using sth called teams-for-linux (despite the name its actually cross platform) which is an Electron wrapper around ms teams, bc the official client was crashing/freezing the windows audio service somehow)