I wonder if it would be possible to build such a tool on top of tree-sitter (although not sure tree-sitter's C++ grammar can handle modules yet)
cmeerw
Isn't that mainly just torrent trackers that publish your IP address and then the ISP gets a request for who was using that particular IP address. I don't think an ISP would itself be interested in detecting whether their customers download illegal content - there is no business case for them to do that.
at least you could keep their reviews so users could at least know if the app can be trusted.
You mean, don't trust a flatpak uploaded by a random person, but if there are enough fake reviews, it can be trusted?
"they put ads in the terminal" isn't really accurate.
Their "ubuntu-advantage-tools" adds information to one of their other products to the output of apt. You can easily get rid of that by uninstalling/replacing "ubuntu-advantage-tools". It's definitely not like they are selling ad space in your terminal to third parties.
see https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2024/p3471r2.html#enabling-hardening