Stuff like this is the reason why you should not use repositories that do not care about your freedom like Flathub.
https://flathub.org/apps/com.github.vikdevelop.photopea_app
See this nice image editor right here and how it says that it is licensed "MIT"?
Haha just kidding, it's actually proprietary adware freemium SaaSS service! Only the tiny wrapper is "MIT" licensed.