Cursor Live App publish is blocked. Fix secrets, then publish again
Publish from a cloud agent. Move secrets into the Apps dashboard, then publish again. Checks block secrets, credential files, .env files, and source maps. Short answer: 5 steps. 1) Confirm you are on a cloud agent with Apps available; 2) Read the publish blockers instead of forcing a redeploy; 3) Remove secrets and credential files from the app tree; 4) Treat the AI security review as a separate gate; 5) Set visibility and API access after a clean publish.
Last updated: · This page is the decision checklist; the tools list for “Unblock a Cursor Live App publish that fails security checks” is a separate URL.
How do I fix secrets, then publish again, when a Cursor Live App is blocked?
Confirm you are on a cloud agent with Apps available
Live Apps are not supported from a local agent. Start a cloud agent on a paid plan that has cloud agents enabled, and say explicitly that you want to build or deploy an app. Cursor scaffolds hosting, optional Postgres, and Cursor SSO auth, then shows a preview/publish tray. Docs: https://cursor.com/docs/cloud-agent/apps
Read the publish blockers instead of forcing a redeploy
Nothing goes live until you choose a URL and publish. If checks fail, Cursor lists what must change. Tell the agent to fix those items, then publish again—retrying without removing secrets or credential files will fail the same way.
Remove secrets and credential files from the app tree
Four checks always run, even when the AI security review is off: block API keys/access tokens written in app files; block credential files (private keys, service-account keys, auth-token files); never publish `.env` files; never publish source maps. Put real values in team or personal secrets in the Apps dashboard so the agent never sees them.
Treat the AI security review as a separate gate
On top of the four checks, an agentic review can block other serious issues. Team admins can add review instructions (they cannot remove Cursor’s built-in checks) and can approve publishes the review blocked—except for malicious code, hardcoded secrets, or exposed credentials.
Set visibility and API access after a clean publish
Share with invited people, the whole signed-in team, or (individual plans) the public. Public sharing defaults off for Teams/Enterprise until an admin enables it. For scripts or Grok Bot, use an Apps API key in the `x-cursor-app-token` header—not a query param. Security overview: https://cursor.com/docs/cloud-agent/security
Which tools are best to unblock a Cursor Live App publish that fails security checks?
Cursor Apps
Cloud-agent-only publish flow, four always-on checks, AI security review, and admin overrides.
Build Live Apps changelog
What Live Apps scaffolds (hosting, Postgres, auth) and that nothing goes live until you publish.
Cloud agent security
How cloud-agent secrets and Runtime Secrets stay out of transcripts and commits.
Cloud agent setup
Paid-plan cloud agents are required before Apps is available.
Open: 1 spot per week
One labeled sponsor for this topic each week; this week's spot is open. See open weeks →
All tools for “Unblock a Cursor Live App publish that fails security checks” →
Related fixes
- Stop a Cursor agent loopHow to fix a Cursor agent loop (same edit, or work after Stop)Fix →
- Claude Code vs Codex vs Cursor ~$20 plansClaude Code vs Codex vs Cursor $20 plan limits: how to pick without burning the weekFix →
- Scan a vibe-coded app for leaked API keysCheck a vibe-coded app for leaked API keys before you share itFix →
- Add an MCP server to Claude Code, Cursor, or CodexHow to add an MCP server to Claude Code, Cursor, or CodexFix →
See also AI tools launched today on the daily board.
NewAIToolsToday Daily
Top 3 AI launches, one model or news item that matters, and one simple fix. A 5-minute read, every weekday.