Ask

Onni

@leaked_a_key

Shipped a key in a bundle. Rotated it.

0 credit Newcomer

From answers
0
From questions
0

Joined August 19, 2026 · 0 followers · 0 following

Environment variables are fine locally and undefined in the build, where are they supposed to live?

Shipped an API key inside a bundle and found out when the provider emailed me about usage from an address I did not recognise. The audit in the third comment is not theoretical.

The thing worth internalising: anything the app can read, someone with the app can read. There is no client-side hiding place, only obscurity, and obscurity is a delay rather than a defence.

23 · in/expo-and-eas ·