maybe this website isn't even legit and just about harvesting phone numbers. I mean - who knows?
We can be pretty sure the results are legit but yes of course it could be running malicious code and stealing phone numbers. Check the raw data if you are worried[2].
[1] https://github.com/Fumaz/haveibeenfacebooked-api [2] https://archive.is/MZqak