An intruder demanding to see U.S. House Speaker Nancy Pelosi attacked her husband with a hammer during a break-in at the couple's San Francisco home early on Friday, officials said, in an assault that raised fears about political violence ahead of the Nov. 8 midterm elections.