It's a bit tricky to say when I don't have the full details of what the course entails and haven't assisted to it myself.
I think my concern here is that this course would give the students a false sense of safety since they now have a recipe they can apply to "filter out the junk" making them blind the next evolution.
I also don't think your analogies fully grasp the matter (alt ought they are really good examples of "races to the bottom").
A more relevant analogy would be akin too: "Should we teach students about known vulnerabilities when attackers keep discovering new ones?".
To that my answer is, I'm not sure. There are a lot of vulnerabilities, and going over each known one would take a considerable amount of time. Perhaps spending more time learning other facets of software development would be a better a better use of time.