The state Department of Consumer Affairs has sent letters to 5,000 employees, contractors and board members warning them of a security breach that has compromised their names and social security numbers.