What is it? Gold thing on this master cyl

Those are aftermarket residual pressure valves. Supposedly, they improve braking performance by keeping pressures up in the system- less pedal effort, etc. if you believe the advertising...