Malicious code can breach data, make people face financial losses, could crash the system without any reason, provide unauthorized access, and violate your privacy. It could additionally facilitate future cyberattacks, migrate to other systems, or activate botnets for illicit activities.