No way to tell how the account compromise happened, but if you are a developer working a large project - for the love of God please use two-factor authentication and unique credentials.
Please also install only trusted software from trusted sources... avoid being hit with infostealers.
nostr:naddr1qqcxzjzjxp35snfkf3unj6tptpfx5c3jd36ky46xdev4sursvfk42a2exguhgnr689m4q4z3xf84gjf4qythwumn8ghj7un9d3shjtnswf5k6ctv9ehx2ap0qgsv4cpufp925svhy23depvl96qrudpu8xu6px4k46kg4ck39f7kvugrqsqqqa280tjl7c