Hackers commandeered the Twitter account of the U.S. Central Command on Monday, the same day President Barack Obama proposed federal standards to protect consumers from credit-card and identity theft.

The unsettling presence of the Islamic State group (or someone masquerading under that black veil) on the military’s social media turf was timely proof of the nation’s collective vulnerability.

With more than 100 million Americans said to be exposed to cyberfraud, and only a bewildering patchwork of state laws to help them, Mr. Obama should find bipartisan support for his proposals, which include a requirement that companies notify customers within 30 days of a breach. Pennsylvania law says only that notification must occur “without unreasonable delay.”

A single, national standard would offer uniform protection to American consumers and relief to companies that operate in multiple states, which requires them to follow myriad laws.

Advertise with us

That said, some states, such as California, already have effective laws and many companies already act swiftly to mitigate damage to protect both their customers and their images. Target announced its 2013 breach within three weeks. Chick-fil-A disclosed a breach last month in two weeks. Without federal compulsion, the company also offered credit monitoring to any customers affected and promised to reimburse unauthorized charges if they occur.

For the companies that must clean up breaches in all states where they do business — not just one — a national standard makes the most sense.

No wonder the U.S. Chamber of Commerce welcomed the Obama plan’s 30-day rule.

But beyond fixing the breaches and notifying consumers is the need for zealous prosecution of cybercriminals. A year after its breach, Target is preparing to issue more secure credit cards with microchips. The Target hackers? Still free.

Meet the Editorial Board