After the bike falls over, a bracket may break straight away or show a crack later. If a pedal or linkage is mounted on it, you lose not only foot support but also the ability to operate the brake or gearbox properly.
Before riding on
Inspect both sides, the base, the bolts and the neighbouring levers, and check the free play of the brake and the gear change. Don't put your weight on a cracked part or consider it sound after strapping it together with cable ties.
Stories of "a dozen cases out of hundreds" are not statistics: the number of bikes sold and the independence of the reports aren't established. Nor can the material be identified precisely as "cheap cast alloy" without data on the part.
Replacement and repair
A bracket that matches the catalogue is preferable. Welding an aluminium bracket with reinforcement was described by one owner, who then rode about 11 thousand km, but that doesn't confirm the technique for every alloy and type of damage. A specialist should assess the strength, especially for the rider's and passenger's supports.
Fitting V-Strom parts with washers and a DS625X/facelift kit on the DS525X both come up. You need the full set and a geometry check; the claim of unconditionally greater strength hasn't been confirmed by testing.
Lower crash bars may reduce the footpeg's contact with the ground but don't guarantee it will survive. A folding lever tip only protects its own arm in the intended direction and doesn't make the bracket invulnerable. After repair, also check ground clearance, the brake mechanism and how it interacts with the crash bars.