My MacBook adds extra letters only at log in
I have a 2019 MacBook Pro and it started adding extra letters at log in soon after I got it brand new from the store. I thought it was just me but I have had to use it more recently and now I dread logging in because if my password was password it would come out as PPPassword or some variation because you just see **** but I will see a bunch added at one time especially at the beginning a lot and I have to go back and delete I have memorized how many characters are in my password so I can tell if it has repeated because I cant go by what I typed. Is there a way to fix this? It dose not happen anywhere else just at login and all other sites I log in are fine. Thank you.
MacBook Pro 13″, macOS 12.3