Consumers are being warned about a phishing scam falsely claiming to be from Costco, the office of Sonoma County District Attorney announced.