Now on AppleNow on AndroidScan free

← All posts

Leaked OpenAI key? Ember's two-minute fix

An sk-proj- key in browser JavaScript? Cute find for a detective; not so cute in your live app.

OpenAI keys start with sk- and are secret. OpenAI says never ship one in browsers or mobile apps; route calls through your own server. Found in JavaScript, a public .env, or GitHub? Delete it first.

The two-minute check

  1. On platform.openai.com/api-keys, hit the trash can. Deleted keys cannot be used.
  2. Create a new server-only key. Check Usage for unfamiliar charges. Optionally turn on Enforce a hard limit — alerts alone do not stop traffic. Our guide has the steps.
  3. Then scan your own app on SniffPup for other exposed secrets.

See the state of vibe-coded app security.

Want one 2-minute check like this every morning? Sign up below.

Named after Ember, my black Pomeranian. Built by a software engineer and vibe-coding hobbyist to help you ship safely.