re: writing insecure code or buggy code that people will trust automatically...

@mistersql

re: writing insecure code or buggy code that people will trust automatically because (scifi trope) everyone (except me) will see AI as a god they must obey unthinkingly (unlike me)

1) It can't write large programs
2) It makes mistakes that prevent copy-paste-run. You still gotta edit the output.
3) Nothing has changed, people still copy paste from SO and incorporate packages from pypi

Self-replies

Anyhow, unlike an abandoned SO question from 10 years ago and a pypi an abandoned pypi package your company has pinned a version to-- you can ask ChatGPT: Do you see any security vulnerabilities here and sometimes it can find them, even in code it just wrote. Just like humans, it works better in draft 1, draft 2, etc.