A ___ abuses unsafe reconstruction of objects from serialized input, often chaining existing classes called gadgets, to…