As the daughter of an F.B.I. agent and a third-generation federal prosecutor, I grew up believing that the men and women of the F.B.I. were always the good guys, combating crime and working hard toward the ultimate goal of keeping us all safe. My father was that kind of F.B.I. agent, and so were the people I worked with.

But all the while my father and other F.B.I. agents were working to keep Americans safe, F.B.I. special agent Robert Hanssen was working just as hard to betray the agency he had sworn allegiance to and the people and country he had sworn to protect.