1 piece in this thread.
When you spawn a subprocess, it inherits every environment variable — including API keys, tokens, and passwords. Most apps do nothing about this.