I was mildly annoyed the other day by a conceptually similar warning about some software I was installing from F-droid. The annoying part was that unlike this flathub one it wasn’t completely clear how exactly the app was using the dangerous features I was being warned about, but I had done my research and knew I wanted to install it anyway. Took me a moment to remember that for a lot of people it probably helps to be reminded of the risks.
Then I went to install the same thing on someone else’s phone with Google Play. No warnings, but I had to scroll quite a long way down past ads for competitors and presumably malware-laden copies with confusingly similar names before finding the app whose name I’d typed in the search field.