A secret key is sitting in your website's code
What this is
The JavaScript TaskNest sends to the browser includes a Stripe secret key. The value is fake and was put there on purpose.
Why it matters
On a real app, anyone can open that script, copy the key, and use it as you. A publishable key is fine in the browser. This shape of key is not.
Evidence
Request: GET https://demo.vibevet.app/app.js Came back: HTTP 200. The script includes Stripe secret key: sk_liv_XXXX.
Fix prompt
Paste into any AI builder.
You are fixing a security issue in this app. Keep the change small. This prompt works in Lovable, Bolt, Replit, v0, Cursor, or any other AI builder. A secret key was found in client-side JavaScript. Remove every secret from frontend code. Move that work to a server-only route. Store the secret in an environment variable that the browser cannot see. The browser may keep a publishable Stripe key. It must not keep a secret key. Tell me to rotate the leaked key in the provider dashboard. Do not invent a new secret in the code. Do not print secret values, tokens, or passwords in the chat or in the code. When you are done, tell me which files you changed, in plain language.