Based on what I see, the buff can be triggered by a bash attack. If you look in the items file, you will see certain items with damage_type as bashing listed.
This might (might as I don't have the time to test it myself) change the attack from bashing to slashing which wouldn't cause you to catch an infection. Not sure what this would do in regards to other critical buffs though.