Fix guide · high · stripe_restricted_key
Stripe restricted key (rk_live_) in your client bundle
What this rule means
A string matching rk_live_* was found in your deployed JavaScript.
Why it matters
Less catastrophic than sk_live_ — restricted keys have a scoped permission set — but still exposes whatever capabilities that specific key was granted. Frequently includes customer data read or charge creation.
How to fix it
- Revoke the key at dashboard.stripe.com/apikeys.
- Audit logs for the time window the key was valid.
- Generate a new restricted key with minimum permissions, store server-side.
- Add a CI gate to fail deploys containing
rk_live_.
Did vibecheck flag this on your app?
If you reached this page from a vibecheck inspection report, the redacted match in your scan output is the exact string we found in your bundle. After applying the fix above, run the inspection again — the finding should clear.
Run another inspection