An official history of the Australian Security Intelligence Organisation has conceded it was penetrated by Soviet agents during the latter half of the Cold War, confirming suspicions held for decades about why the domestic spy agency struggled against Communist targets.