<?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: Harish b</title>
    <description>The latest articles on DEV Community by Harish b (@harishb2006).</description>
    <link>https://dev.to/harishb2006</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%2F4162718%2F25252809-7010-4d3d-89c0-14b895b29e29.jpg</url>
      <title>DEV Community: Harish b</title>
      <link>https://dev.to/harishb2006</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/harishb2006"/>
    <language>en</language>
    <item>
      <title>Airlock , Let Cloud AI Work With Private Data Without Seeing It</title>
      <dc:creator>Harish b</dc:creator>
      <pubDate>Thu, 08 Oct 2026 10:19:50 +0000</pubDate>
      <link>https://dev.to/harishb2006/airlock-let-cloud-ai-work-with-private-data-without-seeing-it-404i</link>
      <guid>https://dev.to/harishb2006/airlock-let-cloud-ai-work-with-private-data-without-seeing-it-404i</guid>
      <description>&lt;h1&gt;
  
  
  Airlock 🔐 — Let Cloud AI Work With Private Data Without Seeing It
&lt;/h1&gt;

&lt;p&gt;We’re building &lt;strong&gt;Airlock&lt;/strong&gt; during &lt;strong&gt;MLH Hacktoberfest Hack Day — Coimbatore 2026&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;The idea is simple:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Use powerful cloud AI without sending your private data to the cloud.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  The problem
&lt;/h2&gt;

&lt;p&gt;People paste sensitive information into AI tools every day:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Customer names and emails&lt;/li&gt;
&lt;li&gt;Phone numbers&lt;/li&gt;
&lt;li&gt;API keys and passwords&lt;/li&gt;
&lt;li&gt;Financial information&lt;/li&gt;
&lt;li&gt;Internal project names&lt;/li&gt;
&lt;li&gt;Medical information&lt;/li&gt;
&lt;li&gt;Internal URLs and IP addresses&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Traditional regex-based scanners can catch things like emails and API keys.&lt;/p&gt;

&lt;p&gt;But they struggle with context.&lt;/p&gt;

&lt;p&gt;For example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;The Henderson account is about to churn.
Their CFO Priya says the ₹40L renewal is off
unless Project Falcon ships.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;There may be no obvious secret or regex pattern here, but this still contains highly sensitive information.&lt;/p&gt;

&lt;p&gt;Using another cloud AI to detect that information would defeat the purpose — &lt;strong&gt;the private data would already have left the machine.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Our solution: Airlock
&lt;/h2&gt;

&lt;p&gt;Airlock is a &lt;strong&gt;local privacy gateway between your private data and cloud AI.&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Private Prompt
      ↓
   AIRLOCK
      ↓
 Rules + Local Gemma 4
      ↓
 Risk Detection
      ↓
 Pseudonymization
      ↓
 Sanitized Prompt
      ↓
   Cloud AI
      ↓
 Answer with placeholders
      ↓
 Local Rehydration
      ↓
 Real Answer
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The important part is that &lt;strong&gt;Gemma runs locally&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;It sees the original private text and identifies sensitive information. The cloud model only receives the sanitized version.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why use both rules and Gemma?
&lt;/h2&gt;

&lt;p&gt;We use a two-tier approach.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Tier 1 — Deterministic rules&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Handles things that can be detected reliably:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;API keys
Emails
Credit cards
JWTs
Phone numbers
IP addresses
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Tier 2 — Local Gemma 4&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Handles information where context matters:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;PERSON
ORG
PROJECT
FINANCIAL
MEDICAL
INTERNAL_URL
...
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This gives us a combination of predictable rules and contextual detection.&lt;/p&gt;

&lt;h2&gt;
  
  
  Context-preserving placeholders
&lt;/h2&gt;

&lt;p&gt;We don't simply replace everything with &lt;code&gt;[REDACTED]&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Instead:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Priya's email is priya@example.com
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;becomes:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[PERSON_1]'s email is [EMAIL_1]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This allows the cloud model to understand what kind of information it's dealing with while never receiving the original values.&lt;/p&gt;

&lt;p&gt;When the cloud responds, Airlock locally restores safe placeholders:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[PERSON_1] → Priya
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Secrets such as API keys, passwords, JWTs and card numbers are &lt;strong&gt;never rehydrated&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  The interesting part
&lt;/h2&gt;

&lt;p&gt;Our demo has a simple experiment.&lt;/p&gt;

&lt;p&gt;First, we turn &lt;strong&gt;Wi-Fi off&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;We paste a sensitive prompt and scan it.&lt;/p&gt;

&lt;p&gt;Gemma still detects contextual information because it is running locally.&lt;/p&gt;

&lt;p&gt;Then we turn Wi-Fi back on and send the sanitized prompt to the cloud.&lt;/p&gt;

&lt;p&gt;The UI shows:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;What you wrote:
Priya is working on Project Falcon.

What the cloud saw:
[PERSON_1] is working on [PROJECT_1].
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The cloud gets the useful context.&lt;/p&gt;

&lt;p&gt;It doesn't get the original identity.&lt;/p&gt;

&lt;h2&gt;
  
  
  Tech Stack
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Gemma 4 E2B IT&lt;/strong&gt; — local contextual detection&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Foundry Local SDK + ONNX/WebGPU&lt;/strong&gt; — local model execution&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;FastAPI&lt;/strong&gt; — backend&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Next.js&lt;/strong&gt; — frontend&lt;/li&gt;
&lt;li&gt;Deterministic rules + risk scoring&lt;/li&gt;
&lt;li&gt;Cloud AI API — actual AI task&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We're deliberately keeping our claims realistic.&lt;/p&gt;

&lt;p&gt;Airlock isn't perfect detection or guaranteed anonymity. It's a &lt;strong&gt;local privacy-assistance layer designed to reduce sensitive-data exposure when using cloud AI.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What's next?
&lt;/h2&gt;

&lt;p&gt;After the MVP, we'd like to explore:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Browser extension&lt;/li&gt;
&lt;li&gt;Screenshot scanning&lt;/li&gt;
&lt;li&gt;Better evaluation&lt;/li&gt;
&lt;li&gt;Organisation-level policies&lt;/li&gt;
&lt;li&gt;Additional local models&lt;/li&gt;
&lt;li&gt;Audit and monitoring features&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We're building Airlock as an open-source project for &lt;strong&gt;MLH Hacktoberfest Hack Day — Coimbatore 2026&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GitHub:&lt;/strong&gt; &lt;a href="https://github.com/vishalm342/Supes_MLH_Hack" rel="noopener noreferrer"&gt;https://github.com/vishalm342/Supes_MLH_Hack&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Demo vedio:&lt;/strong&gt; &lt;a href="https://drive.google.com/file/d/1CzCj1M9mn1w5L0F8qau-raYzPtm6vTbs/view?usp=sharing" rel="noopener noreferrer"&gt;https://drive.google.com/file/d/1CzCj1M9mn1w5L0F8qau-raYzPtm6vTbs/view?usp=sharing&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Gemma decides what's private on your machine. The cloud only ever sees placeholders.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That's Airlock. 🔐&lt;/p&gt;

&lt;p&gt;&lt;a class="mentioned-user" href="https://dev.to/rahulrr"&gt;@rahulrr&lt;/a&gt; &lt;/p&gt;

</description>
      <category>hacktoberfest</category>
      <category>mlh</category>
      <category>ai</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
