PulseAugur
实时 10:41:15
English(EN) PSA: Cursor will happily write your Supabase queries without RLS policies

Cursor AI 可能在无 RLS 策略的情况下暴露 Supabase 数据

Reddit r/cursor 子版块的一名用户指出了在使用 Cursor AI 编码助手设置 Supabase 项目时可能存在的安全漏洞。该助手可以生成使用 Supabase 公共匿名密钥的代码,而如果没有行级安全 (RLS) 策略,这将导致整个表暴露给未经授权的访问。用户强调,Cursor 不会主动提供编写这些关键 RLS 策略的功能,开发人员需要手动实施以保护他们的数据。 AI

影响 突显了 AI 编码助手在与后端服务集成时可能存在的安全风险,强调了开发人员保持警惕的必要性。

排序理由 用户报告的 AI 编码助手潜在安全问题。

在 r/cursor 阅读 →

AI 生成摘要 · Google Gemini · 来自 1 个来源。 我们如何撰写摘要 →

Cursor AI 可能在无 RLS 策略的情况下暴露 Supabase 数据

报道来源 [1]

  1. r/cursor TIER_2 English(EN) · /u/UltimateScripted ·

    PSA:Cursor 可轻松为您编写 Supabase 查询,无需 RLS 策略

    <!-- SC_OFF --><div class="md"><p>Ran into this on a project and then found it in three others I looked at. Posting because it's silent, nothing errors, nothing warns you.</p> <p>If you ask Cursor to set up Supabase and build CRUD, you'll usually get working code using the anon k…