How to improve my combat code framework?

What can I do to improve my combat structure?

So i had multiple people telling me to do hitbox on the client then do a sanity check on the server with the hit characters, example: magnitude. The combat feels great the latency it works fine. But i cant stop the feeling of it not being secure enough anyway to improve this codes structures safety?