Disclosed is a polypeptide having a base amino acid sequence and wherein at least two amino acid residue side chains are substituted with functional Michael acceptor groups. Also disclosed are cosmetic compositions including the polypeptide, a method for repairing damaged hair using the polypeptide or composition, and to the use of the polypeptide or composition in such methods.