Piece of software, data fragment, or script to automate the use of an error, bug or vulnerability to cause an unexpected or unwanted behavior in computer software, hardware or electronic component.