Generative coding models are trained on GitHub. GitHub is completely full of inadvisable code. The model thinks this is normal.
Sort of by definition it is normal