A string of security lapses resulted in a four-day delay before the US Secret Service realized that a man had fired a high-powered rifle at the White House in 2011, an incident that could have put President Barack Obama’s daughters at risk, according to a Washington Post investigation.