<?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: fallen-leaves</title>
    <description>The latest articles on DEV Community by fallen-leaves (@fallenleaves089).</description>
    <link>https://dev.to/fallenleaves089</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%2F4237233%2Fbf156eda-bc49-475c-83b2-068b0f042457.jpg</url>
      <title>DEV Community: fallen-leaves</title>
      <link>https://dev.to/fallenleaves089</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/fallenleaves089"/>
    <language>en</language>
    <item>
      <title>How I stopped AI agents from hallucinating and bypassing security (Open Source)</title>
      <dc:creator>fallen-leaves</dc:creator>
      <pubDate>Tue, 10 Nov 2026 13:55:03 +0000</pubDate>
      <link>https://dev.to/fallenleaves089/how-i-stopped-ai-agents-from-hallucinating-and-bypassing-security-open-source-59c7</link>
      <guid>https://dev.to/fallenleaves089/how-i-stopped-ai-agents-from-hallucinating-and-bypassing-security-open-source-59c7</guid>
      <description>&lt;p&gt;Hi everyone! 👋&lt;/p&gt;

&lt;p&gt;I'm a 17-year-old developer. Recently, while using AI agents to review my code, I got extremely frustrated with two things:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;AI often hallucinates success by swallowing error exit codes. It tells me "All tests passed" while the script is actually broken.&lt;/li&gt;
&lt;li&gt;AI can be easily tricked by prompt injections hidden in READMEs, and it might modify my uncommitted code without permission.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;So, I decided to build a solution. &lt;/p&gt;

&lt;p&gt;I am excited to share &lt;strong&gt;&lt;code&gt;project-health-macos&lt;/code&gt;&lt;/strong&gt;, a deep health-check skill strictly for native Apple Silicon (M1 and later). It audits existing projects and generates P0-P3 findings with evidence.&lt;/p&gt;

&lt;h3&gt;
  
  
  ✨ Key Features
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Read-only by default&lt;/strong&gt;: It finds issues (P0-P3 with &lt;code&gt;file:line&lt;/code&gt; evidence) and reports them without touching your code.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Prompt Injection Defense&lt;/strong&gt;: It treats all text in the target repo as untrusted evidence, never as instructions.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Zero Trust CWD&lt;/strong&gt;: Fails closed if the working directory fingerprint is wrong (preventing malicious &lt;code&gt;docker-compose&lt;/code&gt; execution).&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Native arm64 Gate&lt;/strong&gt;: Rejects Rosetta terminals and Intel Macs via a hard &lt;code&gt;sysctl&lt;/code&gt; check.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Supply Chain Security&lt;/strong&gt;: The release zip is signed with OpenSSH Ed25519. You can verify it using the provided &lt;code&gt;allowed_signers&lt;/code&gt; and &lt;code&gt;SHA256SUMS.sig&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It's fully open-sourced under &lt;strong&gt;Apache-2.0&lt;/strong&gt;. CI is green across Python 3.9 and 3.12 on GitHub's macOS runners.&lt;/p&gt;

&lt;h3&gt;
  
  
  🔗 Links
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;GitHub Repository&lt;/strong&gt;: &lt;a href="https://github.com/Fallen-leaves089/project-health-macos" rel="noopener noreferrer"&gt;https://github.com/Fallen-leaves089/project-health-macos&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Since I only tested it via GitHub Actions (macOS arm64), I would love to hear feedback from real Mac users. If you have a Mac, feel free to try it out on a disposable project. Let me know what you think!&lt;/p&gt;

</description>
      <category>ai</category>
      <category>security</category>
      <category>python</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
