Answer: Before every publish, Cursor runs four always-on checks: blocking secrets written in app files, blocking credential files, never publishing .env files, and never publishing source maps. On top of these, an AI security review reads the app's files and blocks serious issues before the app goes live. Status: Confirmed Entry: tool/cursor/permissions-and-security/app-security-controls Revision: 2 Digest: sha256:08b9f4ad6e1dd66e (changes whenever the content changes) Timeline: Created: 2026-11-13T03:09:55Z Last changed: 2026-11-18T12:30:23Z (Check 4: — → Never publish source maps) Last verified: 2026-11-20T12:36:14Z Next check: 2026-11-21T12:36:14Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Number of checks | Four checks run before every publish | [1] | 2026-11-20 Check 1 | Block secrets written in app files | [1] | 2026-11-20 Check 2 | Block credential files | [1] | 2026-11-20 Check 3 | Never publish .env files | [1] | 2026-11-20 Check 4 | Never publish source maps | [1] | 2026-11-20 AI security review | an AI security review reads the app's files and blocks serious issues before the app goes live | [1] | 2026-11-20 Sources: [1] Anysphere. "cursor.com/docs/cloud-agent/apps.md". https://cursor.com/docs/cloud-agent/apps.md Role: primary. Accessed: 2026-11-20T12:36:14Z Quote: "Four checks run before every publish." (Supports: Number of checks) Quote: "**Block secrets written in app files.** Stops the publish if a file contains an API key or access token." (Supports: Check 1) Quote: "**Block credential files.** Stops the publish if it includes private keys, service-account keys, or files with auth tokens." (Supports: Check 2) Quote: "**Never publish .env files.** Leaves `.env` files out of what ships." (Supports: Check 3) Quote: "**Never publish source maps.** Removes source maps so visitors can't read the original source code." (Supports: Check 4) Quote: "an AI security review reads the app's files and blocks serious issues before the app goes live" (Supports: AI security review) Snapshot SHA-256: a46c2ddd53889c0344b4298e57c6eada4cda5351a968813a6b0c471b5d3420c7 (captured 2026-11-17T12:45:27Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-17T12:45:31Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:36:14Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:36:14Z Last attempt: 2026-11-20T12:36:14Z Notes and limitations: Extracted automatically from a single official source (section "Security and controls"). Related: https://latestn.com/tool/cursor/permissions-and-security/auto-allow-self-hosted-machines How do I enable automatic approval for self-hosted machines in Cursor cloud agents? https://latestn.com/tool/cursor/permissions-and-security/auto-approve-terminal-commands How do I make Cursor terminal commands run without approval? https://latestn.com/tool/cursor/permissions-and-security/block-agent-file-access How do I stop Cursor agents from accessing certain files? https://latestn.com/tool/cursor/models/update-team-model-access How do I update model access configuration for a team in Cursor using the Organization API? https://latestn.com/tool/cursor/permissions-and-security/access-level-api-mapping What do the Cursor Deployed Agents access levels Viewer, Editor, and Owner map to in the API? https://latestn.com/tool/cursor/permissions-and-security/acp-authentication How does authentication work for Cursor CLI ACP? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-18T12:30:23Z | changed | Check 4: — → Never publish source maps | [1] 2026-11-18T12:30:23Z | changed | Check 3: — → Never publish .env files | [1] 2026-11-18T12:30:23Z | changed | Check 2: — → Block credential files | [1] 2026-11-18T12:30:23Z | changed | Check 1: — → Block secrets written in app files | [1] 2026-11-18T12:30:23Z | changed | Number of checks: — → Four checks run before every publish | [1] 2026-11-18T12:30:23Z | changed | check 4: Never publish source maps. → — | [1] 2026-11-18T12:30:23Z | changed | check 3: Never publish .env files. → — | [1] 2026-11-18T12:30:23Z | changed | check 2: Block credential files. → — | [1] 2026-11-18T12:30:23Z | changed | check 1: Block secrets written in app files. → — | [1] 2026-11-18T12:30:23Z | changed | number of checks: Four → — | [1] 2026-11-13T03:09:55Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/cursor/permissions-and-security/app-security-controls/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/cursor/permissions-and-security/app-security-controls POST: https://latestn.com/dispute/tool/cursor/permissions-and-security/app-security-controls with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/cursor/permissions-and-security/app-security-controls?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). What security checks and controls does Cursor apply before publishing an app? Revision 2, last verified 2026-11-20T12:36:14Z. https://latestn.com/tool/cursor/permissions-and-security/app-security-controls (accessed 2026-11-21T09:57:57Z). @misc{LatestN_tool_cursor_permissions_and_security_app_security_controls_r2, title = {What security checks and controls does Cursor apply before publishing an app?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/cursor/permissions-and-security/app-security-controls}}, note = {Revision 2; digest sha256:08b9f4ad6e1dd66e; last verified 2026-11-20T12:36:14Z; accessed 2026-11-21T09:57:57Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/cursor/permissions-and-security/app-security-controls