Don't think it's a violation to contribute or attend fundraising events.
We don't know what else she did for Kerry. If she used her CIA status to promote his candidacy, for example. Many times, Kerry sounded like he was coached.