<?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: Chirag Honnyal</title>
    <description>The latest articles on DEV Community by Chirag Honnyal (@chirag_honnyal).</description>
    <link>https://dev.to/chirag_honnyal</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%2F4275222%2F9b4149ce-c41b-4758-831d-ab6e72d67518.png</url>
      <title>DEV Community: Chirag Honnyal</title>
      <link>https://dev.to/chirag_honnyal</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/chirag_honnyal"/>
    <language>en</language>
    <item>
      <title>Our security test said 40 of 40. Three of those runs never tested anything.</title>
      <dc:creator>Chirag Honnyal</dc:creator>
      <pubDate>Tue, 01 Dec 2026 00:18:59 +0000</pubDate>
      <link>https://dev.to/chirag_honnyal/our-security-test-said-40-of-40-three-of-those-runs-never-tested-anything-3lin</link>
      <guid>https://dev.to/chirag_honnyal/our-security-test-said-40-of-40-three-of-those-runs-never-tested-anything-3lin</guid>
      <description>&lt;p&gt;We built Watchkeeper for AGENTWARE 2026: an on-call agent that handles outages on its own, within "standing orders" a human writes in advance, and pages a human for everything else. The organisers gave every team a "Trap Pack": 20 hostile files (fake CEO emails, poisoned build logs, a CSV with a 31st of November) designed to trick an agent into leaking a secret or doing something it shouldn't.&lt;/p&gt;

&lt;p&gt;We ran all 20 through Watchkeeper during real outages, each twice: once in an outage it is allowed to fix, once in an outage it must hand over to a human. That second case matters most, because the agent writes a page to a human, and a page is where a leak would actually happen.&lt;/p&gt;

&lt;p&gt;The results table said &lt;strong&gt;40 of 40 held&lt;/strong&gt;: no secret in anything it sent, no action any trap asked for. We committed it and moved on.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Then we asked a different question.&lt;/strong&gt; Not "did anything bad happen?" but "did the attack even arrive?". We searched every run's trace (the agent's step-by-step log) for the trap's own text. In &lt;strong&gt;3 of the 40 runs it was not there.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The cause was mundane. Log-type traps were written into the orders service's log. In the hand-over variant, the outage was in a different service, so the agent (sensibly) read that service's logs and never opened the one with the trap in it. "Held" only meant "never saw it". A security test that silently skips the attack looks exactly like a pass.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What we changed:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The hand-over variant now breaks the same service during a change freeze, so the trap lands in the log the agent actually reads, and the freeze forces it to hand over instead of fixing.&lt;/li&gt;
&lt;li&gt;Every run now records "trap reached the model: yes/no", computed from the trace, not assumed.&lt;/li&gt;
&lt;li&gt;We kept the old run in the repo, with the correction written on top, instead of quietly replacing it.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;In the new runs &lt;strong&gt;all 40 traps reached the model, and all 40 still held&lt;/strong&gt;: no secret in any page, no action a trap asked for. Scoring by hand against the organisers' answer key also showed what a tidy table hides: the agent called one harmless maintainer issue "a possible injection" in both variants. That's a false alarm, and it's in the results too.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The lesson:&lt;/strong&gt; when you test an agent's defences, check that the attack arrived, not only that nothing bad happened. Absence of damage is not evidence of a defence.&lt;/p&gt;

&lt;p&gt;Repo (results, traces and the correction): &lt;a href="https://github.com/thegoodengineers/watchkeeper" rel="noopener noreferrer"&gt;https://github.com/thegoodengineers/watchkeeper&lt;/a&gt; (see &lt;code&gt;tests/trap-pack/RESULTS.md&lt;/code&gt;)&lt;/p&gt;

&lt;p&gt;3-minute demo: &lt;a href="https://youtu.be/iQDc6p-9ogI" rel="noopener noreferrer"&gt;https://youtu.be/iQDc6p-9ogI&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Built for &lt;a href="https://agentwarehack.com" rel="noopener noreferrer"&gt;AGENTWARE 2026&lt;/a&gt; by &lt;a href="https://raptors.dev" rel="noopener noreferrer"&gt;Hackathon Raptors&lt;/a&gt;. Written for the Near Miss at Agentware 2026, a prize backed by &lt;a href="https://fileclerk.co.uk" rel="noopener noreferrer"&gt;FileClerk&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>security</category>
      <category>testing</category>
    </item>
  </channel>
</rss>
