The killer, a member of the Afghan security forces, was shot dead himself after turning his gun on US special forces and Afghan commandos Monday at a military base in Wardak province.