Contractor immunity refers to the legal protection granted to private contractors, shielding them from liability for actions taken while performing duties on behalf of a governmental agency in the criminal justice system. This concept is crucial in the context of privatization and outsourcing, as it raises questions about accountability and oversight when private entities are involved in public services.