<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: mohammed ibrahim</title>
    <description>The latest articles on DEV Community by mohammed ibrahim (@carbonthecoder).</description>
    <link>https://dev.to/carbonthecoder</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4123302%2F0d5ed8e6-1e86-47fb-88f7-a16bce3d0500.jpg</url>
      <title>DEV Community: mohammed ibrahim</title>
      <link>https://dev.to/carbonthecoder</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/carbonthecoder"/>
    <language>en</language>
    <item>
      <title>I audited 50 projects built with Cursor &amp; Claude. Here are the 4 security traps they all had</title>
      <dc:creator>mohammed ibrahim</dc:creator>
      <pubDate>Sun, 13 Sep 2026 15:10:31 +0000</pubDate>
      <link>https://dev.to/carbonthecoder/i-audited-50-projects-built-with-cursor-claude-here-are-the-4-security-traps-they-all-had-1c16</link>
      <guid>https://dev.to/carbonthecoder/i-audited-50-projects-built-with-cursor-claude-here-are-the-4-security-traps-they-all-had-1c16</guid>
      <description>&lt;p&gt;I’ve been using Cursor daily for months. It’s easily 5x'd my velocity. &lt;/p&gt;

&lt;p&gt;But if you look closely at the code it generates when you're moving fast, it has massive blindspots. It prioritizes "making the code run" over "making the code production-ready."&lt;/p&gt;

&lt;p&gt;The most common things I kept catching it doing:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Writing DB queries without tenant isolation (classic IDOR vulnerability).&lt;/li&gt;
&lt;li&gt;Doing &lt;code&gt;token === secret&lt;/code&gt; on webhooks instead of constant-time comparisons.&lt;/li&gt;
&lt;li&gt;Putting third-party network fetches inside active DB transaction blocks (which kills connection pools under high load).&lt;/li&gt;
&lt;li&gt;Using floats for currency calculations.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The problem is that during long chat sessions, Cursor forgets system prompts unless you ground it with strict mathematical invariants.&lt;/p&gt;

&lt;p&gt;So I put together an open-source repo called &lt;strong&gt;secure-code&lt;/strong&gt; with drop-in rules for Cursor (&lt;code&gt;.cursorrules&lt;/code&gt;), Claude (&lt;code&gt;CLAUDE.md&lt;/code&gt;), and Copilot across TypeScript, Python, Go, Rust, and 6 other languages.&lt;/p&gt;

&lt;p&gt;You don't need to clone the repo or install anything. You can just run this in your project terminal:&lt;/p&gt;

&lt;p&gt;npx github:carbonthecoder/secure-code inject&lt;/p&gt;

&lt;p&gt;It detects what language you’re using, finds your &lt;code&gt;.cursorrules&lt;/code&gt;, and safely appends the security &amp;amp; performance constraints at the bottom without touching your existing prompt.&lt;/p&gt;

&lt;p&gt;Repo is 100% open-source MIT: &lt;a href="https://github.com/carbonthecoder/secure-code" rel="noopener noreferrer"&gt;https://github.com/carbonthecoder/secure-code&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Curious if anyone else has caught Cursor introducing these same patterns?&lt;/p&gt;

</description>
      <category>ai</category>
      <category>webdev</category>
      <category>security</category>
      <category>devops</category>
    </item>
  </channel>
</rss>
