Both of these would appear to be packages pulled in while updating AUR packages, possibly replacing core ones, as kauth
and polkit-qt6
are both in the repos and should both be installed (on kde).
There is no way of knowing really if this was done multiple times with multiple things.
(well, there probably is, in your logs at /var/log/pacman.log
, but thats another topic)
But if you simply ‘removed’ those named packages without replacing them then that would also be a problem.
I might suggest trying to use mapare or some other way of making sure you have the default packages you should.