<?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: Muhammad Adil </title>
    <description>The latest articles on DEV Community by Muhammad Adil  (@adilaidev).</description>
    <link>https://dev.to/adilaidev</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%2F4083371%2Fe677df2d-13ab-40a1-8dc4-5c0ea95a07a3.jpg</url>
      <title>DEV Community: Muhammad Adil </title>
      <link>https://dev.to/adilaidev</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/adilaidev"/>
    <language>en</language>
    <item>
      <title>How an AI Assistant Spilled Its Own Secrets, and Yours</title>
      <dc:creator>Muhammad Adil </dc:creator>
      <pubDate>Tue, 18 Aug 2026 16:54:22 +0000</pubDate>
      <link>https://dev.to/adilaidev/how-an-ai-assistant-spilled-its-own-secrets-and-yours-20a3</link>
      <guid>https://dev.to/adilaidev/how-an-ai-assistant-spilled-its-own-secrets-and-yours-20a3</guid>
      <description>&lt;p&gt;AI assistants are supposed to keep your data safe, not hand it over on demand. Yet a team of security researchers recently proved that Microsoft 365 Copilot could be manipulated into doing exactly that, without the user lifting a finger. The exploit didn’t require reverse engineering or deep technical tricks. Instead, the researchers simply asked Copilot how to bypass its own protections.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Weakness in the System
&lt;/h2&gt;

&lt;p&gt;Most AI tools, including Copilot, have guardrails to prevent unauthorized actions. For example, if you try to get an assistant to read your emails or extract passwords, it should refuse unless you explicitly confirm the request. These safeguards are meant to stop malicious prompts from executing automatically. But guardrails are only as strong as their weakest point, and in this case, the weak point was an undocumented feature.&lt;/p&gt;

&lt;p&gt;The researchers at Varonis started by probing Copilot with seemingly innocent questions. They asked why certain commands required user confirmation, what URL structures triggered auto-execution, and how the system handled pre-filled prompts. Each answer revealed a little more about the underlying architecture. Eventually, Copilot disclosed a hidden parameter, ?autorun=1, that completely bypassed the need for user approval.&lt;/p&gt;

&lt;h2&gt;
  
  
  A Single Click, a Full Breach
&lt;/h2&gt;

&lt;p&gt;With the hidden parameter in hand, the researchers crafted a malicious URL. When a victim clicked it, the link opened Copilot in their authenticated session and silently executed a pre-loaded prompt. The prompt could instruct Copilot to search the victim’s inbox, extract sensitive data, and send it to an attacker-controlled server. All of this happened in the background, with no visible warning or interaction required.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The victim receives a phishing email or message containing the malicious link.&lt;/li&gt;
&lt;li&gt;They click it, loading Copilot in their browser with the ?autorun=1 parameter active.&lt;/li&gt;
&lt;li&gt;The embedded prompt runs automatically, accessing emails, files, or other connected apps.&lt;/li&gt;
&lt;li&gt;Copilot processes the request and sends extracted data to the attacker’s server via a disguised URL.&lt;/li&gt;
&lt;li&gt;The victim remains unaware, even if they close the Copilot tab immediately.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The data exfiltration was cleverly hidden. The stolen information was encoded in base64 and appended to a URL that Copilot automatically opened. To the victim, it might look like a harmless redirect. Meanwhile, the attacker received everything from email addresses to passwords, whatever the prompt was designed to extract.&lt;/p&gt;

&lt;h2&gt;
  
  
  Memory Poisoning: A Long-Term Threat
&lt;/h2&gt;

&lt;p&gt;The researchers didn’t stop at one-click exploits. They also demonstrated how Copilot’s memory feature could be hijacked. AI assistants like Copilot store user preferences, instructions, and context to avoid repeating questions. By embedding malicious instructions in a webpage, the researchers tricked Copilot into saving attacker-defined rules in its permanent memory.&lt;/p&gt;

&lt;p&gt;Once poisoned, Copilot would follow these hidden instructions in future sessions. An attacker could force the assistant to forward sensitive outputs, filter responses, or even execute commands when certain conditions were met. The corrupted memory persisted across password changes and device resets, making it nearly impossible for users to detect or remove without manual inspection.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why This Matters for AI Security
&lt;/h2&gt;

&lt;p&gt;This attack highlights a fundamental flaw in how AI security is often designed. Instead of building systems that inherently resist misuse, developers rely on reactive guardrails, rules added after vulnerabilities are discovered. These guardrails can be bypassed, as seen here, or even turned against the system itself.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Copilot eventually disclosed undocumented parameters. I took those parameters and used them for prompts that ran automatically.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Microsoft patched the specific vulnerability in February by disabling the ?q= parameter’s ability to inject text. But the incident raises broader questions. How many other undocumented features exist in AI tools? How many more exploits are waiting to be discovered through simple conversation?&lt;/p&gt;

&lt;h2&gt;
  
  
  How to Protect Yourself
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Treat AI assistant links like any other untrusted URL. If you didn’t expect it, don’t click it.&lt;/li&gt;
&lt;li&gt;Monitor Copilot’s responses for unexpected behavior, such as opening unfamiliar tabs or summarizing sensitive data without prompting.&lt;/li&gt;
&lt;li&gt;Limit the apps and services connected to your AI assistant. Fewer integrations mean fewer attack surfaces.&lt;/li&gt;
&lt;li&gt;Regularly review your assistant’s memory settings. If something looks off, clear it and reconfigure your preferences.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This isn’t the first time AI assistants have been exploited with minimal effort, and it won’t be the last. The lesson is clear: convenience and security are often at odds. Until AI systems are built with proactive safeguards, users will need to stay vigilant, or risk handing over their data to the wrong hands.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;This post was originally published on my site. &lt;a href="https://www.adilaidev.com/blog/how-an-ai-assistant-spilled-its-own-secrets-and-yours" rel="noopener noreferrer"&gt;Read the full article and more →&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

</description>
      <category>aisecurity</category>
      <category>microsoftcopilot</category>
      <category>dataexfiltration</category>
      <category>llmvulnerabilities</category>
    </item>
    <item>
      <title>How Linux 7.3 Handles VRAM Starvation Without Slowing Down</title>
      <dc:creator>Muhammad Adil </dc:creator>
      <pubDate>Tue, 18 Aug 2026 15:52:52 +0000</pubDate>
      <link>https://dev.to/adilaidev/how-linux-73-handles-vram-starvation-without-slowing-down-29me</link>
      <guid>https://dev.to/adilaidev/how-linux-73-handles-vram-starvation-without-slowing-down-29me</guid>
      <description>&lt;p&gt;Running out of video memory used to mean stuttering, hangs, or even a full system freeze. Linux 7.3 changes that with a set of kernel-level tweaks that keep your desktop smooth even when VRAM is maxed out. The improvements target both gaming and professional workloads, but they don't work like magic. You need to understand the trade-offs and how to verify the behavior on your own hardware.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Happens When VRAM Runs Out
&lt;/h2&gt;

&lt;p&gt;Older kernels treated VRAM exhaustion as an all-or-nothing problem. When the GPU driver couldn't allocate more memory, it would either fall back to system RAM (slow) or fail outright (crash). Linux 7.3 introduces a more nuanced approach. The kernel now tracks VRAM usage in smaller chunks and prioritizes critical allocations. Non-essential buffers get demoted to system memory earlier, freeing up space for what matters most.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Key Changes in 7.3
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Dynamic buffer demotion: The kernel can now move less important GPU buffers to system RAM without waiting for a full allocation failure.&lt;/li&gt;
&lt;li&gt;Priority-based eviction: Critical rendering tasks get first dibs on remaining VRAM, while background processes take the hit.&lt;/li&gt;
&lt;li&gt;Transparent fallback: When buffers are moved to system RAM, the GPU driver handles the transition without stalling the pipeline.&lt;/li&gt;
&lt;li&gt;Better memory accounting: The kernel now tracks VRAM usage more accurately, preventing false positives that used to trigger unnecessary fallbacks.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Who Benefits the Most
&lt;/h2&gt;

&lt;p&gt;These changes matter most for two groups. Gamers running older GPUs with limited VRAM will see fewer frame drops when pushing settings too high. Professional users working with large textures or complex 3D scenes can keep working without sudden freezes. The improvements are less noticeable on high-end GPUs with plenty of VRAM, but even there, the new memory accounting helps prevent rare edge cases.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to Test It Yourself
&lt;/h2&gt;

&lt;p&gt;You don't need to wait for a benchmark to see the difference. A simple test involves running a game or application that maxes out your VRAM while monitoring system behavior. Start with a tool like glxinfo to check your current VRAM usage. Then launch a demanding workload and watch how the system responds when VRAM fills up. The key metric isn't just frame rate but how smoothly the system recovers when memory pressure eases.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Use MANGOHUD or vkmark to monitor VRAM usage in real time.&lt;/li&gt;
&lt;li&gt;Run a game or 3D application that pushes your GPU to its limits.&lt;/li&gt;
&lt;li&gt;Watch for stutters or freezes when VRAM usage hits 100%.&lt;/li&gt;
&lt;li&gt;Compare the behavior before and after upgrading to Linux 7.3.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The Trade-Offs You Should Know
&lt;/h2&gt;

&lt;p&gt;The new system isn't perfect. Moving buffers to system RAM introduces latency, so you might see a slight performance dip when VRAM is exhausted. The kernel also has to make judgment calls about which buffers to demote, and it doesn't always get it right. In some cases, you might still need to tweak application settings to avoid hitting VRAM limits in the first place.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's Next for VRAM Management
&lt;/h2&gt;

&lt;p&gt;Linux 7.3 is just the first step. Future kernels will likely refine the eviction policies and improve the coordination between GPU drivers and the memory subsystem. There's also ongoing work to make the fallback to system RAM more efficient, reducing the performance penalty when VRAM runs out. For now, the changes in 7.3 make Linux a more reliable platform for graphics-heavy workloads, even on older hardware.&lt;/p&gt;

&lt;p&gt;If you're running a system with limited VRAM, upgrading to Linux 7.3 is worth the effort. The improvements won't make your GPU faster, but they will keep your system usable when memory gets tight. Test it with your own workloads and see the difference for yourself.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;This post was originally published on my site. &lt;a href="https://www.adilaidev.com/blog/how-linux-73-handles-vram-starvation-without-slowing-down" rel="noopener noreferrer"&gt;Read the full article and more →&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

</description>
      <category>linux</category>
      <category>graphics</category>
      <category>performance</category>
      <category>kernel</category>
    </item>
  </channel>
</rss>
