The design of a protective electron-rich surface is an ideal route to enhance the performance of catalysts. Due to the higher work function of Ni3B, facile-directed electron transport occurs from PtNi to Ni3B to enrich electron density on the surface of the Ni3B shell. This process increases hydrogen adsorption-desorption kinetics and mitigates Cl- corrosion.