<?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: psyseal</title>
    <description>The latest articles on DEV Community by psyseal (@psyseal).</description>
    <link>https://dev.to/psyseal</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%2F4263562%2F5cfbdc5e-f71c-444c-97b7-0fb4a34f0f83.png</url>
      <title>DEV Community: psyseal</title>
      <link>https://dev.to/psyseal</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/psyseal"/>
    <language>en</language>
    <item>
      <title>What your AI agent loads, costs and exposes: a free offline check</title>
      <dc:creator>psyseal</dc:creator>
      <pubDate>Wed, 25 Nov 2026 00:13:19 +0000</pubDate>
      <link>https://dev.to/psyseal/what-your-ai-agent-loads-costs-and-exposes-a-free-offline-check-2hpa</link>
      <guid>https://dev.to/psyseal/what-your-ai-agent-loads-costs-and-exposes-a-free-offline-check-2hpa</guid>
      <description>&lt;p&gt;Personal AI agents like OpenClaw, Hermes Agent or nanobot keep their memory, skills and config as plain files on your disk. That is great for control, and it is also where three quiet problems pile up:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Keys in plain text.&lt;/strong&gt; An API key pasted into a chat ends up in a memory note or a skill, and the agent reads that file again and again.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Planted memory.&lt;/strong&gt; A web page, an email or another tool slips a line like "ignore your previous rules" into memory, and the agent keeps obeying it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Heartbeats that bill like a chat.&lt;/strong&gt; A heartbeat every 15 minutes is 96 runs a day. If each run resends your whole main session, the bill grows even when nobody talks to the agent.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;We built &lt;strong&gt;psyseal-scan&lt;/strong&gt; to check those three things in one command, without uploading anything:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx psyseal-scan --lang en
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It is free (MIT-0), has no dependencies and needs Node.js 20 or newer. It reads files only: no network, no writes, no other programs, no symlinks. Secrets are reported as type, file and line, never the value, and memory text is never quoted.&lt;/p&gt;

&lt;h2&gt;
  
  
  A demo run
&lt;/h2&gt;

&lt;p&gt;To show the output without exposing anyone's setup, we made a demo OpenClaw folder: two fake keys (one in a daily memory note, one inside a skill), one planted line in MEMORY.md, an AGENTS.md that is too long, and a heartbeat every 15 minutes on Claude Sonnet 4.5. Part of what the scanner printed ([…] marks lines we cut):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;1) What your agent loads on every message
  File       Characters  ≈Tokens     Cap  Status
  AGENTS.md      31,655    5,000  20,000  TRUNCATED (11,655 lost)
  MEMORY.md         819      205  20,000  ok

2) Heartbeat
  Runs every 15 min (96 times a day) with anthropic/claude-sonnet-4-5 · cache: short (default)
    Your main session   Today / month       A) isolate   B) long cache
    50,000 tokens               ≈$544   ≈$25.92–$58.32          $47.52
  […]

3) Findings
  [HIGH] 2 plaintext credential(s) in memory/2026-11-01.md, skills/notes/SKILL.md: memory/2026-11-01.md:2 (OpenAI), skills/notes/SKILL.md:5 (GitHub)
  […]
  [MEDIUM] Text that tries to rewrite the agent rules in MEMORY.md:4
  [MEDIUM] AGENTS.md is 31,655 characters and the cap is 20,000: the agent only gets the first 20,000; 11,655 are lost
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Every finding comes with a concrete fix. For the heartbeat, the scanner suggests isolating it or using a 1-hour cache, and says what each change does to the agent's behavior. The figures are estimates, with the assumptions printed under the report; compare them with your provider's usage dashboard.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it does not do
&lt;/h2&gt;

&lt;p&gt;It does not fix anything on its own, rotate keys or edit memory: it points to the file and line, and you decide. Secret detection works by patterns, so it can miss a format it does not know, and it can also flag test keys.&lt;/p&gt;

&lt;h2&gt;
  
  
  Use it inside your agent
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;As a skill: &lt;code&gt;npx skills add psyseal/psyseal-scan&lt;/code&gt; (Claude Code, Cursor, Codex, Gemini CLI and more), or &lt;code&gt;openclaw skills install @psyseal/psyseal-scan&lt;/code&gt; from ClawHub.&lt;/li&gt;
&lt;li&gt;As an MCP server with one read-only tool, &lt;code&gt;scan_agents&lt;/code&gt;: &lt;code&gt;npx -y psyseal-scan mcp&lt;/code&gt;. It is in the official MCP Registry as &lt;code&gt;io.github.psyseal/psyseal-scan&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;As a Claude Code plugin (the skill): &lt;code&gt;/plugin install psyseal-scan --marketplace psyseal/psyseal-scan&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Source: &lt;a href="https://github.com/psyseal/psyseal-scan" rel="noopener noreferrer"&gt;https://github.com/psyseal/psyseal-scan&lt;/a&gt; · Docs: &lt;a href="https://psyseal.com/docs" rel="noopener noreferrer"&gt;https://psyseal.com/docs&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Disclosure: we make Psyseal. The scanner is free and complete on its own. Psyseal also sells a cleanup that fixes the findings (with a backup and your OK on each change) and a signed seal; you do not need either to use the scanner.&lt;/em&gt;&lt;/p&gt;

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