As a pharmacology student, Harsanyi escaped conscription into the Hungarian Army which, as a person of Jewish descent, would have meant forced labor.
Som farmaceutstuderende undgik Harsanyi værnepligten i den ungarske hær, hvilket for ham som person af jødisk herkomst ville have betydet tvangsarbejde.