I agree with you about the master cylinder. The biggest thing for me, though, is ‘why is the fluid getting dirty so quickly’? I’m wondering if the system was contaminated from the beginning and just wore out the seals in the master cylinder. Make sure to collapse all your calipers, and then flush the heck out of the system and hope your calipers survive if there was contamination.
Good luck. Keep us posted.
Pop Bob