Of course, it's "perfectly legal" because the same DC politicians who write the laws benefit from them.
The only thing that Congress ever shut down was their ability to write checks on accounts that didn't have money to cover them. Every working American understood that and was outraged. These family foundations, etc. are not understood.
All non-profit status regarding taxes and donor identification should be ended.