The boy's mom wrote, "My cat defends my son during a vicious dog attack and runs the dog off before he can do additional damage"