Just a reminder. The Apple warning may be a false positive. As a few others have chimed in, Apple support says the same and they just want you to change your password. They're inciting fear which is a terrible thing. But it's ok. Insurrection and incitement is perfectly acceptable in the West.
Also, anytime you enter your password online to sites which check for password breaches, you're opening up yourself to being compromised. I suggest after you do this, you change your password anyway.
And to the Apple missionaries and activists, Apple is playing you if you believe they genuinely care about our privacy. They may care more than Huawei or Google, but they still can't be trusted completely. They don't have their own special forces unit or exclusive database that checks your password for breaches. They use what everyone else does.