You moved your OpenAI/Anthropic key out of the frontend. Nice.Now open your /api/chat (or whatever it's called) route in...

You moved your OpenAI/Anthropic key out of the frontend. Nice.Now open your /api/chat (or whatever it's called) route in a logged-out terminal with curl. If it answers, anyone can use your key through it and you pay.Session check, per-user rate limit, and a spend cap at the provider.#OpenAI #Anthropic #AI #webdev #nextjs #vibecoding #SaaS #indiehackers #AppSec #devtools #buildinpublic

Read Original

Related