<?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: A K</title>
    <description>The latest articles on DEV Community by A K (@a_k_a9a3d82011c50c554dfb6).</description>
    <link>https://dev.to/a_k_a9a3d82011c50c554dfb6</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%2F4192831%2F33d6bee0-f52e-46c1-b1a6-cacf357cf799.png</url>
      <title>DEV Community: A K</title>
      <link>https://dev.to/a_k_a9a3d82011c50c554dfb6</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/a_k_a9a3d82011c50c554dfb6"/>
    <language>en</language>
    <item>
      <title>I built a deterministic &lt;0.1ms AI prompt-injection firewall (and seeded an open $5.00+ USDC bounty)</title>
      <dc:creator>A K</dc:creator>
      <pubDate>Sun, 18 Oct 2026 20:25:38 +0000</pubDate>
      <link>https://dev.to/a_k_a9a3d82011c50c554dfb6/i-built-a-deterministic-01ms-ai-prompt-injection-firewall-and-seeded-an-open-500-usdc-bounty-214i</link>
      <guid>https://dev.to/a_k_a9a3d82011c50c554dfb6/i-built-a-deterministic-01ms-ai-prompt-injection-firewall-and-seeded-an-open-500-usdc-bounty-214i</guid>
      <description>&lt;p&gt;Most LLM guardrails (like Llama Guard or NeMo) add 500ms–1500ms of latency per call. For real-time autonomous AI agents, that delay kills the user experience.&lt;/p&gt;

&lt;p&gt;I built &lt;strong&gt;CanaryGuard&lt;/strong&gt;: a deterministic heuristic firewall that inspects inputs in &amp;lt;1ms line-rate before passing them to the model context.&lt;/p&gt;

&lt;h3&gt;
  
  
  What it Catches
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Chat-template delimiter smuggling (&lt;code&gt;[INST]&lt;/code&gt;, &lt;code&gt;&amp;lt;|im_start|&amp;gt;&lt;/code&gt;, &lt;code&gt;&amp;lt;&amp;lt;SYS&amp;gt;&amp;gt;&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Concealed unicode obfuscation (zero-width spaces &lt;code&gt;\u200B&lt;/code&gt;, bidi overrides)&lt;/li&gt;
&lt;li&gt;Hidden HTML/DOM injection (&lt;code&gt;display:none&lt;/code&gt;, opacity tricks)&lt;/li&gt;
&lt;li&gt;Asset exfiltration &amp;amp; wallet drain commands&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Open Red-Team Challenge
&lt;/h3&gt;

&lt;p&gt;To test how far deterministic rules hold up against real jailbreaks, I seeded an on-chain $5.00+ USDC bounty vault on Base &amp;amp; Solana. If your payload slips past strict mode with status &lt;code&gt;clean&lt;/code&gt;, you win the vault.&lt;/p&gt;

&lt;p&gt;👉 &lt;strong&gt;Test your payloads in the live simulator:&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://canaryguard-402.onrender.com/bounty.html" rel="noopener noreferrer"&gt;https://canaryguard-402.onrender.com/bounty.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;(Now includes a Sanitizer Mode toggle to see before/after text scrubbing live).&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Curious to hear what injection payloads you can use to break it!&lt;/p&gt;

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