A system for authenticating a merchandise unit includes a memory for storing an electronic product code obtained from and identifying the merchandise unit, and a sensor for detecting an attribute of a marking medium associated with the merchandise unit. The system is configured to output data representative of the attribute and the identity of the merchandise unit.