SAN FRANCISCO — Defense lawyers are warning clients to carefully vet their subscription renewal policies amid a flurry of consumer litigation under an untested state law.

Since late 2013, two Southern California plaintiffs lawyers have systematically targeted Google, Apple, Spotify, Lifelock, Blue Apron and other companies with subscription-based services under a 2010 California statute that prohibits automatic renewal charges without affirmative consent.