Keys in the frontend
AI-assisted commits leak secrets at about twice the human rate (GitGuardian).
Without MainSDK: Bill maxed out overnight, paywall bypassed.
With MainSDK: secret: refs only. A key in code fails the check.Saves a key rotation, a surprise bill and a post-mortem.