<?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: Gayathri S</title>
    <description>The latest articles on DEV Community by Gayathri S (@gayathri_s_2e74bc6c3f0fb8).</description>
    <link>https://dev.to/gayathri_s_2e74bc6c3f0fb8</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3859553%2F9448d80b-af00-414a-868a-af142360766a.png</url>
      <title>DEV Community: Gayathri S</title>
      <link>https://dev.to/gayathri_s_2e74bc6c3f0fb8</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/gayathri_s_2e74bc6c3f0fb8"/>
    <language>en</language>
    <item>
      <title>I built a free VS Code extension that catches leaked secrets before you commit them</title>
      <dc:creator>Gayathri S</dc:creator>
      <pubDate>Fri, 03 Apr 2026 13:49:08 +0000</pubDate>
      <link>https://dev.to/gayathri_s_2e74bc6c3f0fb8/i-built-a-free-vs-code-extension-that-catches-leaked-secrets-before-you-commit-them-5a2k</link>
      <guid>https://dev.to/gayathri_s_2e74bc6c3f0fb8/i-built-a-free-vs-code-extension-that-catches-leaked-secrets-before-you-commit-them-5a2k</guid>
      <description>&lt;h2&gt;
  
  
  The problem
&lt;/h2&gt;

&lt;p&gt;Last year I nearly committed a Stripe live key to a public repo.&lt;/p&gt;

&lt;p&gt;Caught it manually at the last second. But it made me think —&lt;br&gt;
why doesn't VS Code warn me about this automatically?&lt;/p&gt;

&lt;p&gt;So I built EnvGuard.&lt;/p&gt;

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

&lt;p&gt;EnvGuard is a free VS Code extension that adds 6 things your &lt;br&gt;
.env files have always needed:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🔐 &lt;strong&gt;Secret Scanner&lt;/strong&gt; — detects 30+ patterns (AWS keys, GitHub 
tokens, Stripe keys, JWT tokens) with red underlines before you commit&lt;/li&gt;
&lt;li&gt;✅ &lt;strong&gt;Schema Validation&lt;/strong&gt; — define a .env.schema file, get instant 
errors for missing/wrong keys&lt;/li&gt;
&lt;li&gt;🔄 &lt;strong&gt;Environment Switcher&lt;/strong&gt; — save dev/staging/prod profiles, 
switch with one click&lt;/li&gt;
&lt;li&gt;🔍 &lt;strong&gt;Diff Viewer&lt;/strong&gt; — compare any two .env files side by side&lt;/li&gt;
&lt;li&gt;📋 &lt;strong&gt;Example Generator&lt;/strong&gt; — auto-generate .env.example from your real .env&lt;/li&gt;
&lt;li&gt;🖥️ &lt;strong&gt;Dashboard&lt;/strong&gt; — visual overview of all keys, security score, profiles&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How the secret scanner works
&lt;/h2&gt;

&lt;p&gt;Add this to your .env:&lt;br&gt;
JWT_SECRET=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...&lt;/p&gt;

&lt;p&gt;EnvGuard immediately shows a red wavy underline and adds to &lt;br&gt;
Problems panel: "Potential JWT Token detected — remove before committing"&lt;/p&gt;

&lt;p&gt;Works for 30+ secret types including AWS, GitHub, Stripe, Google, &lt;br&gt;
Slack, SendGrid, Firebase, and more.&lt;/p&gt;

&lt;h2&gt;
  
  
  The schema format
&lt;/h2&gt;

&lt;p&gt;Create a .env.schema file:&lt;/p&gt;

&lt;p&gt;DATABASE_URL=required|url|description:PostgreSQL connection string&lt;br&gt;
PORT=required|number|default:3000&lt;br&gt;
NODE_ENV=required|enum:development,staging,production&lt;br&gt;
API_KEY=required|string|secret:true&lt;br&gt;
DEBUG=optional|boolean|default:false&lt;/p&gt;

&lt;p&gt;EnvGuard validates your .env against this in real time.&lt;/p&gt;

&lt;h2&gt;
  
  
  Install free
&lt;/h2&gt;

&lt;p&gt;VS Code Marketplace: &lt;br&gt;
&lt;a href="https://marketplace.visualstudio.com/items?itemName=GayathriS.envguard-pro" rel="noopener noreferrer"&gt;https://marketplace.visualstudio.com/items?itemName=GayathriS.envguard-pro&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;GitHub (open source):&lt;br&gt;
&lt;a href="https://github.com/GayathriCodes2/EnvGuard.Extenstion" rel="noopener noreferrer"&gt;https://github.com/GayathriCodes2/EnvGuard.Extenstion&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Honest request
&lt;/h2&gt;

&lt;p&gt;This is my first published VS Code extension. If you try it &lt;br&gt;
and find bugs, please open an issue on GitHub — I respond fast.&lt;/p&gt;

&lt;p&gt;If it's useful, a ⭐ on GitHub genuinely helps.&lt;/p&gt;

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