<?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: Erkan Ciftci</title>
    <description>The latest articles on DEV Community by Erkan Ciftci (@fxerkan).</description>
    <link>https://dev.to/fxerkan</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%2F4130825%2F1e9474e6-f239-4b7b-83a1-d84087409162.jpg</url>
      <title>DEV Community: Erkan Ciftci</title>
      <link>https://dev.to/fxerkan</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/fxerkan"/>
    <language>en</language>
    <item>
      <title>You Just Shared Your API Key With an AI. You Didn’t Even Notice.</title>
      <dc:creator>Erkan Ciftci</dc:creator>
      <pubDate>Fri, 18 Sep 2026 05:37:56 +0000</pubDate>
      <link>https://dev.to/fxerkan/you-just-shared-your-api-key-with-an-ai-you-didnt-even-notice-56gp</link>
      <guid>https://dev.to/fxerkan/you-just-shared-your-api-key-with-an-ai-you-didnt-even-notice-56gp</guid>
      <description>&lt;h2&gt;
  
  
  Why the AI-coding era needs a local-only AI secret manager — and how I ended up writing one in a single Python file
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fj0lqyjb3e2gc71tehbha.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fj0lqyjb3e2gc71tehbha.png" alt="concealer — your secrets stay encrypted on your machine; your assistant only ever sees the masked version" width="800" height="420"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;TL;DR&lt;/strong&gt; — Coding assistants read your repository to help you. The moment an API key lands in a &lt;code&gt;.env&lt;/code&gt; file, it can end up in a chat transcript, a log, or a bug report. &lt;code&gt;concealer&lt;/code&gt; is a local-only, open-source AI Secret Manager that keeps secrets encrypted and on your machine — while still letting your agents &lt;em&gt;use&lt;/em&gt; those secrets without ever &lt;em&gt;seeing&lt;/em&gt; them.&lt;/p&gt;

&lt;p&gt;🔗 &lt;strong&gt;&lt;a href="https://github.com/fxerkan/concealer" rel="noopener noreferrer"&gt;github.com/fxerkan/concealer&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  The problem nobody warned us about
&lt;/h2&gt;

&lt;p&gt;For a decade, the &lt;code&gt;.env&lt;/code&gt; file was a reasonable compromise. Plaintext, sure — but it sat on your machine, git ignored it, and you were the only one reading it.&lt;/p&gt;

&lt;p&gt;Then our editors grew a brain.&lt;/p&gt;

&lt;p&gt;An AI coding assistant has to read your files to be useful; that's the whole job. It scans the repo, suggests fixes, runs commands, pipes the output back into a model. And somewhere in that repo sits a file that starts like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight conf"&gt;&lt;code&gt;&lt;span class="n"&gt;OPENAI_API_KEY&lt;/span&gt;=&lt;span class="n"&gt;sk&lt;/span&gt;-&lt;span class="n"&gt;live&lt;/span&gt;-...
&lt;span class="n"&gt;AWS_SECRET_ACCESS_KEY&lt;/span&gt;=&lt;span class="n"&gt;wJalr&lt;/span&gt;...
&lt;span class="n"&gt;DATABASE_URL&lt;/span&gt;=&lt;span class="n"&gt;postgres&lt;/span&gt;://&lt;span class="n"&gt;user&lt;/span&gt;:&lt;span class="n"&gt;hunter2&lt;/span&gt;@&lt;span class="n"&gt;db&lt;/span&gt;:&lt;span class="m"&gt;5432&lt;/span&gt;/&lt;span class="n"&gt;prod&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That key is now one &lt;code&gt;cat .env&lt;/code&gt; away from a context window. You can guess the rest:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;it gets &lt;strong&gt;echoed into a chat transcript&lt;/strong&gt; you later paste into an issue,&lt;/li&gt;
&lt;li&gt;it gets &lt;strong&gt;caught in a log&lt;/strong&gt; the agent streams back,&lt;/li&gt;
&lt;li&gt;it &lt;strong&gt;sits in the model's context&lt;/strong&gt; for the rest of a long session,&lt;/li&gt;
&lt;li&gt;it gets &lt;strong&gt;committed by accident&lt;/strong&gt; when the agent "helpfully" stages every file.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;All of these are real leak paths, and none of them existed when &lt;code&gt;.env&lt;/code&gt; was invented. The threat model moved. Our tooling stayed put.&lt;/p&gt;

&lt;h2&gt;
  
  
  An analogy before the tech
&lt;/h2&gt;

&lt;p&gt;If you don't write code for a living, picture this instead. You've hired a wonderfully capable house assistant. They tidy up, remind you about bills, find any document in seconds. One small detail: for years you've been writing all your passwords on a sticky note on the fridge. The assistant doesn't need to be malicious — they do their job by &lt;em&gt;reading your house&lt;/em&gt;, and that note is part of the house.&lt;/p&gt;

&lt;p&gt;What concealer does is, at its core, exactly this simple: it takes the note off the fridge and puts it in a locked drawer. The assistant can still ask what's in the drawer — "is the electricity account on file?" — and hears "yes, it's on file." They can say "pay this bill" and the bill gets paid, but the card number never leaves the drawer. And every time anyone opens the drawer, it goes into a ledger.&lt;/p&gt;

&lt;p&gt;The rest of this post is the technical version of that drawer. Even if you never touch a terminal, the idea carries: &lt;strong&gt;let the assistant do the work, without ever showing it the secrets.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Why the obvious answers don't fit
&lt;/h2&gt;

&lt;p&gt;The reflex answer is "just use a secret manager." Look at what that actually means in practice:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Cloud vaults&lt;/strong&gt; (Vault, Doppler, cloud KMS): an account, a network round-trip, a service that has to stay up. Heavy for a solo dev or a laptop project — and now your secrets live on someone else's server.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Password managers&lt;/strong&gt; (1Password and friends): great for humans, clumsy for scripts and agents. And tied to an account.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;OS keychains&lt;/strong&gt;: tied to the machine. Wipe your laptop or switch to a new one, and your vault doesn't come along.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;.env&lt;/code&gt; files&lt;/strong&gt;: plaintext. The exact thing we're trying to get away from.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;What I wanted was narrower, and I think more honest about how we actually code now:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Local-only. No cloud, no account, no telemetry. Portable — copy the files, type one password, decrypt anywhere. And designed with agents in mind, so an assistant can use a secret without the value ever entering its context.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Nothing on the shelf did all four. So I sat down and wrote it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Meet concealer
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;concealer&lt;/code&gt; is a &lt;strong&gt;single Python 3 script&lt;/strong&gt; (standard library only, no pip dependencies) wrapping two battle-tested tools:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://github.com/getsops/sops" rel="noopener noreferrer"&gt;SOPS&lt;/a&gt;&lt;/strong&gt; — born at Mozilla; encrypts a YAML/JSON file without wrecking its structure.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://github.com/FiloSottile/age" rel="noopener noreferrer"&gt;age&lt;/a&gt;&lt;/strong&gt; — Filippo Valsorda's modern, unflashy, correct encryption.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;On that foundation it adds what you'd actually want from a secret &lt;em&gt;manager&lt;/em&gt;: typed secrets, scoping by project and environment, a web console, a tamper-evident audit log, and — the part I care about most — &lt;strong&gt;an MCP server so AI agents can use secrets safely&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;All the encryption is deliberately left to SOPS and age; concealer doesn't invent its own cipher. The only crypto it does itself is verifying your password with the standard library's &lt;code&gt;scrypt&lt;/code&gt; and chaining the audit log with HMAC. Boring, I know. In security, boring is a compliment.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fkd0shr7v8bh8qfwkap6p.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fkd0shr7v8bh8qfwkap6p.png" alt="concealer — five ways into one encrypted vault" width="800" height="529"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;The whole system on one page: five interfaces funnel into a single-file core that shells out to SOPS + age. Neither the encrypted vault nor the keys ever leave your machine.&lt;/em&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  The feature I actually built this for: agents that never see the secret
&lt;/h2&gt;

&lt;p&gt;This is the part that separates concealer from just another vault — the part that makes it an &lt;em&gt;AI-era&lt;/em&gt; tool.&lt;/p&gt;

&lt;p&gt;concealer ships with an &lt;strong&gt;MCP server&lt;/strong&gt; (Model Context Protocol — the standard way agents talk to tools). An agent can do two things:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;List secret names.&lt;/strong&gt; "What database credentials exist for this project?" It gets back &lt;em&gt;names only&lt;/em&gt;. Never values.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Run a command with a secret injected.&lt;/strong&gt; The value is decrypted, handed to a &lt;strong&gt;child process's environment&lt;/strong&gt;, the command runs — and the secret values are &lt;strong&gt;redacted from the output&lt;/strong&gt; before the agent gets to read a single line.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The plaintext never enters the agent's context. Not on the way in, not on the way out.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F8rxv0z9w9ct5ykyl6onp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F8rxv0z9w9ct5ykyl6onp.png" alt="How an agent uses a secret without ever seeing it" width="800" height="465"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;The agent asks for names, then asks concealer to run a command with a named secret. The value lives only inside the child process; the output comes back redacted; the whole exchange lands in the audit log — names and actions only, never values.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;And since "an agent that can read secrets" is a risk all by itself, concealer stays on the cautious side and guards against bulk theft too:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Registration is mandatory.&lt;/strong&gt; Only a &lt;em&gt;registered agent token&lt;/em&gt; can call the MCP tools. A human/CLI token, or no token at all, gets access denied.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Least privilege, by contract.&lt;/strong&gt; The agent has to name the exact secrets a command needs, one by one — there is no "give me everything."&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Rate limits against exfiltration.&lt;/strong&gt; Two per-agent caps: how many rows a single call may return, and how many distinct secret names an agent may reveal within a rolling time window. Names it has already seen re-list freely; new ones count against the quota. Bulk enumeration gets throttled and logged.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Think of a valet key: the valet can park your car but can't open the trunk. The agent never holds the key — concealer turns the lock, and the agent only sees the result.&lt;/p&gt;

&lt;p&gt;Here it is live — Claude Code using a Home Assistant token through concealer MCP; the value never enters the agent's context:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/R5zNqqA4g66yUawcah/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img width="480" src="https://i.giphy.com/media/R5zNqqA4g66yUawcah/giphy.gif" height="346"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Claude Code injecting a Home Assistant token via concealer MCP — the value never appears - demo-ha-token&lt;/em&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  Five ways in, one encrypted vault
&lt;/h2&gt;

&lt;p&gt;Same vault, whichever way you like to work.&lt;/p&gt;
&lt;h3&gt;
  
  
  CLI — everything from the terminal
&lt;/h3&gt;

&lt;p&gt;Set, read, run-with, and deploy secrets from the terminal, scoped by tenant / project / environment / repo. &lt;code&gt;cer run&lt;/code&gt; injects values into a child process and scrubs them from its output — the value never touches your terminal.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;cer &lt;span class="nb"&gt;set&lt;/span&gt; &lt;span class="nt"&gt;--name&lt;/span&gt; OPENAI_API_KEY &lt;span class="nt"&gt;--project&lt;/span&gt; web &lt;span class="nt"&gt;--env&lt;/span&gt; prod &lt;span class="s1"&gt;'sk-DUMMY-123'&lt;/span&gt;
cer run &lt;span class="nt"&gt;--project&lt;/span&gt; web &lt;span class="nt"&gt;--env&lt;/span&gt; prod npm run deploy
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ff8kej03zb0ilyu2k5d3y.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ff8kej03zb0ilyu2k5d3y.png" alt="concealer CLI — set, get, run and list secrets" width="800" height="480"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Web UI — a local console
&lt;/h3&gt;

&lt;p&gt;Run &lt;code&gt;concealer web&lt;/code&gt; and open &lt;code&gt;http://127.0.0.1:8787&lt;/code&gt;. Forms that adapt to the secret type, searchable filters, per-secret deploy templates, clipboard copy that clears itself, dark / light / matrix themes, full TR/EN localization. localhost only — this is &lt;em&gt;your&lt;/em&gt; console, unlocked with your master password.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fudm1nsj1ejhsn6k9ou07.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fudm1nsj1ejhsn6k9ou07.png" alt="concealer Web UI — searchable, scoped secrets" width="800" height="533"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;The main vault view: secrets filtered by project and environment, values masked until you reveal them.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Secrets are &lt;strong&gt;typed&lt;/strong&gt;, not just key/value blobs: database credentials, cloud keys, web logins, custom multi-field records — each with the right fields and the right masking.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fywg20ycdymmejqhni9ov.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fywg20ycdymmejqhni9ov.png" alt="Typed secrets — the right fields for each kind" width="800" height="888"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;A database record with structured fields. Masking is record-aware: a value that looks like &lt;code&gt;user:pass@host&lt;/code&gt; gets masked even in a "plain" field.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;A secret manager should also help you find your risk. That's what the &lt;strong&gt;risk dashboard&lt;/strong&gt; in the Web UI is for: values reused across secrets, overly broad scopes, even a scan of your shell history for keys you forgot there.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F7oe8erl1iacjvvq7i5hk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F7oe8erl1iacjvvq7i5hk.png" alt="Risk dashboard — reuse, exposure, and shell-history scanning" width="800" height="443"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And every action shows up in a &lt;strong&gt;tamper-evident audit viewer&lt;/strong&gt;:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F5q3g0u86ap4ba3pyb7lv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F5q3g0u86ap4ba3pyb7lv.png" alt="Audit log — every read, write, copy and inject, HMAC-chained" width="799" height="515"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Each line is appended to an HMAC-SHA256-chained log with a monotonic sequence number and a tail anchor — deletions and reordering stand out. Names and actions only, never values.&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  TUI — without leaving the terminal
&lt;/h3&gt;

&lt;p&gt;If you'd rather stay in the terminal, &lt;code&gt;concealer tui&lt;/code&gt; opens a full-screen browser: arrow keys, instant filtering, type-aware editing, add / delete / reveal — no browser tab in sight.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F09wx9gnfjgsr0yxefefp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F09wx9gnfjgsr0yxefefp.png" alt="concealer TUI — terminal secret browser" width="799" height="518"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  MCP — for AI agents
&lt;/h3&gt;

&lt;p&gt;Covered above: register an agent, hand it a revocable token, and it can use secrets it never sees. &lt;code&gt;concealer agent register &amp;lt;name&amp;gt;&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/yxzZ43zFeWBw4OEc1n/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img width="480" src="https://i.giphy.com/media/yxzZ43zFeWBw4OEc1n/giphy.gif" height="352"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;An agent listing concealer secrets over MCP — names only, never values - (mcp-secret-list)&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Chrome Extension — copy from your toolbar
&lt;/h3&gt;

&lt;p&gt;Sometimes you just need to paste a value into a web form. The Chrome extension opens your vault and copies values straight from the toolbar. Multi-field records expand for per-field copy and reveal; the popup locks itself when idle.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3qwp6uh3r0cdab23ocx1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3qwp6uh3r0cdab23ocx1.png" alt="concealer Chrome extension — copy secrets from the toolbar" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The security model, briefly
&lt;/h2&gt;

&lt;p&gt;Without overselling it — concealer's security comes down to a few deliberate choices:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The key is encrypted at rest.&lt;/strong&gt; On a hardened vault, the age private key is never written to disk in plaintext. It sits master-password-encrypted (&lt;code&gt;age-key.txt.age&lt;/code&gt;), gets decrypted in memory, and is handed to SOPS through an environment variable — not a temp file.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Unlock tokens live client-side only.&lt;/strong&gt; The token value exists only in your environment (&lt;code&gt;CONCEALER_TOKEN&lt;/code&gt;); disk holds just its scrypt hash and a token-wrapped copy of the key. Tokens can be revoked and can expire. Humans get a short-lived one via &lt;code&gt;unlock&lt;/code&gt;; agents get a long-lived but revocable one via &lt;code&gt;agent register&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Recovery codes as a second factor.&lt;/strong&gt; &lt;code&gt;init&lt;/code&gt; prints eight one-time codes, shown once. Rotating the master password &lt;em&gt;requires&lt;/em&gt; one of them — so a stolen password alone can't take over the vault.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tamper-evident audit.&lt;/strong&gt; The HMAC-chained log plus a tail anchor makes truncation and reordering detectable. (The honest ceiling: an attacker with both filesystem root &lt;em&gt;and&lt;/em&gt; the audit key can rewrite the chain — the docs say so, in plain words.)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;No security model is magic. But everything here is written down, readable, and the actual cryptography is left to tools that have earned their trust.&lt;/p&gt;

&lt;h2&gt;
  
  
  Portable by design
&lt;/h2&gt;

&lt;p&gt;Your vault is just a handful of files. Copy &lt;code&gt;keys/&lt;/code&gt; and &lt;code&gt;secrets.enc.yaml&lt;/code&gt; to a new machine, type your master password, carry on. No Keychain migration, no TPM binding, no "recover your account" flow. That portability is a choice, not an accident: your secrets belong to you, on hardware you control.&lt;/p&gt;

&lt;h2&gt;
  
  
  Open source — and you can check it does nothing sneaky
&lt;/h2&gt;

&lt;p&gt;concealer is one readable Python script, MIT-licensed. No black box, no account, no telemetry. Run it behind a firewall and confirm for yourself that it never phones home — because it doesn't. That's the whole point of a &lt;em&gt;local-only&lt;/em&gt; tool: you don't have to trust me. Read the code, watch the network.&lt;/p&gt;

&lt;h2&gt;
  
  
  Get started in a minute
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# install (pulls in sops, age and expect)&lt;/span&gt;
brew &lt;span class="nb"&gt;install &lt;/span&gt;fxerkan/tap/concealer     &lt;span class="c"&gt;# macOS / Linux&lt;/span&gt;
&lt;span class="c"&gt;# or: pipx install concealer  ·  scoop install concealer (Windows)&lt;/span&gt;

&lt;span class="c"&gt;# create the vault — prints recovery codes + a CLI token, once&lt;/span&gt;
concealer init

&lt;span class="c"&gt;# unlock your shell session (~8h token)&lt;/span&gt;
&lt;span class="nb"&gt;eval&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="si"&gt;$(&lt;/span&gt;cer unlock&lt;span class="si"&gt;)&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt;

&lt;span class="c"&gt;# store &amp;amp; use a secret — the value never touches your terminal&lt;/span&gt;
cer &lt;span class="nb"&gt;set&lt;/span&gt; &lt;span class="nt"&gt;--name&lt;/span&gt; OPENAI_API_KEY &lt;span class="nt"&gt;--project&lt;/span&gt; web &lt;span class="nt"&gt;--env&lt;/span&gt; prod &lt;span class="s1"&gt;'sk-DUMMY-123'&lt;/span&gt;
cer run &lt;span class="nt"&gt;--project&lt;/span&gt; web &lt;span class="nt"&gt;--env&lt;/span&gt; prod npm run deploy
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That's it. Encrypted, organized, portable — and safe to hand to an agent.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why this matters now
&lt;/h2&gt;

&lt;p&gt;We opened our codebases to models because they genuinely make us faster. I still think that was the right call. But "the assistant can read everything" and "my secrets sit in plaintext right next to my code" are two sentences that should never have been allowed to be true at the same time.&lt;/p&gt;

&lt;p&gt;concealer is my attempt at making them coexist safely: &lt;strong&gt;keep the secrets encrypted, keep them local, keep them out of every transcript — and still let the agent do its job.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Stop pasting keys into chat windows. concealer will take it from there.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Links&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;⭐ GitHub: &lt;a href="https://github.com/fxerkan/concealer" rel="noopener noreferrer"&gt;github.com/fxerkan/concealer&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;📖 Docs: &lt;a href="https://concealer.fxerkan.com/" rel="noopener noreferrer"&gt;concealer.fxerkan.com&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;🧩 Chrome Web Store: &lt;a href="https://chromewebstore.google.com/detail/concealer/hecffnhjbhldmdpcnpkpcffmodnemdcj" rel="noopener noreferrer"&gt;concealer extension&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;📦 Install: &lt;code&gt;brew install fxerkan/tap/concealer&lt;/code&gt; · &lt;code&gt;pipx install concealer&lt;/code&gt; · &lt;code&gt;scoop install concealer&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;If this post was useful, a ⭐ on GitHub genuinely helps others find the project — the name collides with a makeup product, so discovery is half the battle. Questions or feedback: &lt;code&gt;concealer@fxerkan.com&lt;/code&gt;.&lt;/em&gt;&lt;/p&gt;

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