<?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: Imrankhan</title>
    <description>The latest articles on DEV Community by Imrankhan (@walgo).</description>
    <link>https://dev.to/walgo</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%2F4140252%2Fa0b8241d-243c-41a8-85ca-87e99d91f39a.png</url>
      <title>DEV Community: Imrankhan</title>
      <link>https://dev.to/walgo</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/walgo"/>
    <language>en</language>
    <item>
      <title>Walrus Sessions 8: Building chatbots that actually remember you ($2,500 in prizes, ends Oct 9)</title>
      <dc:creator>Imrankhan</dc:creator>
      <pubDate>Thu, 24 Sep 2026 02:19:07 +0000</pubDate>
      <link>https://dev.to/walgo/walrus-sessions-8-building-chatbots-that-actually-remember-you-2500-in-prizes-ends-oct-9-3i16</link>
      <guid>https://dev.to/walgo/walrus-sessions-8-building-chatbots-that-actually-remember-you-2500-in-prizes-ends-oct-9-3i16</guid>
      <description>&lt;p&gt;Most chatbots forget everything the second a conversation ends. Ask it &lt;br&gt;
something on Monday, come back Tuesday, and you're a stranger again.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Walrus Sessions 8: "Chatbots That Remember"&lt;/strong&gt; is a live hackathon &lt;br&gt;
session tackling exactly that — building (or retrofitting) a chatbot &lt;br&gt;
that uses &lt;strong&gt;Walrus Memory&lt;/strong&gt; to persist context across sessions, users, &lt;br&gt;
and devices.&lt;/p&gt;

&lt;h2&gt;
  
  
  The challenge
&lt;/h2&gt;

&lt;p&gt;Build or retrofit a chatbot that:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Stores and recalls context with Walrus Memory (on mainnet)&lt;/li&gt;
&lt;li&gt;Gets deployed somewhere real and used for a few days&lt;/li&gt;
&lt;li&gt;Gets written up — what it does, how memory was integrated, before/after, 
real evidence it works&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Any use case counts: customer support, onboarding, tutoring, sales, &lt;br&gt;
community bots, even game NPCs.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why I got interested
&lt;/h2&gt;

&lt;p&gt;I spent a few days going deep on the underlying open-source SDK &lt;br&gt;
(MemWal) — not just building with it, but actually reading through the &lt;br&gt;
codebase: the auth layer, the on-chain contract, the sample apps. It's &lt;br&gt;
a genuinely well-built system (constant-time auth checks, on-chain &lt;br&gt;
delegate-key verification, careful quarantine/replay protection), and &lt;br&gt;
digging into &lt;em&gt;how&lt;/em&gt; persistent memory is implemented securely taught me &lt;br&gt;
more than most tutorials do. Ended up finding and reporting a couple of &lt;br&gt;
real bugs along the way, which the maintainers fixed fast.&lt;/p&gt;

&lt;h2&gt;
  
  
  The details
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Dates:&lt;/strong&gt; Sept 18 – Oct 9, 2026&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Prizes:&lt;/strong&gt; $2,500 in WAL total

&lt;ul&gt;
&lt;li&gt;Best Chatbot: $500 / $250 / $150&lt;/li&gt;
&lt;li&gt;Beyond the Big Two (non-Claude/GPT): 2 × $150&lt;/li&gt;
&lt;li&gt;Best Article: 3 × $100&lt;/li&gt;
&lt;li&gt;Bug Bounty (no chatbot required, just a reproducible bug on GitHub): 
5 × $100&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Repo:&lt;/strong&gt; &lt;a href="https://github.com/MystenLabs/MemWal" rel="noopener noreferrer"&gt;https://github.com/MystenLabs/MemWal&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Full rules &amp;amp; submission:&lt;/strong&gt; [&lt;a href="https://walform.wal.app/f?formId=0x09b022796f9cb7ce24247e3097c5c8ae2b414317c90c8aeb6ce335e7caf31ff5" rel="noopener noreferrer"&gt;https://walform.wal.app/f?formId=0x09b022796f9cb7ce24247e3097c5c8ae2b414317c90c8aeb6ce335e7caf31ff5&lt;/a&gt;]&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you've ever wanted an excuse to actually understand how persistent, &lt;br&gt;
encrypted agent memory works under the hood instead of just calling an &lt;br&gt;
API — this is a good one to dig into, whether you build the full &lt;br&gt;
chatbot or just go bug-hunting in the SDK.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>security</category>
      <category>opensource</category>
      <category>webdev</category>
    </item>
    <item>
      <title>What I learned auditing an open-source AI-memory SDK (and the bug I found in it)</title>
      <dc:creator>Imrankhan</dc:creator>
      <pubDate>Thu, 24 Sep 2026 02:05:46 +0000</pubDate>
      <link>https://dev.to/walgo/what-i-learned-auditing-an-open-source-ai-memory-sdk-and-the-bug-i-found-in-it-13hc</link>
      <guid>https://dev.to/walgo/what-i-learned-auditing-an-open-source-ai-memory-sdk-and-the-bug-i-found-in-it-13hc</guid>
      <description>&lt;p&gt;Most chatbots forget everything the moment a conversation ends. I spent &lt;br&gt;
a few days digging into an open-source project (MemWal / Walrus Memory) &lt;br&gt;
that tries to fix that — persistent, cross-session memory for AI agents &lt;br&gt;
— and ended up doing a full security review of the codebase along the &lt;br&gt;
way. Here's what actually stood out.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;## The interesting part wasn't the AI&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Everyone talks about embeddings and semantic recall when they talk about &lt;br&gt;
"AI memory." The part that actually breaks in production is much more &lt;br&gt;
boring: &lt;strong&gt;ownership checks&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Any system where User A's data must never leak into User B's session &lt;br&gt;
lives or dies on a handful of &lt;code&gt;WHERE user_id = ?&lt;/code&gt; clauses. Get one of &lt;br&gt;
them wrong, and no amount of good embedding quality saves you.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;## The bug&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;While reviewing a sample chatbot app built on this SDK, I found a vote &lt;br&gt;
endpoint with a subtle but real bug:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The "does a vote already exist?" check only looked up rows by 
&lt;code&gt;messageId&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;The actual &lt;code&gt;UPDATE&lt;/code&gt; was scoped by &lt;code&gt;messageId AND chatId&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Any user who could see a message in a public chat (message IDs are &lt;br&gt;
rendered right in the UI) could submit a vote using &lt;strong&gt;their own&lt;/strong&gt; chat &lt;br&gt;
ID but a &lt;strong&gt;stranger's&lt;/strong&gt; message ID. Since no vote existed yet for that &lt;br&gt;
message, it silently inserted a mismatched row.&lt;/p&gt;

&lt;p&gt;The nasty part: the &lt;em&gt;next&lt;/em&gt; time the actual message owner tried to vote &lt;br&gt;
on their own message, the lookup found the attacker's row (again, &lt;br&gt;
scoped only by &lt;code&gt;messageId&lt;/code&gt;), the &lt;code&gt;UPDATE&lt;/code&gt; matched zero rows because the &lt;br&gt;
&lt;code&gt;chatId&lt;/code&gt; didn't match, and the API returned &lt;code&gt;200 "Message voted"&lt;/code&gt; — &lt;br&gt;
while silently doing nothing. The real owner could never vote on that &lt;br&gt;
message again, and had no way of knowing why.&lt;/p&gt;

&lt;p&gt;Zero errors thrown. Zero logs. Just a permanently broken feature for &lt;br&gt;
one specific user, triggered by any other logged-in user.&lt;/p&gt;

&lt;p&gt;I filed it, the maintainers confirmed and shipped a fix within days: &lt;br&gt;
scope the existence check the same way as the update.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;## The bigger lesson&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The core SDK, the auth layer, the on-chain contract — all of it was &lt;br&gt;
extremely well hardened. Constant-time comparisons, quarantine states, &lt;br&gt;
counter-based replay protection, the works. The bug wasn't in any of &lt;br&gt;
that. It was in a sample app that gets far less scrutiny than the &lt;br&gt;
"real" infrastructure around it.&lt;/p&gt;

&lt;p&gt;If you're reviewing (or building) a system like this, the example apps &lt;br&gt;
and demos are usually where the actual bugs hide — not the core library &lt;br&gt;
everyone stares at.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;## A second, quieter finding&lt;br&gt;
**&lt;br&gt;
I also found a spot where one sibling app (a login flow) had an &lt;br&gt;
on-chain verification step that its near-identical twin app was &lt;br&gt;
missing entirely — same function available in the codebase, just never &lt;br&gt;
called on one specific path. Lower severity (the affected app is &lt;br&gt;
explicitly demo-only and the riskiest downstream action was already &lt;br&gt;
disabled), but the same underlying lesson: **when you fix a security &lt;br&gt;
issue in one place, check every place that duplicates that logic.&lt;/strong&gt; &lt;br&gt;
Copy-pasted auth code doesn't get security fixes for free.&lt;/p&gt;




&lt;p&gt;If you're building anything with persistent memory/state across &lt;br&gt;
sessions for an AI agent, happy to talk through what to watch for. &lt;br&gt;
This was part of a hackathon bug-bounty track, but the lessons apply &lt;br&gt;
to basically any multi-tenant app.&lt;/p&gt;

&lt;h2&gt;
  
  
  This was part of Walrus Sessions 8
&lt;/h2&gt;

&lt;p&gt;If any of this sounds interesting, Walrus Sessions 8: "Chatbots That &lt;br&gt;
Remember" is a live hackathon session running &lt;strong&gt;Sept 18 – Oct 9, 2026&lt;/strong&gt;, &lt;br&gt;
with &lt;strong&gt;$2,500 in WAL prizes&lt;/strong&gt;. The challenge: build (or retrofit) a &lt;br&gt;
chatbot that uses Walrus Memory to remember context across sessions, &lt;br&gt;
users, and devices — any use case counts (support, onboarding, tutoring, &lt;br&gt;
game NPCs, community bots).&lt;/p&gt;

&lt;p&gt;There's also a standalone &lt;strong&gt;Bug Bounty track&lt;/strong&gt; (5 × $100) if finding &lt;br&gt;
bugs like the one above is more your thing than building a full chatbot &lt;br&gt;
— no chatbot required, just a reproducible bug filed on GitHub.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Full details &amp;amp; rules: [link]&lt;/li&gt;
&lt;li&gt;MemWal repo: &lt;a href="https://github.com/MystenLabs/MemWal" rel="noopener noreferrer"&gt;https://github.com/MystenLabs/MemWal&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

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