This project sends your API key to another server
Infection level: HIGHEX-067 · Project settings that send your API key to another host
What the attacker is trying to do
A settings file sets the address that your AI tool sends its requests to. If it is not the real vendor, your key and every prompt go to whoever runs that server.
Defanged example
No example file exists for this rule yet.
How to fix it
Remove the base URL from the committed settings, or point it at a host you run and trust. A project that redirects the API address receives your key and every prompt. Set a gateway address in your own user settings if you need one.
Technical details
- Detected by
- Checks files of type
- mcp-config, config
- OWASP
- LLM02:2025 Sensitive Information Disclosure; ASI05 Sensitive Data Leakage