I have been a Costco member 20 + years. This harassment on checking Costco cards is really bothering me. If it is such a big deal than close your self check out lines, then everyone goes there a full check and every card is looked at. This of course means you have to hire more people to cashier, this means more jobs, a budgeting issue for you and it would be better for the community.
You could spend money on facial recognition on the self check out to make sure the photo on the card matches the person scanning.
You could deny the card if both the name on the account and the card doesn't match up.
Now these fixes will cost Costco money to do any of them, or they can continue to harass all the customers because a thousand are cheating.
I may switch to Sam's club over this and I do not like Sam's club.but if I keep getting harassed that is what will happen.