Cursor
Security FAQ

What security issues do Cursor apps have?

Get instant answers about your app's security.

Short Answer

Cursor apps surface a predictable distribution of issues: 2 critical-impact classes (prompt injection in mcp servers, workspace trust exploitation), 2 high-impact, 1 medium-or-below. The critical ones are what cause data breaches.

Detailed Answer

Critical issues in Cursor apps

  • **Prompt Injection in MCP Servers**: Malicious content in MCP tool responses can execute arbitrary commands. *(Observed: CVE-2025-54135 (CurXecute): Slack messages could trigger remote code execution.)*
  • **Workspace Trust Exploitation**: Malicious .cursor/rules files execute when opening untrusted projects. *(Observed: The 'Rules File Backdoor' vulnerability affects both Cursor and Copilot.)*

High-severity issues

  • **Code Suggestion Security Flaws**: AI suggests vulnerable patterns: SQL injection, hardcoded secrets, weak auth.
  • **Supply Chain via Package Hallucination**: AI suggests non-existent packages that attackers could register.

Medium/low-severity issues

  • **Privacy and Code Exfiltration**: Code sent to AI servers may expose proprietary logic or secrets.

Why these are the issues specific to Cursor

Cursor apps ship with a recognizable stack (supabase, firebase, postgres). The issue list above is what appears when you scan that specific combination. A Firebase-backed app would have a different top-5; a self-hosted Postgres deployment would have yet another. Context is everything.

What VAS checks in a Cursor scan

  • **Secret Detection** — Scans your codebase for any API keys, tokens, or credentials that should be in environment variables.
  • **Code Security** — Analyzes code patterns for common vulnerabilities like injection, XSS, and insecure dependencies.
  • **Database Security** — Tests your database configuration for proper access controls and security policies.
  • **Security Headers** — Verifies your deployed application has proper HTTP security headers configured.

Security Research & Statistics

10.3%

of Lovable applications (170 out of 1,645) had exposed user data in the CVE-2025-48757 incident

Source: CVE-2025-48757 security advisory

4.45 million USD

average cost of a data breach in 2023

Source: IBM Cost of a Data Breach Report 2023

500,000+

developers using vibe coding platforms like Lovable, Bolt, and Replit

Source: Combined platform statistics 2024-2025

Expert Perspectives

There's a new kind of coding I call 'vibe coding', where you fully give in to the vibes, embrace exponentials, and forget that the code even exists.

Andrej KarpathyFormer Tesla AI Director, OpenAI Co-founder

It's not really coding - I just see stuff, say stuff, run stuff, and copy paste stuff, and it mostly works.

Andrej KarpathyFormer Tesla AI Director, OpenAI Co-founder

Check Your Cursor App's Security

VAS scans for all the security issues mentioned above. Get a comprehensive security report in minutes.

Get Starter Scan

More Questions About This Topic

Which Cursor security issue is most dangerous?

Prompt Injection in MCP Servers. Malicious content in MCP tool responses can execute arbitrary commands. Real-world evidence: CVE-2025-54135 (CurXecute): Slack messages could trigger remote code execution. The fix: Review MCP server sources. Avoid untrusted MCP integrations. Watch for suspicious tool calls.

Are these issues unique to Cursor, or do they appear across platforms?

The patterns overlap with bolt, lovable, replit — all vibe-coding platforms share the "AI-generated code prioritizes functionality over security" problem. But the *specific manifestation* differs per platform. An exposed Supabase anon key is structurally different from an exposed Firebase config, which is different from an exposed Postgres connection string. The right scan is platform-aware.

How do I see which of these issues my Cursor app has?

Run a VAS scan against your deployed Cursor app URL. It checks every issue in the list above, confirms each by actually probing (not just reading headers), and prioritizes by severity with copy-paste fixes. Most Cursor app scans return results in 2–3 minutes.