If you pasted an API key into an AI chat, rotate that key
While building, it's easy to paste a Stripe, OpenAI, Supabase or other API key into an AI chat so the assistant can wire something up. That message often stays in the chat history, and those histories can be exported, synced, shared with a teammate, or later pulled into a bug report.
Treat a key you pasted into a chat as exposed. Don't just delete the message. Open the provider's dashboard, create a new key, put it in your host's server-side environment variables, redeploy, then revoke the old one.
Going forward, tell the AI the key name and where it lives (for example Vercel env vars) instead of pasting the value.
Want an outside check of your live app? Run the free scan at leakyvibe.com/?demo=1&ref=blog-rotate-api-keys-pasted-into-ai-chats. It takes about 15 seconds.