I came up with a radical solution for attacks spamming : I simply implemented a small delay to activate damage after repeated attacks.
Saving builds may come in a future update.
Thanks for the fix, it works well. I guess the most accurate way to describe it would be that you put a "speed limit" on repeating light attacks. They're definitely less abusable now.