<?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: Shalom Ezekiel</title>
    <description>The latest articles on DEV Community by Shalom Ezekiel (@shalom_ezekiel).</description>
    <link>https://dev.to/shalom_ezekiel</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%2F4152535%2F7111ebd4-b7c4-4af4-8378-b10165b3b510.png</url>
      <title>DEV Community: Shalom Ezekiel</title>
      <link>https://dev.to/shalom_ezekiel</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/shalom_ezekiel"/>
    <language>en</language>
    <item>
      <title>A bad patch is worse than no patch</title>
      <dc:creator>Shalom Ezekiel</dc:creator>
      <pubDate>Wed, 30 Sep 2026 18:08:55 +0000</pubDate>
      <link>https://dev.to/shalom_ezekiel/a-bad-patch-is-worse-than-no-patch-2646</link>
      <guid>https://dev.to/shalom_ezekiel/a-bad-patch-is-worse-than-no-patch-2646</guid>
      <description>&lt;p&gt;AI can now find a bug and draft a fix in under a minute. That's great, until the fix is wrong and everyone thinks the problem is solved.&lt;/p&gt;

&lt;p&gt;That's the danger. An unpatched bug gets attention. A badly patched one gets closed. as a backend developer I read fixes the way an attacker would. Before I merge an AI written patch, I ask five questions.   1. Does it fix the root cause or just hide the symptom?&lt;br&gt;
Catching one bad input isn't the same as fixing the flaw that let it in.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Is there a new test for this bug?&lt;br&gt;
Passing tests aren't enough. Without a test for this specific bug, it can quietly come back.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Did the fix open a new hole?&lt;br&gt;
Look for skipped validation, loosened permissions, and swallowed errors. These are the usual side effects of a "quick fix."&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Is the change small and readable?&lt;br&gt;
If a one-line bug becomes a rewrite of half the file, I slow down.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Can I explain why it works?&lt;br&gt;
If I can't, I don't merge it. Then I ask the attacker question&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;What could someone still do?&lt;/p&gt;

&lt;p&gt;Most patches block the exact exploit from the bug report. Attackers don't stop there. They try the next variation. If a patch only handles the example in the report, it isn't finished.&lt;/p&gt;

&lt;p&gt;Where this leaves us&lt;/p&gt;

&lt;p&gt;AI makes finding and drafting fixes much faster, and I use it. But speed isn't safety. Someone still has to answer for what ships, and right now that's a human reading the diff.&lt;/p&gt;

&lt;p&gt;How do you review AI written patches? Tell me what's on your checklist. &lt;/p&gt;

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