Nazis have always infiltrated youth subcultures as fertile ground for trying to recruit young people; they adopt the style, the music, etc. That's why people associate skinheads with nazis, when skinhead culture originated as a subculture that embraced black and white unity in working class communities in England. Nazis just co-opted the aesthetics. So this isn't something specific to the punk subculture.
Nazis have always infiltrated youth subcultures as fertile ground for trying to recruit young people; they adopt the style, the music, etc. That's why people associate skinheads with nazis, when skinhead culture originated as a subculture that embraced black and white unity in working class communities in England. Nazis just co-opted the aesthetics. So this isn't something specific to the punk subculture.