I think writing `pip install …` commands from memory is bad security. If it's `python-foobar` instead of `foobar` you might be installing malware. A more prudent approach is to type `# install foobar with pip:` into Copilot and blindly execute whatever it says.
AI Code Generation Security Risks and Prudent Practices
By
–