How artificial intelligence protects your purchases