- One thing that always scares me is that some third party code will just do a getenv AWS_ACCESS_KEY_ID in whatever language and send it out somewhere. So I tend to either invent non trivial environment variables names, and/or do unsetenv when the process starts, after it loads them to some internal config struct.
American models get nuts when you paste a key in the chat and tell you to rotate it as soon as possible. They'll often update agents.md and describe the key is in ...env file and how to load it for a script. It avoids putting the key in AI's request like the plague.
I often wonder if Chinese models instead just gulp it down and hunt for more. Anyone know?