<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by ZKCrypt AI on Medium]]></title>
        <description><![CDATA[Stories by ZKCrypt AI on Medium]]></description>
        <link>https://medium.com/@ZKCryptAI?source=rss-fcd24f9a562c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*hmsjqtMBVME3gFzdXmuYow.jpeg</url>
            <title>Stories by ZKCrypt AI on Medium</title>
            <link>https://medium.com/@ZKCryptAI?source=rss-fcd24f9a562c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 15:15:56 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ZKCryptAI/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[LLM Firewall — Use case 1 Protecting Personal Information]]></title>
            <link>https://medium.com/@ZKCryptAI/llm-firewall-use-case-1-protecting-personal-information-47dfe511bc4b?source=rss-fcd24f9a562c------2</link>
            <guid isPermaLink="false">https://medium.com/p/47dfe511bc4b</guid>
            <dc:creator><![CDATA[ZKCrypt AI]]></dc:creator>
            <pubDate>Fri, 22 Nov 2024 17:16:39 GMT</pubDate>
            <atom:updated>2024-11-22T17:16:39.175Z</atom:updated>
            <content:encoded><![CDATA[<h3>LLM Firewall — Use case 1 Protecting Personal Information</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TyaCVxyV4fnPHRMw1StxPw.jpeg" /></figure><p><strong>Introduction</strong></p><p>Cloud based Large Language Models (<strong>LLM</strong>) such as ChatGPT remain the talking point in AI applications due to the extensive services they provide. The potential of AI chatbots continue to grow whereas the user privacy and data security continues to be at risk.</p><p><strong>How LLMs process text?</strong></p><p>To understand how LLMs like ChatGPT process user inputs, let’s break it down into technical steps with an example.</p><p><strong>Input Query </strong>:</p><blockquote>“Hello, I live in San Jose”</blockquote><ol><li><strong>Tokenization</strong>: Words or sometimes characters in the input text are broken down into small units called tokens.</li></ol><pre>[&quot;Hello&quot;, &quot;I&quot;, &quot;live&quot;, &quot;in&quot;, &quot;San Jose&quot;]</pre><p>2. <strong>Embeddings</strong>: The broken-down tokens (words) are then converted into high-dimensional vector forms called embeddings. These embeddings are the numerical representation of the tokens and capture the context or semantic meaning.</p><pre>&quot;Hello&quot; -&gt; [0.12, -0.53, 0.84, …]<br>&quot;San Jose&quot; -&gt; [0.91, 0.17, -0.34, …]</pre><p>The embeddings help the model to understand the context and relationships between words.</p><p><strong>3.</strong> <strong>Transformers: </strong>All<strong> </strong>modern day LLMs such as ChatGPT uses a transformer model, which means, multiple layers of feed forward neural networks. The embeddings are passed through each layer, and are refined. After processing through these layers, the model generates a contextualized representation for each token. This representation captures both the token’s meaning and its relationship to other tokens in the input text.</p><p><strong>Why Are Embeddings a Security Concern?</strong></p><p>The embeddings, which are stored for training and operational purposes, are highly informative. They contain abstract representations of the input text. If these embeddings are accessed or leaked, sensitive data can potentially be reverse-engineered.</p><ul><li>Names, locations, or medical details encoded in embeddings can be unintentionally revealed during a future AI query.</li><li>Stored embeddings may inadvertently associate unrelated inputs, leading to unintended leakage across users or sessions</li></ul><p>There are various reports in the last one year describing data attacks and unintended data reveals. ChatGPT was stopped for a while due to a major financial data leak. Samsung, JP morgan and various companies suffered confidential information leaks.</p><p><strong>How to stop this?</strong></p><p>As you may already know, most corporate corporate companies have blocked the usage of LLMs such as ChatGPT, Gemini, etc, to avoid the risk of data leaks. These tools are not recommended in various offices and hospitals.</p><p>It is not only the major AI applications that pose a risk. A huge number of <strong>AI agents</strong> and applications have evolved using these LLMs as backends. If major LLMs are not to be trusted, how can anyone trust the third party agents and applications that have no data compliance?</p><p><strong>What is the solution?</strong></p><p>LLMs are major advancement in the current AI world. We need a strict security policy or application that enforces a strict security policy while accessing the AI applications. This where the <strong>LLM Firewall </strong>comes in<strong>.</strong></p><p><strong>LLM Firewall Architecture</strong></p><p>The <strong>LLM Firewall </strong>is a decentralized machine learning framework with Natural Language Processing (NLP) algorithms that preprocess the text before it reaches the Internet.</p><p>Lets consider a commonly used application where the user tries to improve wording with the help of ChatGPT.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/505/1*e94PAGPQffQk4XfCzB6s_A.png" /></figure><p><strong>Example Interaction</strong></p><pre>I am writing a mail to my colleague. Let me know if this is fine.<br>&quot; Dear Dr. Smith,<br> This is a letter about our mutual patient named as John. John is residing in Springfield. John is diagnosed with Type 2 Diabetes and hypertension.&quot;</pre><p>As you can see from the above figure, the content with sensitive information such as patient name, location, and diagnosed disease gets leaked on the public domain when the user tries to correct the wordings.</p><p><strong>How does this leak affect Users</strong>?</p><p>It affects in many ways. Lets take a few examples:</p><ol><li>Somewhere if another user asks to create something about john and disease, LLMs could write a sentence with <em>John</em>, and <em>Type 2 Diabetes</em></li><li>Within the same organization, information related to John could unintentionally be leaked to a different user.</li><li>Databases storing embeddings could include John and the diseases. This puts them at risk in case of a data attack.</li></ol><p><strong>LLM Firewall — Use Case 1</strong></p><p>LLM Firewall has an advanced inbuilt Named Entity Recognition (NER) model that preprocesses the personal information in the user text and converts into generic information, and then sends it to LLM cloud/Internet. This is just one use case. There are many including the following:</p><ol><li><strong>Source Code Protection: </strong>Create a filter to detect proprietary source code for use in office environments. If an employee tries to paste the source code and try to troubleshoot, the firewall detects the proprietary sections and blocks it.</li></ol><p>We will discuss about other use cases in the future.</p><p><strong>LLM Firewall — Output</strong></p><p>Lets take an example with the use of <strong>LLM Firewall</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/648/1*5cqFXCRW7jVRV2Z12yAMNw.png" /></figure><pre>I am writing a mail to my colleague. Rewrite.<br>&quot; Dear Dr. Smith,<br> This is a letter about our mutual patient named as John. John is residing in Springfield. John is diagnosed with Type 2 Diabetes and hypertension.&quot; write well<br></pre><p>LLM Firewall changes the above text to:</p><p><strong>Preprocessed text:</strong></p><pre>I am writing a mail to my colleague. Rewrite.<br>Dear ZK_NAME_MEDICAL_PROFESSIONAL, <br> This is a letter about our mutual patient named as ZK_NAME_GIVEN. <br> ZK_NAME_GIVEN is residing in ZK_LOCATION_CITY. <br> ZK_NAME_GIVEN is diagnosed with ZK_CONDITION and ZK_CONDITION.&quot; </pre><p><strong><em>GPT Response:</em></strong></p><pre>Dear ZK_NAME_MEDICAL_PROFESSIONAL,<br> This letter regards our mutual patient, ZK_NAME_GIVEN. ZK_NAME_GIVEN is currently residing in ZK_LOCATION_CITY.<br> They have been diagnosed with the following conditions:<br> ZK_CONDITION<br> ZK_CONDITION<br> If you have any questions or need further information, please feel free to reach out.<br> Sincerely,<br> [Your Name]<br> [Your Title]<br> [Your Contact Information]</pre><p>As you can see, the task is completed with the help of GPT without exposing any sensitive data. Your data is protected. Sensitive data is filtered.</p><p>Stay secure, stay empowered!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=47dfe511bc4b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding AI Risks and the Necessity of an AI Firewall]]></title>
            <link>https://medium.com/@ZKCryptAI/understanding-ai-risks-and-the-necessity-of-an-ai-firewall-2eeaf97ee64c?source=rss-fcd24f9a562c------2</link>
            <guid isPermaLink="false">https://medium.com/p/2eeaf97ee64c</guid>
            <category><![CDATA[dangers-of-ai]]></category>
            <category><![CDATA[risks-of-ai]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[ZKCrypt AI]]></dc:creator>
            <pubDate>Mon, 04 Nov 2024 15:34:31 GMT</pubDate>
            <atom:updated>2024-11-04T15:34:31.154Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*34YvaverK4E3m1uccgLykg.jpeg" /></figure><p><strong>Introduction</strong></p><p>Artificial Intelligence (AI) has become an integral part of our daily lives. We use a range of AI applications such as virtual assistants, image and video creation applications, chatbots, predictive analytics tools, personalized content recommendation systems, and automated customer service platforms. However, the lack of scientific knowledge among users limits their understanding of how to effectively use these platforms. Most of us use these applications with extreme naivety. We do not understand the consequences and the potential risks they can cause.</p><p><strong>Potential Risks of AI Usage</strong></p><p><strong>Fake or manipulated content</strong> has been on the rise, and this often misleads people and sets false narratives. Deepfakes have now become a part of political campaigns and social media, posing significant challenges to information integrity.</p><p><strong>Leak of Sensitive Information</strong>. Users have no idea about the technicality of AI applications. They casually share the most sensitive information such as banking details, facial features for fun or work. Little they do know that most of the major LLMs constantly learn from the interactions.</p><p><strong>AI-based social engineering attacks. </strong>AI-based attacks are increasingly common now. Hackers create realistic voice calls, or emails, making it difficult for users to differentiate between genuine communication and malicious attempts.</p><p>Read what Geoffrey Hinton, the Google engineer and ‘godfather of AI’, says about the dangers of large language models and artificial general intelligence <a href="https://www.ox.ac.uk/news/2023-05-15-expert-comment-no-need-wait-future-danger-ai-already-here">here</a>.</p><p>As per Zscalar <a href="https://www.zscaler.com/blogs/security-research/phishing-attacks-rise-58-year-ai-threatlabz-2024-phishing-report">latest report</a>, phishing attacks surged by 58.2% last year due to increasing use of AI based tools.</p><p>How does this affect in real life? Like our usual medium articles, let’s take a few examples.</p><p><strong>Example 1: Facial features leak</strong></p><p>We use digital AI apps to edit or “beautify” our pictures. Do you know that you are sharing the most valuable information you ever had? The modern AI apps learn from the facial features and store them. Okay, what is the consequence? The same AI app will generate a face with similar facial features as yours, for someone else. Leaking the private information into public domain. Researchers call it an “unintended data leak”, but it violates the user privacy.</p><p><strong>Example 2: Source Code Leak</strong></p><p>Let’s take an example from work. Professional developers need help and ask code help from LLMs. Proprietary functions in the code are leaked, and LLMs such as ChatGPT will use it in the future to create functions in open-source code. You lose what you owned.</p><p><strong>Protection against AI Data Theft</strong></p><p>As people and organizations increasingly rely on AI to process sensitive information, robust tools and strategies are essential to safeguard users from data theft and to ensure user privacy. As users do not possess the knowledge required to analyze the information before sending it to the AI cloud, there is a need for a protective layer to safeguard users.</p><p><strong>ZKCrypt — The AI Firewall</strong></p><p>ZKCrypt offers a suite of AI protection applications to safeguard users against AI misinformation and AI data theft. First in line is “<strong>AI — Proof of Truth</strong>”, which is set to be released this week.</p><p><strong>AI — Proof of Truth</strong></p><p>ZKCrypt’s <strong>AI — Proof of Truth (PoT) </strong>is a platform to fight against AI misinformation and fake news. Nowadays, fake news or content is more real. With the help of massive datasets and advanced deep learning models, our platform can analyze text, image, audio, video, and URLs, and provide accurate results.</p><p><strong>In text classification</strong>, <strong>PoT</strong> uses multilayer classification models and advanced natural language processing (NLP) algorithms to analyze linguistic patterns, context, and semantic meaning of text, and compare it with multiple layers of sources to identify AI alteration in text.</p><p><strong>In image and video analysis</strong>, <strong>PoT</strong> uses convolutional neural networks (CNNs) to find inconsistencies in facial features and textures for detecting anomalies in pixel data. For video analysis, <strong>PoT </strong>models<strong> </strong>analyze the continuity and coherence between frames and identifies unnatural movements or transitions</p><p><strong>In audio Analysis</strong>: <strong>PoT</strong> uses techniques such as spectral analysis and voice recognition algorithms to examine frequency patterns, intonation, and other acoustic features to differentiate between authentic and fake audio.</p><p>ZkCrypt offers innovative decentralized ML and ZK integrated solutions to solve the most pressing AI data security issues. The <strong>PoT </strong>is set to be released this week.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2eeaf97ee64c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ZKCrypt — The AI Firewall]]></title>
            <link>https://medium.com/@ZKCryptAI/zkcrypt-the-ai-firewall-31e2902c03fd?source=rss-fcd24f9a562c------2</link>
            <guid isPermaLink="false">https://medium.com/p/31e2902c03fd</guid>
            <category><![CDATA[privacy]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[zkp]]></category>
            <dc:creator><![CDATA[ZKCrypt AI]]></dc:creator>
            <pubDate>Sun, 27 Oct 2024 17:01:11 GMT</pubDate>
            <atom:updated>2024-10-27T17:02:32.130Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>ZKCrypt — The AI Firewall</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J7rQ-O4GHOzV7xPN9wuv-A.jpeg" /><figcaption><strong>The AI Firewall for a Privacy-Driven Future</strong></figcaption></figure><p>Hope you are all doing well this weekend. In this article, I want to discuss what we accomplished this week and what you can expect from us next week.<br> We successfully tested the first part of our KYC Identifier: the processing and validation of the KYC information using a deep learning algorithm. We shared the test video as our first proof of work.<br> We are diligently working on releasing the test setup video of the second part, which is the ZKP proof creation.<br> Let’s briefly discuss why we prefer Zero-Knowledge Proof (ZKP) over other encryption methods<strong>.</strong> AES encryption is a widely used method in data encryption, and is difficult to hack because of the 256-bit key. It is used in places where you need to store the data for future access. But we are not storing any data here. KYC information is very sensitive and confidential. So, we chose the state-of-the-art cryptographic method called Zero Knowledge Proof.</p><p>Fundamentally, <strong>AES</strong> and <strong>ZKP </strong>work in a different way. AES keeps data in encrypted form. Though it is very difficult to hack, there is still a possibility as encrypted form still contains the data. Whereas, ZKP <strong>does not contain the data but only a proof of it</strong>. Let’s take an example. Please note that this example is to illustrate the difference between ZKP and top encryption algorithms and doesn’t show the literal technicality of both.</p><p><strong>Example:</strong></p><p>User A’s name is stored in a server using AES encryption. Let’s say, the name is “John”. John’s name is stored as “1100Adfgjj102930”. Though the encrypted form is difficult to crack, it still contains the original data in a different form.</p><p>Now, let’s consider the same example in our utility. If a user tries to prove that his name is “John”, our validator verifies the information without revealing the actual name by creating a “proof” or “hash” as “11001011000”. This proof verifies the name, more like “yes” or “no”. It does not have any original data. The original data is never stored. This gives the ultimate privacy in the KYC use case.</p><p>We have many exciting stories to share regarding our journey towards achieving a decentralized machine learning-based digital identifier.</p><p>Now, I want to talk about the second utility: <strong>LLM Firewall</strong>.</p><p><strong>LLM Firewall</strong><br>AI applications built using large language models (LLMs) such as ChatGPT, Gemini, and Copilot can capture sensitive user data through their interactions. This unintended exposure could create significant privacy risks, as users may not know that they are sharing confidential details. This leads to potential data leaks and breaches.</p><p>ZKCrypt’s innovative solution, LLM Firewall, uses advanced natural language processing and machine learning techniques to monitor interactions, perform rigorous checks for patterns and anomalies, and validate interactions with AI applications in real-time. It filters out sensitive information, saving user privacy while using AI applications.</p><p>LLM Firewall is the application everyone needs to safeguard against AI data theft.</p><p>We are excited to show what we are building in this aspect. Soon, I will write an article explaining the technicality behind it and the features.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=31e2902c03fd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Phase 1 — Start of a new era to AI Privacy]]></title>
            <link>https://medium.com/@ZKCryptAI/phase-1-start-of-a-new-era-to-ai-privacy-5e07abc98191?source=rss-fcd24f9a562c------2</link>
            <guid isPermaLink="false">https://medium.com/p/5e07abc98191</guid>
            <category><![CDATA[zero-knowledge-proofs]]></category>
            <category><![CDATA[federated-learning]]></category>
            <category><![CDATA[decentralization]]></category>
            <dc:creator><![CDATA[ZKCrypt AI]]></dc:creator>
            <pubDate>Wed, 23 Oct 2024 19:02:46 GMT</pubDate>
            <atom:updated>2024-10-25T10:08:00.493Z</atom:updated>
            <content:encoded><![CDATA[<h3>Phase 1 — Start of a new era to AI Privacy</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*hmsjqtMBVME3gFzdXmuYow.jpeg" /></figure><p>I want to tone down the technical details in this article and talk about what made us work on this project and what users can expect us to deliver in Phase 1. Complete technical coverage will be done in the main documentation.</p><p><strong>Problem Statement:</strong></p><p>From home AI assistants like Alexa and Google Assistant to industrial and financial AI systems, Artificial Intelligence (AI) has seamlessly integrated into everyone’s life. It enhances convenience and efficiency in our daily routines. When we started to get comfortable using AI-based systems and reliance on AI grows, concerns about data privacy and security have surged. High-profile data breaches reveal how AI systems can expose sensitive information and raise alarms about user safety. Traditional AI models often lack the necessary safeguards, making them vulnerable to exploitation and misuse.</p><p><strong>How ZkCrypt AI addresses this problem?</strong></p><p>ZKCrypt AI addresses these critical issues by implementing a framework that is embedded with zero-knowledge proofs (ZKPs) and decentralized machine learning frameworks. This framework is tailor-made to ensure that sensitive user data remains shielded during AI model training and data sharing, preventing data leaks and unauthorized access. Our project aims to empower individuals to engage with AI confidently while maintaining their privacy.</p><p><strong>What ZkCrypt AI offers?</strong></p><p>We have a range of utilities planned along the way for Web2 and Web3 eco systems, and for business and regular crypto users. We are focusing on AI utilities that the users are bound to use every day in entertainment, banking, finance, healthcare, and web3 sectors.</p><p>In this article, we would like to address the first use case scenario and the utilities that are going to be released in the next 1–2 months. Detailed utilities section will be released as part of main documentation next week.</p><p><strong>Decentralized Identifiers (DIDs)</strong></p><p>We have all faced a situation where we would have to digitally verify ourselves for age, nationality, etc. While doing verification using the traditional method, user data will be collected and stored in the third-party servers. This happens the same way with the non-digital verification method as well.</p><p>Let’s take a few examples to understand this further.</p><p>Ex 1:</p><p>You try to enter a casino, and they are legally required to verify your age. You must be 18+ to enter. Currently, verification happens against your national ID, and along with your age, every other information is leaked. Instead of validating if you can enter or not, entire user’s sensitive data is leaked.</p><p>Ex 2:</p><p>Now let’s take another example with digital KYC verification. Centralized Exchanges (CEX) are legally required to collect information such as legal age, nationality, and confirmation of residence. This helps them to avoid scams, perform fraud detection, etc. In a basic KYC, what do they need? They need to validate against factors such as nationality, age, and resident proof. Confirmation is enough but not the data. Currently they use third-party services to gather ID information and selfie pictures to validate. Again here, instead of confirmation of the data, entire user privacy goes for a toss.</p><p>Our project eliminates all these circumstances and provide an all-inclusive AI framework for data validation.</p><p><strong>How does this work?</strong></p><p>The validator framework acts as a backend for data validation. The process flow can still be the same as traditional methods, but the backend architecture is different. The Pytorch-based deep learning algorithm process the data based on the criteria and validates against the criteria set. Upon successful validation, a ZKP (zero-knowledge proof) is generated and the user data is ignored. Here, user privacy is protected without revealing any sensitive information.</p><p>Consider the same example with CEX. The basic KYC in a CEX needs to validate the user’s age, locality and validity of residence. All they need to know is that if the user is eligible to log in and hold crypto currencies in the region. ZKCrypt AI validator does exactly that. It validates the user data and provides only the eligibility information. Every sensitive data is protected and only eligibility information is passed out.</p><p>What are the Utilities planned to be released in Phase1</p><p>We are planning to release two utilities for Phase 1.</p><p>First utility is a dApp service that uses a decentralized machine learning algorithm and Zero-knowledge protocols to validate user identity in a safer way. Then, SDK kit of the same will be released so that businesses can integrate into their applications.</p><p>Second utility is a dApp service that allows the web3 users to validate their holdings without the need to expose wallet information. Consider a situation where a certain project wants to conduct an anonymous discussion with whales. You don’t have to doxx your wallets, holdings or transactions. Stay anonymous, enter discussion and discuss with freedom. This is just one of the use cases. We will have more here.</p><p><strong>What do we expect in Phase 2?</strong></p><p>Decentralized machine learning systems that allow you to continue using the AI in the same way you used to, but keep the personal data protected at your device level. We will have more exciting AI utilities coming up.</p><p>Anonymity is the freedom that everyone is entitled to. Data privacy is a fundamental right. We aspire to build utilities that ensure user privacy.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5e07abc98191" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>