Finally sorted the footpeg pins, found some hollow stainless ones on eBay, they were listed as being for a KXF250.
They are a bit longer than required so I cut 5mm off the end and redrilled the split pin hole using a cobalt drill. The mounts of the frame were drilled out using a 10mm drill and then deburred and repainted then the pegs fitted with KTM springs and stainless R clips. At the same time I sandblasted the rear brake pedal and fitted a new pivot bearing.
Finally result is much better than the rubbish CCM nut and bolt arrangement.