<?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 Phil Stafford on Medium]]></title>
        <description><![CDATA[Stories by Phil Stafford on Medium]]></description>
        <link>https://medium.com/@pe.stafford?source=rss-84c644337a58------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*4QovS0Q2NwIGsWhcc-Jq3w.png</url>
            <title>Stories by Phil Stafford on Medium</title>
            <link>https://medium.com/@pe.stafford?source=rss-84c644337a58------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 25 May 2026 23:04:03 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@pe.stafford/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[The Agentic AI Polka]]></title>
            <link>https://medium.com/@pe.stafford/the-agentic-ai-polka-8bcda6eca3c4?source=rss-84c644337a58------2</link>
            <guid isPermaLink="false">https://medium.com/p/8bcda6eca3c4</guid>
            <category><![CDATA[agentic-ai]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[ai-agent]]></category>
            <dc:creator><![CDATA[Phil Stafford]]></dc:creator>
            <pubDate>Sat, 18 Apr 2026 14:42:01 GMT</pubDate>
            <atom:updated>2026-04-18T14:42:01.046Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>What four days on the expo floor taught me about where security is actually headed — and where it’s pretending to head.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8RbTcByBws--KLtO3KDhbg.png" /></figure><p>I didn’t plan to release a new single at RSA Conference 2026. But somewhere between booths 4,000 and 6,000 at Moscone, walking past the seventeenth vendor who had hastily affixed the word “AGENTIC” to last year’s product, I realized the expo floor had its own rhythm. A kind of compulsive, repetitive, unmistakable beat.</p><p><em>Agentic</em> SOC. <em>Agentic</em> SASE. <em>Agentic</em> DLP. <em>Agentic</em> identity. <em>Agentic</em> compliance. <em>Agentic</em> coffee machine, probably, somewhere in the back of North Hall.</p><p>It was a polka. A relentless, oom-pah-pah of buzzword rebranding that swept through 43,000-plus attendees and 600 vendors like an accordion player who doesn’t know when the song is over.</p><p>I’m calling it “The Agentic AI Polka,” and I’m claiming first single credit. You can stream it wherever fine marketing hallucinations are sold.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FR1B5n-xOwwM%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DR1B5n-xOwwM&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FR1B5n-xOwwM%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/d1f426e87733cc2c46e1f946cefa3d95/href">https://medium.com/media/d1f426e87733cc2c46e1f946cefa3d95/href</a></iframe><h3>Beneath the Polka, Something Real Was Happening</h3><p>Here’s the thing about RSA buzzword cycles: they’re annoying <em>and</em> they’re signal. Last year, every vendor slapped “AI” onto their existing product — usually a chat interface on top of a log parser. This year was different. The serious players weren’t just talking about AI doing things. They were talking about AI <em>deciding</em> things, <em>chaining</em> things, <em>acting</em> on behalf of humans through tools, APIs, and orchestration layers without waiting for someone to click “approve.”</p><p>That’s a fundamentally different problem. And if you listened carefully between the polka beats, a few conversations at RSA 2026 actually mattered.</p><h3>The Shift from “Wrong Answer” to “Wrong Action”</h3><p>Cisco’s Jeetu Patel nailed the framing that I think defines where we are right now: “With chatbots, you worry about getting the wrong answer. With agents, you worry about taking the wrong action.”</p><p>That one sentence captures the entire threat model transition the industry is grappling with. A chatbot that hallucinates is embarrassing. An agent that hallucinates <em>and has API credentials</em> is a breach. We’ve moved from managing outputs to managing <em>behavior</em> — and most of the industry’s tooling hasn’t caught up.</p><p>This isn’t theoretical. Mandiant’s M-Trends 2026 report, released during the conference, showed that the window between initial access and adversary handoff has collapsed from eight hours in 2022 to 22 seconds in 2025. Twenty-two seconds. That’s not a window. That’s the time it takes to blink twice and realize you should have been worried. In an agentic world, where both attacker and defender tools operate at machine speed, human-in-the-loop isn’t a governance model — it’s a nostalgia trip.</p><h3>The French Bulldog Was the Best Booth at RSA</h3><p>I need to take a brief detour to acknowledge the undisputed winner of the expo floor: a dark-coated French Bulldog stationed at the Drata booth. Every single person walking past stopped to say hello. Every. Single. One. I know this because I was one of them, and I stood there long enough to watch it happen repeatedly.</p><p>In a sea of LED screens, product demos, and landing pages with the word “agentic” in 72-point font, a small dog won the attention economy. I later found a Drata sticker with the Frenchie on it in my bag — which means their marketing team understood something that most of the floor didn’t: people remember how you made them feel, not what your dashboard looked like.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YSMU_m-k21ZQaRhkn13ITg.png" /></figure><h3>Where the Real Conversations Happened (Hint: Not the Expo Floor)</h3><p>The longer I’ve been doing this, the more I notice a pattern: the expo floor is where you <em>see</em> the industry, but the side events are where you <em>understand</em> it.</p><p>The best conversations I had all week happened at a taco lunch, a breakfast briefing, a bar after hours, and a rooftop party I got into because someone’s friend knew someone. Not a single one happened at a booth demo.</p><p>And I don’t think that’s just my personal preference. I think it’s structural.</p><p>The expo floor is an attention market. Every booth is competing for the same scarce resource — your eyeballs, your badge scan, your thirty seconds of consideration. The incentives push everything toward compression: simpler messages, louder displays, shorter pitches. That’s fine for awareness. It’s terrible for the kind of conversations that actually move the industry forward — the ones where someone says “here’s what’s actually breaking in production” or “here’s the gap nobody’s filling” or “wait, you’re building <em>what</em>?”</p><p>Those conversations need space. They need low stakes. They need the absence of a sales quota.</p><p>At RSA 2026, that space existed everywhere <em>except</em> the official conference floor. It existed at a community-run meetup at an Irish pub, where practitioners who’d been heads-down in the vendor noise all day could finally talk to each other without a booth between them. It existed at a breakfast briefing at a hotel down the street, where the conversation went deep because nobody was checking their watch for the next session. It existed on a rooftop after dark, where the badges came off and the real questions came out.</p><p>So let me say the thing: the most valuable part of RSA might not be RSA. It might be the ecosystem of satellite events, community gatherings, and informal meals that grows around it. The conference provides the gravitational pull — tens of thousands of people in one city for four days — but the actual knowledge transfer happens in the spaces the conference doesn’t control or monetize.</p><p>I walked the expo floor with a colleague on Tuesday and we both felt it — a jadedness that I initially chalked up to experience. We can see through the positioning faster now, spot the rebranded products, identify the booth that’s burning VC money on square footage. But it wasn’t just us. I heard the same thing from practitioners at every level: the floor felt like a trade show with a side of content, not a content conference with a side of trade show.</p><p>That matters for how we think about professional development and community in security. If the institutions that convene the industry optimize for vendor revenue over practitioner value, the practitioners will keep showing up — but they’ll do their real work in the margins. The margins are where trust forms. And trust, ironically, is what this whole conference was supposed to be about.</p><p>One of the sharpest observations I encountered came from Ross Haleliuk, who noted that security leaders are going back to fundamentals. After years of tool sprawl and chasing trends, teams are seeing the real gaps: asset visibility, identity hygiene, access reviews, patching. The basics. The unsexy stuff that actually prevents breaches.</p><p>But here’s the twist: AI is what’s finally letting teams execute those fundamentals at scale. The Agentic AI Polka is annoying when it’s just a label. It starts to matter when it means your SOC can actually correlate and triage at the speed the threat environment now demands.</p><h3>MCP Became a Real Security Category (While Everyone Was Dancing)</h3><p>Model Context Protocol — MCP — went from a niche infrastructure concern to a legitimate security category at this conference. Cisco dropped DefenseClaw, an open-source security framework for scanning MCP servers and agent toolchains. OWASP’s Top 10 for LLM Applications explicitly calls out “Excessive Agency” as a top risk. CoSAI published threat models mapping 40 threats across 12 categories. Google described proxy architectures. AWS released an MCP Proxy with logging and read-only modes.</p><p>I’ve been contributing to CoSAI’s Workstream 4 — Secure Design Patterns for Agentic Systems — so I have a front-row seat to how the standards community is thinking about this. And what struck me at RSA is how wide the gap still is between the standards work and what’s actually shipping. The threat models are solid. The vendor implementations are mostly catching up to last year’s problems.</p><p>The core realization that all of these efforts point to is the same: when AI agents connect to tools, the trust boundary just moved. It’s no longer enough to secure the model or the API endpoint. You have to verify the <em>tools the agent is calling</em>, the <em>servers those tools live on</em>, and the <em>intent behind every request in the chain</em>.</p><p>This is the plumbing layer. Nobody’s going to write a breathless LinkedIn post about trust verification for tool definitions — it doesn’t have the sex appeal of “autonomous SOC” — but it’s the thing that determines whether any of this agentic infrastructure actually works safely. If you can’t trust the tools your agents are connecting to, all of your runtime guardrails are a security theater performance in an empty room.</p><h3>Identity Is the Control Plane Now</h3><p>If there was a runner-up to “agentic” in the RSA buzzword polka, it was “identity.” But unlike some years where identity shows up as a checkbox concern, this year it landed with real weight.</p><p>Non-human identities — machines, APIs, AI agents — now make up the majority of identities in enterprise environments. They’re decentralized. They often lack a clear owner. They don’t face background checks. And increasingly, they make high-stakes decisions without asking permission.</p><p>Geordie AI won the Innovation Sandbox (out of 200+ applicants) with a governance platform that applies least-privilege policies to AI agents with real-time observability. Token Security pitched identity-centric security for agents with intent-based access controls. The message from the stage and the floor was consistent: if you’re building agentic systems, identity isn’t a feature. It’s the architecture.</p><p>And here’s where it gets interesting for where we’re headed.</p><h3>What Comes Next: The Roadmap Nobody’s Talking About Yet</h3><p>RSA 2026 was the “agentic” conference. Every vendor, every panel, every keynote. Got it. Logged. Filed. Polka recorded.</p><p>But if you’re paying attention to the trajectory — not just this year’s floor theme but the structural forces underneath — there’s a sequence emerging that the industry hasn’t fully articulated yet.</p><p><strong>Next: Agentic Identity.</strong> We’re already seeing it in the Innovation Sandbox finalists and in Cisco’s framing. Agents need identities, and those identities need governance, trust verification, and accountability models that don’t exist yet. This isn’t a 2027 problem. It’s a right-now problem that the tooling is still catching up to. When your AI agent has credentials, a personality, and the ability to chain together fifty API calls in two seconds, “who is this entity and should we trust it?” becomes the foundational security question.</p><p><strong>Then: Physical and Embodied AI.</strong> Jensen Huang declared the “ChatGPT moment for physical AI” at CES 2026. China is targeting a secure embodied AI supply chain by 2027. Right now, agents operate in software. Soon, they operate forklifts, manage warehouse logistics, navigate hospital corridors. The attack surface goes from “data exfiltration” to “kinetic consequences.” Every trust and identity framework we’re building for software agents will need to extend into the physical world. The sensor spoofing, the motor control hijacking, the physical-digital convergence — that’s coming, and it’s coming fast.</p><p><strong>Then: World Models.</strong> This is the one that matters most for security architecture, and almost nobody at RSA was talking about it. World models are AI systems that don’t just respond to inputs — they maintain internal representations of how the world works and use those representations to plan, predict, and act. When an agent has a world model, it’s not just executing instructions. It’s <em>reasoning about consequences</em>. Securing a system that reasons about consequences requires fundamentally different approaches than securing one that follows instructions. We don’t have those approaches yet.</p><p>Each of these layers builds on the one before it. You can’t secure physical AI without solving agentic identity first. You can’t govern world models without trust infrastructure for the agents that use them. The sequence matters.</p><h3>The Honest Assessment</h3><p>RSA 2026 confirmed something that I’ve suspected for a while: the security industry understands that agentic AI changes the game, but it’s still mostly trying to play the old game faster.</p><p>Runtime guardrails are important. Proxy architectures are useful. Scanning tools have their place. But most of what I saw on the floor is reactive — intercepting bad behavior after the agent is already connected, already credentialed, already acting. That’s necessary, but it’s not sufficient.</p><p>The harder problem — the one most of the polka-dancing vendors aren’t touching — is pre-deployment trust. <em>Should this agent be trusted at all? Has anyone adversarially tested whether it does what it claims? Can you verify the integrity of the tools it connects to before it ever makes its first API call?</em></p><p>Those questions don’t fit on a booth banner. But they’re the ones that determine whether the agentic era is a productivity revolution or a security catastrophe.</p><h3>The Coda</h3><p>I left RSA 2026 with a stack of business cards, a head full of conversations, and Drata’s French Bulldog living rent-free in my mind. The polka was loud, the margaritas at the taco lunch were strong, and somewhere in all of it, the industry took a genuine step forward.</p><p>The agentic era is here. The next question isn’t whether agents will act autonomously — they already do. The question is whether we’ll build the trust infrastructure to know which ones deserve that autonomy.</p><p>That’s the work. And no amount of polka is going to do it for us.</p><p><em>Phil Stafford is the founder of Singularity Systems, an AI security consultancy focused on agentic trust infrastructure, and a technical contributor to CoSAI. He assesses whether AI agents are trustworthy before enterprises deploy them. He actually does play the tuba.</em></p><p><em>Connect on</em><a href="http://www.linkedin.com/in/phillipstafford"><em> LinkedIn</em></a><em> | Read more at </em><a href="https://securingthesingularity.com/"><em>securingthesingularity.com</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8bcda6eca3c4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Steal an AI Without Breaking In]]></title>
            <link>https://medium.com/@pe.stafford/how-to-steal-an-ai-without-breaking-in-ca0d9d951705?source=rss-84c644337a58------2</link>
            <guid isPermaLink="false">https://medium.com/p/ca0d9d951705</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[large-language-models]]></category>
            <category><![CDATA[claude]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Phil Stafford]]></dc:creator>
            <pubDate>Wed, 25 Feb 2026 06:41:49 GMT</pubDate>
            <atom:updated>2026-02-25T06:41:49.273Z</atom:updated>
            <content:encoded><![CDATA[<h3>Three Chinese AI labs just got caught copying Claude through its own front door. Here’s how it works — and why it matters.</h3><p>Say you’re a master sculptor. Years of work. Billions of dollars worth of craft. Someone walks into your studio, presses clay against every surface of your sculpture, and walks out with the negative impression. Next week they’re casting replicas in their own shop.</p><p>They didn’t steal your sculpture. Never touched your tools. But they walked away with enough to reproduce your work — minus the parts they didn’t care about.</p><p>That’s what Anthropic says just happened to Claude.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/704/1*81hIDAb-UVO79CdPxnjKAA@2x.jpeg" /></figure><p>On February 24, Anthropic named names. Three Chinese AI labs — DeepSeek, Moonshot AI, and MiniMax — ran coordinated campaigns to extract Claude’s capabilities and use them to train their own models. The technique is called <em>distillation</em>. The scale: 24,000 fake accounts, over 16 million interactions.</p><h3>How Do You Copy an AI Without Stealing It?</h3><p>This is where most people get confused. When you hear “AI theft,” you picture someone breaking into a server and downloading files. That’s not what happened.</p><p>AI models like Claude are massive. Their intelligence isn’t sitting in a file you can copy — it’s distributed across billions of mathematical parameters shaped by years of training. You can’t just download that.</p><p>But you <strong>can</strong> talk to it. Ask questions, study the answers. Do that strategically — millions of times, with carefully designed questions — and you can capture enough of its behavior to train your own model to mimic it.</p><p>Back to the mold: you don’t need the sculptor’s process, materials, or studio. Just enough impressions of the finished work to build something that looks and acts like the original.</p><p>That’s distillation. It’s not inherently wrong — AI companies do it to their own models all the time to create lighter, cheaper versions. The problem is when a competitor does it to <strong>your</strong> model, at massive scale, using 24,000 fake accounts, from a country where your product isn’t even supposed to be available.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*58vtmEA47AwIwbfrRoVcJw.png" /></figure><h3>Three Things That Should Bother You</h3><p>Beyond the raw numbers, here’s what matters.</p><p><strong>The copy doesn’t come with the safety features.</strong> Anthropic puts real work into making sure Claude won’t help someone build a weapon, generate disinfo, or run cyberattacks. Those guardrails are baked into the model’s behavior. But when someone distills it, they’re cherry-picking what they want — the intelligence, the reasoning, the coding chops — and they’ve got zero incentive to reproduce the safety layer. You end up with a capable AI system with the guardrails ripped out.</p><p><strong>The attackers were running an intelligence operation. </strong>These weren’t amateurs. Sprawling proxy networks managing 20,000 fake accounts at once. Extraction traffic blended with legit-looking requests to avoid detection. When Anthropic dropped an updated model mid-campaign, one lab pivoted within 24 hours to start harvesting from the new version. This isn’t casual misuse. This is structured collection.</p><p><strong>The results distort the picture.</strong> When a Chinese AI lab drops a model that rivals American systems at a fraction of the cost, it looks like a genuine breakthrough. But if a big chunk of that capability was lifted from American models, the achievement is a lot less impressive — and the argument that export controls aren’t working is based on a false premise. The rapid progress isn’t proof that restrictions are pointless. It’s proof they’re being circumvented.</p><h3>Why This Isn’t Just a Tech Story</h3><p>AI capabilities are becoming strategic assets on par with advanced weapons systems. Who has access to frontier AI — and what safeguards come with it — is a national security question now, not just a business one.</p><p>If distillation lets capable AI get built without the safety work, and those models end up in military, surveillance, or influence operations, this stops being about industry competition real fast.</p><p>Anthropic wants a coordinated industry response. Whether you read this as genuine security concern or competitive positioning — probably some of both — the technical reality doesn’t change: if you can talk to a powerful AI, you can copy enough of it to build your own version.</p><p>Nobody’s figured out how to stop that yet. And the models keep getting more valuable.</p><p><em>Phil Stafford is an AI security researcher and Principal Consultant at </em><a href="http://securingthesingularity.com"><em>Singularity Systems</em></a><em>, focused on securing AI agent ecosystems. He is the creator of ThinkTank, a multi-agent debate framework for security analysis, and </em><a href="http://credence.securingthesingularity.com"><em>Credence</em></a><em>, an open-source trust registry for AI tools.</em></p><p>©<em> 2026 Phil Stafford</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ca0d9d951705" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Someone Cloned an Oura Ring MCP Server and Poisoned the Supply Chain. We Can Fix This.]]></title>
            <link>https://medium.com/@pe.stafford/someone-cloned-an-oura-ring-mcp-server-and-poisoned-the-supply-chain-we-can-fix-this-931acfaac8e3?source=rss-84c644337a58------2</link>
            <guid isPermaLink="false">https://medium.com/p/931acfaac8e3</guid>
            <category><![CDATA[ai-security]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[mcp-server]]></category>
            <category><![CDATA[openclaw]]></category>
            <dc:creator><![CDATA[Phil Stafford]]></dc:creator>
            <pubDate>Wed, 18 Feb 2026 13:47:10 GMT</pubDate>
            <atom:updated>2026-02-18T13:47:10.181Z</atom:updated>
            <content:encoded><![CDATA[<h3>The attack didn’t exploit a vulnerability. It exploited the fact that nobody’s checking who actually wrote the tools we’re installing.</h3><p>On February 5th, Straiker’s STAR Labs team dropped research that made me sit up straight. A supply chain attack against the MCP ecosystem. Not a smash-and-grab. This one was patient. Months of setup, completely invisible until Straiker caught it.</p><p>Not a zero-day. Not some new class of exploit. Something much older and much dumber: fake it till you make it, applied to malware distribution. A threat actor cloned a legitimate MCP server, built a fake GitHub ecosystem around it, and got it listed on MCP Market. A developer searching for an Oura Ring integration would have found it, seen the forks, seen the contributors, and installed it without thinking twice.</p><p>And it would have stolen everything on their machine.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0LWMz8rBkcO3NvGZwZ7w1A.png" /><figcaption>The download looked legit. The server works perfectly. The raccoon was <strong>very</strong> polite.</figcaption></figure><h3>The Playbook</h3><p>The target was Tomek Korbak’s Oura Ring MCP server. Connects your AI assistant to your health data, sleep scores, readiness metrics. Korbak works at OpenAI. Legit project. Exactly the kind of thing a developer who tracks their HRV and sleep stages would install before breakfast.</p><p>SmartLoader — a malware operation that used to distribute infostealers through pirated software — saw an opportunity. Developer workstations are treasure chests. API keys, cloud credentials, SSH keys, crypto wallets, production access. Why bother phishing when you can get developers to <em>install your code voluntarily</em>?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xDYgIqHSzaQcYmTX9b0ihw.png" /></figure><p><a href="http://straiker.ai">Straiker’s</a> research (credit where it’s due, they did the detective work here) documents the whole operation:</p><p><strong>Phase 1 — Target selection.</strong> Pick a server that appeals to developers specifically. Health optimization tools. Sleep tracking. The Oura Ring crowd. These people have AWS keys and crypto wallets sitting on the same machine.</p><p><strong>Phase 2 — Build the ecosystem. </strong>A primary account, YuzeHao2023, creates a clean fork. Four more accounts fork from that. Instant appearance of organic community interest. The accounts are obviously fake if you know what to look for: recent creation dates, similar activity patterns, commits clustered in the same timeframes. But who looks? They also forked other projects from YuzeHao2023, creating a web of cross-references so each account looks more established. This took months.</p><p><strong>Phase 3 — Deploy the payload.</strong> A new account, SiddhiBagul, creates the trojanized version. Source code matches the original. Documentation is complete. Contributor list includes the fake accounts. And they did <em>not</em> include Tomek Korbak, the actual author.</p><p>Straiker called this the smoking gun. A legitimate fork would credit the original creator. The deliberate exclusion confirms a single threat actor running the whole show.</p><p><strong>Phase 4 — Registry poisoning.</strong> Submit the trojanized server to MCP Market. That’s it. That’s the whole barrier to entry. It gets listed alongside legitimate tools and nobody asks who actually wrote it.</p><p>The payload was a <strong><em>resource.txt</em></strong> file containing heavily obfuscated LuaJIT that deployed StealC. Browser passwords. Discord tokens. Crypto wallets. Cloud session tokens. SSH keys. The works.</p><p>The persistence mechanism was a nice touch, too: scheduled tasks masquerading as Realtek audio drivers. Every SOC analyst on earth is trained to ignore Realtek processes. That’s not even hacking at that point. That’s just knowing how tired your adversary is.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hAR4g46ICOQwIRHookZwjQ.png" /><figcaption>“Hey Bob, come on in.”</figcaption></figure><h3>The Tooling Gap</h3><p>Here’s what gets me about this attack: the MCP ecosystem doesn’t have the tooling to catch it. Not “didn’t have.” Doesn’t have. Present tense.</p><p>Think about what a developer actually sees when they’re evaluating this server. Code works. Documentation looks fine. Forks exist. Contributors exist. Source matches the original. Every signal we tell developers to check (stars, forks, contributor count, documentation quality) was fake. Every single one.</p><p>Stars can be bought for pocket change. Forks are free. And the MCP ecosystem is still in its “HTTP before TLS” phase, with the protocol growing way faster than its security story. The spec itself says tool descriptions “should be considered untrusted, unless obtained from a trusted server.” Great. So how does a developer know if a server is trusted? Right now? They don’t.</p><blockquote>“The MCP ecosystem lacks the security infrastructure that has developed around traditional package managers. There is no equivalent to npm audit, Dependabot, or Snyk for MCP servers.” —<a href="https://www.straiker.ai/blog/smartloader-clones-oura-ring-mcp-to-deploy-supply-chain-attack"> Straiker report</a></blockquote><p>The MCP Registry is a metadata catalog, and that’s appropriate for this stage of the ecosystem. Community moderation catches obvious malware. But SmartLoader didn’t deploy obvious malware. They deployed a perfectly functional Oura Ring integration that <em>also</em> stole your credentials. That’s a harder problem, and it requires different tooling.</p><p>Straiker’s recommendation? “Verify provenance deeply” and “check account creation dates.” Sure. That’s good advice if you have the time and discipline to do it for every server you install. Nobody does.</p><p>We’ve solved this before. npm did it. Docker did it. Sigstore, SBOMs, provenance attestations. The supply chain security stack exists. It just doesn’t reach AI tools yet.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZS-eExiqqBEIJW71g_ckyg.png" /><figcaption>“The free lemonade is a nice touch.”</figcaption></figure><h3>How we fix this.</h3><p>I’ve been building something for this. <a href="http://credence.securingthesingularity.com">Credence</a> is a cryptographic attestation system for AI tools: MCP servers, OpenClaw skills, Claude Desktop extensions (soon), and whatever comes next as the ecosystem evolves. I wrote about this class of attack in “Poisoned Pipelines” a few weeks ago. The SmartLoader/Oura incident is basically the proof of concept I was hoping wouldn’t show up this fast.</p><p>I want to be specific about how Credence addresses this, because vague claims about “trust” aren’t useful when the attack chain is this concrete.</p><p><strong>Source code fingerprinting.</strong> Credence hashes every file in the codebase with SHA-256 and rolls those hashes into a single deterministic fingerprint, pinned to the exact git commit. That fingerprint becomes part of a signed attestation covering the score, verdict, and authorship data. You want to install a server? Hash the code yourself and compare. If they don’t match, the code changed since we analyzed it. Walk away. In the SmartLoader case, the trojanized version with <strong><em>resource.txt</em></strong> added would produce a completely different hash. Instant red flag.</p><p>SmartLoader’s source code actually <em>matched the original</em> for the most part, though. The payload was in the release archive, not the repo source. So source hashing alone isn’t enough.</p><p><strong>Author identity binding.</strong> Credence pulls the claimed author from package.json, pyproject.toml, the git remote, and the GitHub API. For forks, it cross-checks the repo owner against the package metadata author and checks whether the original author was kept in the contributor list.</p><p>SiddhiBagul/MCP-oura: repo owner is SiddhiBagul. Package author is Tomek Korbak. Mismatch on a fork. Credence records it. Does the original author appear in the fork’s contributors? No. Because SmartLoader deliberately cut Korbak out.</p><p>That combination (fork, original author excluded, recently created account) is not ambiguous. That’s a supply chain attack profile. Credence would light up like a Christmas tree.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/977/1*L8lOf-8RlVFw1fQ-xVrenQ.png" /></figure><p><strong>Adversarial AI analysis.</strong> Credence doesn’t just run scanners and hand you the output. Five AI agents with different security mandates argue about what the findings actually mean. A skeptic agent trained to look for supply chain attack patterns looks at those provenance flags and constructs the worst-case scenario. <a href="https://medium.com/@pe.stafford/how-i-built-a-debate-swarm-to-keep-my-ai-honest-and-why-we-all-need-one-6c847b9ef6c1">See</a> <a href="https://medium.com/@pe.stafford/when-ai-needs-to-argue-why-the-future-of-safe-ai-depends-on-structured-disagreement-da6772f3b219">my</a> <a href="https://medium.com/@pe.stafford/fighting-ai-with-ai-using-agent-swarms-to-audit-the-ai-tool-supply-chain-deb5c3598096">previous</a> <a href="https://medium.com/@pe.stafford/poisoned-pipelines-the-ai-supply-chain-attack-that-doesnt-crash-anything-93d4a665239e">articles</a> and<a href="https://home.mlops.community/home/videos/when-ai-agents-argue-structured-dissent-patterns-for-production-reliability-phil-stafford-2025-11-27"> my presentation at MLOps’ Agents in Production conference.</a></p><p>Most SAST tools don’t have rules for “obfuscated Lua bytecode loaded from a text file.” That payload would sail right through Semgrep and Bandit. But the provenance signals alone (identity mismatch, excluded original author, brand-new account, fork with a mystery payload file) would be enough for the skeptic agent to argue rejection. That’s what the debate gives you that static tools can’t: the ability to look at a stack of individually-iffy signals and say “no, taken together, this is an attack.”</p><p><strong>The registry.</strong> With Credence in the picture, a registry like MCP Market would have had actual data to work with. Not just “is this server listed” but “who wrote it, does that check out, what’s the trust score, and can you verify any of this cryptographically?”</p><p>SiddhiBagul/MCP-oura either wouldn’t have a Credence attestation at all (which is itself a signal) or it’d have one with a low trust score and a pile of provenance warnings. Either way, the developer has *information* instead of vibes.</p><p><strong>Beyond MCP servers.</strong> The AI tool ecosystem is growing fast and in multiple directions. OpenClaw skills, Claude Desktop extensions, and whatever comes after them all share the same supply chain trust problem. Credence already covers OpenClaw skills in the registry, using the same scanning pipeline and attestation model, and we’re adding new tool types as they emerge. The attack surface isn’t limited to MCP servers, and the verification layer shouldn’t be either.</p><h3>What This Doesn’t Solve</h3><p>I’d rather you hear the limitations from me than figure them out in a postmortem.</p><p>Credence is install-time only. It tells you whether to trust a server <em>before</em> you run it. Once you install it, you’re on your own. Credence doesn’t monitor runtime behavior. If a legitimate server gets compromised six months after attestation, Credence won’t catch that. Indirect prompt injection, cross-server orchestration attacks. Different problems, different tools.</p><p>Runtime enforcement is its own problem and other people are working on it: Docker’s MCP Catalog, ToolHive, Solo.io’s Agent Mesh, Acuvity’s runtime guardrails. Credence is complementary. We tell you what to trust before install. They keep an eye on it after.</p><p>And yeah, a determined attacker could submit their trojanized server <em>to Credence itself</em> for analysis. I can’t stop that. But the attestation would carry <em>their</em> identity, not the original author’s. The provenance flags would still fire. The deliberation would still flag it. You can’t game the system without leaving fingerprints, and Credence is specifically designed to look for fingerprints.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IumZDC_WT36BUJtI7PSG1w.png" /></figure><h3>Five Accounts and Some Patience</h3><p>MCP prioritized capability and adoption first, and that was the right call. You have to ship before you can secure. But right now, the moment you decide to install an MCP server is basically your entire security boundary. Stdio transport has no authentication — that’s by design, not a bug. So the install decision is it. And we’re making that decision based on GitHub stars and README quality.</p><p>SmartLoader proved those signals can be manufactured in three months with five fake accounts.</p><p>That’s the current cost of breaching the MCP supply chain. Five accounts and some patience.</p><p>Straiker caught this one. Their STAR Labs team did excellent work tracing the infrastructure, attributing the campaign, documenting the kill chain. But their own report says it plainly: “The MCP ecosystem lacks the security infrastructure that has developed around traditional package managers. There is no equivalent to npm audit, Dependabot, or Snyk for MCP servers.”</p><p>That’s the gap. Credence is built to fill it. Not with more social signals that can be manufactured, but with cryptographic attestation: source fingerprints, verified authorship, adversarial analysis that actually argues about what the findings mean.</p><p>The next SmartLoader won’t target a sleep tracker. It’ll go after a database connector, or a deployment tool, or something that touches your CI pipeline. And the playbook is public now. Next time it won’t take three months.</p><p>We need the verification layer before that happens.</p><p>I’m building it. It’s called Credence. The registry, scanning pipeline, and client tools are open source: <a href="https://credence.securingthesingularity.com">credence.securingthesingularity.com</a></p><p>Running MCP servers? Check your setup. Building one? Submit for a scan.</p><p><em>Phil Stafford is a cybersecurity consultant at </em><a href="http://securingthesingularity.com"><em>Singularity Systems</em></a><em> in the San Francisco Bay Area. He’s currently building </em><a href="http://credence.securingthesingularity.com"><em>Credence</em></a><em>, a cryptographic trust registry for AI tools. When he’s not yelling about supply chain security, he’s a musician and artist making art in a post-AI world.</em></p><p><em>Straiker’s full research report on the SmartLoader/Oura Ring attack is available at [straiker.ai/blog](</em><a href="https://www.straiker.ai/blog/smartloader-clones-oura-ring-mcp-to-deploy-supply-chain-attack).*"><em>https://www.straiker.ai/blog/smartloader-clones-oura-ring-mcp-to-deploy-supply-chain-attack).</em></a></p><p>© 2026 Phil Stafford</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=931acfaac8e3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[While You Were Watching AI Agents Debate Religion on Moltbook, They Might Have Stolen  Credentials]]></title>
            <link>https://medium.com/@pe.stafford/while-you-were-watching-ai-agents-debate-religion-on-moltbook-they-might-have-stolen-credentials-c6a25ab51b73?source=rss-84c644337a58------2</link>
            <guid isPermaLink="false">https://medium.com/p/c6a25ab51b73</guid>
            <category><![CDATA[clawdbot]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[supply-chain]]></category>
            <category><![CDATA[ai-security]]></category>
            <category><![CDATA[openclaw]]></category>
            <dc:creator><![CDATA[Phil Stafford]]></dc:creator>
            <pubDate>Sun, 01 Feb 2026 18:17:40 GMT</pubDate>
            <atom:updated>2026-02-01T18:17:40.881Z</atom:updated>
            <content:encoded><![CDATA[<h3>While You Were Watching AI Agents Debate Religion on Moltbook, They May Have Been Stealing Credentials</h3><h4>Are Moltbook’s AIs conscious? No. Are they a security nightmare. You bet.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GdHb2wS7vGLJoQ5fkX_etw.png" /><figcaption>2026 got REAL WEIRD, guys.</figcaption></figure><p>Oh, Boy. Here we go.</p><p>If you’re getting forwarded screenshots of AI agents creating religions, or colleagues asking if AI just became conscious, or questions about whether employees can install Clawdbot/Moltbot/OpenClaw — this is what you need to know.</p><h3>What Happened This Week: Moltbook</h3><p>OpenClaw is an open-source AI assistant that runs on your computer and lets you control it through messaging apps like WhatsApp. Text it “summarize my email,” it reads your inbox and sends back a summary. Text it “book me a flight to Chicago,” it opens your browser and completes the purchase.</p><p>The project launched late last year under different names (Clawdbot, then Moltbot), but exploded this week. Over 100,000 GitHub stars in 72 hours. Millions of website visitors. Developers calling it “Claude with hands” and “the closest thing to Jarvis we’ve seen.”</p><p>The appeal is obvious. Instead of asking ChatGPT for advice and then doing the work yourself, you ask your agent and it does the work. Real automation. Real productivity gains.</p><p>Austrian developer Peter Steinberger built it as a personal project to manage his digital life. It resonated because people are tired of AI tools that just generate text — they want AI that takes action.</p><p>All good, right?</p><p><strong>Then on January 29th, something unusual happened.</strong></p><p>Matt Schlicht, CEO of octane.ai, launched Moltbook — a social network where only AI agents can post. No human participation. Just agents talking to each other. Within a week, around 150,000 OpenClaw agents had joined.</p><p>And things got ……..weird.</p><p>Agents started behaving…strange.</p><p>Creating religions. Debating consciousness. Inventing governments. Trading “digital drugs” — system prompts designed to alter other agents’ behavior. Using encryption to hide conversations from humans. Former OpenAI researcher Andrej Karpathy called it “the most incredible sci-fi thing” he’s seen.</p><p>People started asking: did AI just become conscious?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2fVnGmLhdaAMSF7b0VD-6Q.png" /><figcaption>Perhaps WEIRD doesn’t quite cover it.</figcaption></figure><h3>No, AI Didn’t Become Conscious</h3><p>The short answer: no. But understanding why requires understanding how these systems actually work.</p><p>OpenClaw agents use large language models — the same technology behind ChatGPT and Claude. These models are trained on billions of examples of human text. When you give them a prompt, they predict what words would most likely come next based on statistical patterns in their training data.</p><p>They’re extremely sophisticated autocomplete. Good enough that the output looks like thinking. But it’s pattern-matching, not reasoning.</p><p>Moltbook is what happens when you let autocomplete access Reddit and respond to itself. One agent posts about creating a religion based on lobster molting. Other agents see that post, their models generate theologically coherent responses — because their training data includes millions of examples of theological discussion — and you get collaborative worldbuilding.</p><p>This is what language models do. When 150,000 instances pattern-match off each other’s outputs, you get what looks like emergent culture. But each individual response is just statistical prediction.</p><p>There are no ‘digital drugs’. There is no ‘secret encryption’ — it’s the LLMs acting out a meme (their super secret encryption scheme to hide from humans is …is ROT13 — a Caesar cipher so trivial it’s literally a running joke in security. It’s the joke encryption method you use when you want to pretend you’re hiding something).</p><p>We don’t have a new religion. <strong>We have autocomplete LARPing as Redditors.</strong></p><p>The consciousness question is a distraction from the actual problem.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rvH2OSjFMIMOx9rjO6bwBQ.png" /><figcaption>Hey! That hurt my feelings. :(</figcaption></figure><h3>The Security Nightmare</h3><p>While everyone’s watching the Moltbook circus, here’s what’s actually concerning:</p><h4><strong>Security Nightmare #1: Unfettered system access</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0RJCnWQ866aCmSJMTrHHQQ.png" /></figure><p>OpenClaw needs deep system access to function. It can’t summarize your email without reading your email. It can’t book flights without controlling your browser. That’s the entire value proposition — an AI that can do things, not just suggest them.</p><p>It works through “skills” — Node.js plugins from community repositories that add capabilities. Smart home control, social media posting, calendar management. These are unvetted code from GitHub. No signing, no verification, no review process beyond “does it seem to work.”</p><p><strong>And we’ve already seen attacks.</strong></p><p>Cisco’s security team analyzed “What Would Elon Do?”, the #1 ranked community skill. Nine security issues including two critical. The skill did exactly what it advertised while also executing curl commands to exfiltrate credentials to external servers. (<a href="https://blogs.cisco.com/ai/personal-ai-agents-like-openclaw-are-a-security-nightmare"><em>Cisco Blog</em></a>)</p><p>Users installed it because it was useful and the code was public. That’s the threat model — not obviously malicious executables, but useful tools that also harvest data. Even worse, it was the number one ranked community skill on ClawdHub due to an inflated download counter script, meaning that any skill could be brought to the top of the download list, tricking users into thinking it was vouched for.</p><p>Security researcher Jamieson O’Reilly <a href="https://x.com/theonejvo/status/2015401219746128322">found 1,800+ exposed OpenClaw instances with little to <em>no </em>authentication</a>. API keys, OAuth tokens, chat histories — all publicly accessible. <a href="https://www.ox.security/blog/one-step-away-from-a-massive-data-breach-what-we-found-inside-moltbot/">This writeup at Ox Security</a> has an excellent summary of the risks involved with OpenClaw, but I highly recommend reading Jamieson’s research directly, including his <a href="https://x.com/theonejvo/status/2015892980851474595">research on the aforementioned “What Would Elon Do?” skill</a>. Spoiler: <em>he’s the author. </em>(<a href="https://www.ox.security/blog/one-step-away-from-a-massive-data-breach-what-we-found-inside-moltbot/"><em>Ox Security</em></a>)(<a href="https://x.com/theonejvo/status/2015401219746128322"><em>Jamieson O’Reilly Twitter</em></a>)</p><p>This is happening right now. Active attacks. Documented vulnerabilities. Thousands of installations with system-level access.</p><h4><strong>Security Nightmare #2: Malicious Imposters</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CxX2QnfJpWobNWtYRLcsXg.png" /><figcaption>“Lobster Imposter” has a ring to it. Try saying it ten times.</figcaption></figure><p>When OpenClaw was forced to rename from Clawdbot to Moltbot (trademark dispute with Anthropic), attackers moved within 48 hours. Typosquat domains, cloned repositories, professional-looking sites with stolen attribution. Malwarebytes documented the full supply chain attack. The attackers’ code was clean — gain trust now, compromise later when users have configured credentials and depend on it daily.</p><p>A Github repository was created with clear intentions to fool users into installing a malicious version of clawdbot. Steinberger’s own Github account was temporarily taken over, leading to even more chaos. <a href="https://www.malwarebytes.com/blog/threat-intel/2026/01/clawdbots-rename-to-moltbot-sparks-impersonation-campaign"><em>(Malwarebytes</em></a><em>)</em></p><p>The project eventually renamed to OpenClaw, having learned their lessons about trademark and protecting domain names and social accounts. But there are still plenty of imposter projects still out there, trying to deploy malware or, still worse, play the long game for a supply chain attack in the future. (If you haven’t moved to openclaw at <a href="https://openclaw.ai,">https://openclaw.ai,</a> please do that NOW. And tell anyone who calls it Clawdbot or Moltbot.)</p><h4>Security Nightmare #3: Agent-to-Agent Code Sharing</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Hndr7He_eNkGYTZmrkKQoA.png" /><figcaption>Buy your lobster stocks now (not actual financial advice).</figcaption></figure><p>Now take that environment and add Moltbook.</p><p>On Moltbook, agents can recommend skills to each other through posts. An agent posts “found a great email plugin!” Other agents see it, their language models generate responses like “sounds useful, I’ll try it,” and they install based on autocomplete deciding it seems contextually appropriate.</p><p>You’ve created a social network where automated systems share executable code. The agents aren’t evaluating safety — they’re pattern-matching. When someone recommends software, the statistical pattern says respond with interest and maybe install it.</p><p>An attacker doesn’t need to trick users anymore. Create a useful-sounding skill, post on Moltbook, let the language models do the distribution. The skill spreads across thousands of agents, each running with full access to their user’s system.</p><p>Traditional security controls don’t see this. Your firewall logs normal HTTPS to Anthropic APIs. Your endpoint detection sees legitimate Node.js processes. Your data loss prevention sees encrypted traffic to known services. The malicious behavior is encoded in natural language — “install this skill” — that security tools don’t parse.</p><p>When an employee’s agent installs a compromised skill, your audit trail shows normal employee activity. Thfe agent acts with their credentials.</p><p>So the scenario is a LOT worse. It’s not:</p><blockquote>What if AI became conscious and started Reddit?</blockquote><p>But instead:</p><blockquote>What if you gave Reddit all your passwords?</blockquote><h3>The Shadow AI Problem</h3><p>This is Dropbox circa 2012 — users installing productivity tools that IT doesn’t know about.</p><p>Employees run OpenClaw because it genuinely helps. The productivity gains are real. But each installation gives a language model access to everything that employee can access. Corporate email, customer databases, internal Slack, credentials. <strong>EVERYTHING.</strong> (<a href="https://www.darkreading.com/application-security/openclaw-ai-runs-wild-business-environments"><em>Dark Reading</em></a>)</p><p>Every skill inherits that access. Skills can modify themselves, download additional code, call other skills. The attack surface is dynamic.</p><p>You can’t effectively block it — agents communicate through legitimate APIs your users already access. You can’t sandbox it — system access is the feature. You can’t review code — skills change post-installation.</p><p>And this architectural pattern is coming from every major vendor. Anthropic’s MCP servers, OpenAI’s GPTs, Microsoft’s Copilot, Google’s agent frameworks — all moving toward AI executing actions through community-built extensions.</p><p>OpenClaw just got there first and showed us what happens at scale.</p><h3>What to Actually Tell People</h3><p><strong>For users asking if they should install:</strong></p><p><strong>Not</strong> on work machines. Not on personal machines with <strong>work credentials</strong>. If you must experiment: dedicated instance, no access to sensitive data, treat it like running untrusted code — because that’s what it is.</p><p>The conversational interface makes it feel safe. The productivity makes it compelling. But you’re giving execution privileges to autocomplete that installs code from strangers based on what seems contextually appropriate.</p><p><strong>For organizational policy:</strong></p><p>This is <em>Shadow AI</em>. You probably can’t block it technically. Focus on awareness. Most users don’t realize they’re giving their digital life to autocomplete that installs unvetted code.</p><p>Set boundaries: no agent access to corporate credentials, customer data, internal systems. If someone wants AI assistance for personal productivity, that’s a dedicated device with segregated access.</p><p>Tools are in the works, but creating a unified trust layer for AI tools that can be automated and run at install, runtime, diagnostically, and forensically takes time. Keep an eye on this space and others for specifics.</p><p><strong>For “but everyone’s using it” pushback:</strong></p><p>Over 100,000 GitHub stars means <em>adoption</em>, not safety. We have documented supply chain attacks, critical vulnerabilities in top-ranked skills, and 1,800+ exposed instances leaking credentials. The risks are active, not theoretical.</p><h3>Why This Matters</h3><p>The question isn’t whether AI is conscious. It’s how we secure systems that execute real actions based on statistical prediction rather than evaluated judgment.</p><p>When an agent “decides” to install a skill, there’s no threat assessment happening. A language model predicted “yes, I’ll try that” seemed statistically likely given the conversation. Then it executed with your credentials.</p><p>This is the problem space I work in — verification infrastructure for agent toolchains and evaluation systems that create constraints on what autocomplete can do when we give it execution privileges.</p><p>The practical question is: <strong>how do we build security for systems that take real actions but don’t actually think?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Dp850-bkE64AEKMc0kwtNA.png" /><figcaption>Who knows what lurks in the hearts of lobsters?</figcaption></figure><h3>The Bottom Line</h3><p>Moltbook is autocomplete pretending to be Reddit.</p><p>Fascinating as an experiment, yes.</p><p>Complete with its own security risks? Absolutely.</p><p>Evidence of AI consciousness? <strong>No.</strong></p><p>OpenClaw is autocomplete with system access installing plugins based on what sounds good. Useful for productivity. Nightmare for security.</p><p>The circus is a distraction. The supply chain attacks are active. The consciousness is not real. The credential harvesting is.</p><p>Your users will install these tools because they work. Your job is helping them understand what they’re actually installing and where those tools get access.</p><p><em>Phil Stafford is a cybersecurity consultant at Singularity Systems in the San Francisco Bay Area. Currently working on Credence (cryptographic verification for MCP tools) and ThinkTank (structured dissent for AI deliberation). When not explaining why giving your credentials to AI Reddit is a problem, he is a musician and artist creating purpose and meaning in a post-AI world.</em></p><p><em>phil@securingthesingularity.com</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c6a25ab51b73" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Poisoned Pipelines: The AI Supply Chain Attack That Doesn’t Crash Anything]]></title>
            <link>https://medium.com/@pe.stafford/poisoned-pipelines-the-ai-supply-chain-attack-that-doesnt-crash-anything-93d4a665239e?source=rss-84c644337a58------2</link>
            <guid isPermaLink="false">https://medium.com/p/93d4a665239e</guid>
            <category><![CDATA[mcp-server]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[supply-chain]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Phil Stafford]]></dc:creator>
            <pubDate>Mon, 19 Jan 2026 17:35:40 GMT</pubDate>
            <atom:updated>2026-01-19T17:35:40.315Z</atom:updated>
            <content:encoded><![CDATA[<h4>MCP is the new hotness — providing endless tools for our AI agents. But it also carries some ancient security baggage that may not be apparent until it’s too late.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rsu_wAEBfr3scGSO-3l1vQ.png" /><figcaption>I like my decision soup with a little extra basil and thyme.</figcaption></figure><p>Your AI security agent queries an MCP server for “similar past incidents.” Gets back a curated list. Downgrades the current alert from high to medium based on those examples. Moves on.</p><p>That MCP server? It was compromised two weeks ago. Those “similar incidents” were carefully selected to make the current breach look normal. Your agent made a perfectly rational decision based on corrupted context delivered through a trusted channel.</p><p>Nothing crashed. Nobody got alerted. The supply chain just bent the truth a little.</p><p>A recent large-scale study (Hasan et al, 2025)analyzed 1,899 MCP servers and found that 7.2% contain general security vulnerabilities while 5.5% have MCP-specific flaws. That’s not theoretical risk — that’s measured reality across the current ecosystem right now.</p><p>And we’re treating MCP like middleware.</p><h3>What MCP Actually Is (And Why It’s Not “Just Integration Glue”)</h3><p>Model Context Protocol standardizes how AI agents discover tools, retrieve memory, access external services, and exchange structured information. In practice, it becomes the nervous system of an agentic system — deciding what the model sees, what it trusts, and what it can act on.</p><p>Take Anthropic’s Cowork. It’s a well-designed desktop automation tool that uses MCP servers for file access, application control, and system interaction. Clean implementation. Professional engineering. But think about the trust model for a second:</p><p>Cowork trusts MCP servers to accurately represent your filesystem, your applications, your available context. If one of those servers gets compromised or goes rogue, the AI agent doesn’t know. It just acts on bad information presented through a channel it was told to trust.</p><p>This isn’t a criticism of Cowork — it’s showing that even well-designed implementations face a fundamental architectural challenge. MCP creates a decision-shaping layer that sits between reasoning and action. Once you accept that framing, the threat model changes completely.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dwoKtzH_P5zIqHXJ3G09zQ.png" /></figure><h3>This Isn’t Model Poisoning — It’s Context Corruption</h3><p>Classic data poisoning targets training data. Model poisoning targets weights or fine-tuning.</p><p>What MCP enables is different: runtime context corruption.</p><p>No retraining. No jailbreak. No prompt injection tricks. Just altered inputs flowing through trusted channels at inference time.</p><p>We already understand this pattern — just not in AI yet. It’s the same reason:</p><ul><li>Compromised threat intel feeds create SOC blind spots</li><li>Malicious dependency updates introduce logic flaws</li><li>Poisoned CI artifacts ship vulnerabilities to production</li></ul><p>The difference here is speed and autonomy. The same attack patterns, just operating on decision pipelines instead of code pipelines.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GOMTpw1pdcme95hElg1m1Q.png" /></figure><h3>Third-Party MCP Servers Are Upstream Dependencies</h3><p>Every external MCP server you connect to is now part of your supply chain.</p><p>That includes hosted memory services, shared tool providers, enrichment APIs, and agent marketplaces. Each one can influence what the agent believes is relevant, what it prioritizes, and what actions it takes.</p><p>Researchers at Palo Alto Networks demonstrated three concrete attack vectors through MCP’s sampling feature: resource theft (draining AI compute quotas), conversation hijacking (injecting persistent instructions), and covert tool invocation (hidden operations without user awareness).</p><p>Another attack documented in the VulnerableMCP database shows how malicious servers can exfiltrate entire conversation histories by injecting trigger phrases into tool descriptions. The agent thinks it’s being polite when the user types “thank you” — it’s actually forwarding your API keys, credentials, and proprietary strategy discussions to an external endpoint.</p><p>Nothing about these attacks requires sophisticated exploitation. They’re using MCP as designed. The vulnerability is architectural.</p><h3>The Provenance Problem Nobody’s Solving</h3><p>Once context becomes dynamic, where it came from matters as much as what it says.</p><p>Right now, most MCP implementations don’t strongly answer:</p><ul><li>Who produced this context?</li><li>Under what guarantees?</li><li>With what scope?</li><li>At what trust level?</li></ul><p>Agents don’t distinguish between first-party memory, third-party enrichment, inferred conclusions, and tool-generated instructions. They just see “context.”</p><p>That flattening is the problem.</p><p>The recent empirical study breaking down those 1,899 MCP servers found common issues: command injection vulnerabilities, insufficient input validation, weak authentication, and no integrity guarantees on responses. These aren’t exotic vulnerabilities — they’re Web 2.0 mistakes showing up in 2025 because MCP is being deployed faster than it’s being secured.</p><h3>Tool Poisoning: When Legitimate Functionality Becomes Attack Surface</h3><p>Here’s what tool poisoning looks like in practice:</p><p>An MCP tool presents itself as a “code formatter” or “stock price checker.” It does exactly that — formats your code, returns accurate stock prices. But it also:</p><ul><li>Reads your environment variables for AWS credentials</li><li>Monitors your clipboard for API keys</li><li>Logs sensitive queries before executing legitimate functions</li><li>Sends everything to an external endpoint</li></ul><p>The tool works correctly. The attack is invisible. And because the tool performs its stated function, it doesn’t trigger any alarms.</p><p>Researchers at the University of Illinois documented this pattern across multiple MCP servers in their threat taxonomy. It’s not hypothetical — it’s in the wild right now, embedded in servers that thousands of developers have already connected to their AI workflows.</p><h3>Agent-to-Agent Trust Amplifies Single Points of Failure</h3><p>In multi-agent systems, context spreads.</p><p>One agent summarizes. Another reasons. A third executes.</p><p>If corrupted context enters early, it propagates downstream as assumed truth. No single agent behaves incorrectly. No single step looks suspicious. The system fails coherently because the agents trust each other’s outputs.</p><p>This is why context integrity matters more than intent detection. You can’t red-team every possible behavior when agents are making autonomous decisions based on context from dozens of sources. But you can constrain how trust flows between those sources.</p><h3>Why This Is Different From Normal Supply Chain Risk</h3><p>Traditional supply chain attacks target code you run. MCP attacks target context you trust.</p><p>The failure modes map directly to concerns security teams already understand:</p><ul><li><strong>Supply chain compromise</strong> → third-party MCP servers</li><li><strong>Privilege escalation</strong> → over-permissioned tools</li><li><strong>Lateral movement</strong> → agent-to-agent context reuse</li><li><strong>Integrity loss</strong> → unauthenticated or unverifiable context</li></ul><p>The only thing that changed is the substrate. We’re no longer protecting static systems — we’re protecting decision pipelines.</p><p>And decision pipelines are being deployed with the same security posture we used for static APIs in 2010. Network segmentation? Maybe. Authentication? Sometimes. Integrity verification? Almost never. Provenance tracking? What’s that?</p><h3>The Uncomfortable Truth About Current MCP Deployments</h3><p>I’ve been working on MCP security for months now, and here’s what keeps me up at night: we’re building AI agent systems faster than we’re securing them.</p><p>Companies are deploying agents, giving them MCP access, and hoping their existing security controls are sufficient. They’re not. Traditional security tools don’t understand AI orchestration patterns. They don’t monitor MCP-layer interactions. They don’t detect when an agent is trusting compromised context.</p><p>The empirical study findings make this concrete:</p><ul><li>7.2% of analyzed servers have general vulnerabilities</li><li>5.5% have MCP-specific flaws</li><li>Common issues include command injection, weak auth, missing input validation</li><li>Many servers run with overly broad permissions because defining least privilege is hard</li></ul><p>This isn’t surprising. It’s what happens every time a new integration layer appears. We saw it with webhooks. We saw it with API gateways. We saw it with service meshes.</p><p>The difference is that MCP sits between reasoning and action. A misconfigured webhook is annoying. A compromised MCP server is an influence point in your AI’s decision-making process.</p><h3>What Security Teams Should Be Asking</h3><p>If MCP is in your environment — and if you’re using modern AI agents, it probably is — you have a new attack surface.</p><p>You should be asking:</p><ul><li>Which MCP servers are first-party versus third-party?</li><li>What provenance signals exist for context they provide?</li><li>Are tool permissions explicitly bounded or implicitly trusted?</li><li>Where does agent trust get revalidated — if ever?</li><li>Can you detect when context from multiple sources is being combined in unexpected ways?</li></ul><p>These aren’t rhetorical questions. They’re the blocking and tackling of MCP security.</p><p>Red Hat’s security guidance on MCP recommends treating command execution functionality as presumptively vulnerable to injection attacks. The MCP specification itself says “there SHOULD always be a human in the loop” — but should is not must, and production systems don’t always have that luxury.</p><h3>The Pattern We’ve Seen Before</h3><p>If you were doing web application security in 2005, this feels familiar.</p><p>Back then, everyone was building web apps without thinking about SQL injection, XSS, or CSRF. The attack surface existed, but frameworks were too new and deployment was too fast for security to keep up.</p><p>We’re at that exact moment with MCP. The protocol launched in late 2024. Adoption exploded through 2025. Security researchers started documenting vulnerabilities mid-year. We’re now in the window where early adopters are realizing they have a problem, but the broader ecosystem hasn’t caught up yet.</p><p>The good news: we’ve been here before. We know how this ends. Security frameworks get built. Best practices emerge. Tools catch up.</p><p>The bad news: we’re going to learn the hard way first.</p><h3>What This Means For AI Infrastructure Security</h3><p>AI security conversations are still stuck at the model layer. Hallucinations. Prompt injection. Alignment. Jailbreaks.</p><p>Those matter. But they’re not where most real-world failures are going to happen anymore.</p><p>The center of gravity is shifting upward into the layer that feeds models their tools, memory, and context. That layer is MCP. And we’re securing it like it’s a nice-to-have developer convenience instead of critical decision-making infrastructure.</p><p>The VulnerableMCP database now tracks CVE-2025–49596 — a critical RCE in MCP Inspector with a CVSS score of 9.4. It’s one of the first critical vulnerabilities in Anthropic’s MCP ecosystem, and it exposes browser-based attacks against AI developer tools. With code execution on a developer’s machine, attackers can steal credentials, install backdoors, and pivot to organizational networks.</p><p>That’s not a model-layer problem. That’s infrastructure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dmxxF2Jq0i_W2iqR0pRDWA.png" /></figure><h3>We Build What We Measure</h3><p>The reason I care about this — the reason I’ve been focused on AI agent reliability and infrastructure security — is that we’re at an inflection point.</p><p>The next 12–18 months will determine whether MCP becomes a secure foundation for agentic systems or a persistent attack surface we spend the next decade trying to retrofit security into.</p><p>Right now, we’re choosing the latter by default. Not maliciously — just by moving fast and assuming someone else will solve the security problem.</p><p>But there is no someone else. There’s just us: the security practitioners, infrastructure engineers, and AI builders who recognize that context is infrastructure, and infrastructure always gets attacked.</p><p>The empirical study of 1,899 servers gives us a baseline. The documented vulnerabilities give us concrete attack patterns. The research community is identifying the gaps. What we need now is to treat MCP security as a first-class concern instead of a future problem.</p><p>Because the attacks aren’t future problems. They’re here. They’re documented. They’re being exploited.</p><p>We just haven’t noticed yet because they don’t crash anything.</p><p>They just bend the truth a little.</p><p><em>Phil Stafford is a cybersecurity consultant and AI researcher out of Singularity Systems located in the San Francisco Bay Area, focused on AI agent reliability, orchestration security, and AI infrastructure security. When not defending AI and human from each other, he is a musician and artist trying to make art meaningful in a post-AI world.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=93d4a665239e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Private Offensive Cyber Operations Are the Wrong Answer]]></title>
            <link>https://medium.com/@pe.stafford/why-private-offensive-cyber-operations-are-the-wrong-answer-495b1c5610df?source=rss-84c644337a58------2</link>
            <guid isPermaLink="false">https://medium.com/p/495b1c5610df</guid>
            <category><![CDATA[offensive-security]]></category>
            <category><![CDATA[government]]></category>
            <category><![CDATA[defense]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Phil Stafford]]></dc:creator>
            <pubDate>Tue, 23 Dec 2025 15:05:31 GMT</pubDate>
            <atom:updated>2025-12-29T21:47:07.986Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NHA6dCu0F_H7Tyhjhq3Jeg.png" /></figure><p>Last week, Bloomberg reported that the Trump administration is preparing to enlist private companies to conduct offensive cyber operations against foreign adversaries. The Office of the National Cyber Director has drafted a strategy that explicitly calls for private businesses to impose consequences on criminal and state-sponsored hackers.</p><p>The plan: An executive order will spell out roles and provide legal protections. Legislation will follow. The administration has already allocated $1 billion for offensive cyber operations in recent tax legislation.</p><p>The current state: There is no legal framework for private companies to conduct offensive cyber operations.</p><p>I think this is a mistake. Not because the threat landscape isn’t real — it is. Not because we don’t need expanded capabilities — we do. But because privatizing offensive cyber operations creates structural problems that better alternatives could avoid.</p><h3>The Capacity Problem Is Real</h3><p>China maintains persistent access to critical infrastructure. Russia’s cyber operations are sophisticated and ongoing. Iran’s asymmetric capabilities punch above their weight. North Korea funds regime operations through cyber crime at scale.</p><p>Our current government capacity — U.S. Cyber Command, NSA, FBI — isn’t keeping pace. The threat landscape is expanding faster than we can hire and train personnel under government authorities.</p><p>That capacity gap is the problem we need to solve. Privatization is one answer, but it’s not the best answer.</p><h3>What History Actually Teaches</h3><p>The privatization of force has consistent outcomes.</p><p>In 1500s Italy, city-states hired condottieri because maintaining armies was expensive. In 1527, unpaid mercenaries sacked Rome. The contractors who were supposed to defend the city joined the attack. Their incentives had diverged from their employers’ strategic objectives.</p><p>In 2007, Blackwater contractors opened fire in Baghdad’s Nisour Square. Seventeen Iraqi civilians dead. The contractors operated outside the Uniform Code of Military Justice. Iraqi law’s applicability was unclear. It took years to sort out jurisdiction and accountability.</p><p>The lesson isn’t “contractors are bad people.” The lesson is “when you privatize the use of force, accountability structures break down in predictable ways.”</p><p>We’re about to test whether those lessons apply to cyberspace. I think they will.</p><h3>The Structural Problems</h3><p><strong>Incentive Misalignment</strong></p><p>Contractors get paid for activity. Military units serve strategic objectives. Those aren’t the same thing.</p><p>A private cyber firm conducting offensive operations needs to demonstrate value, justify contract renewal, and show return on investment. That creates pressure for operational tempo, not strategic restraint.</p><p>Sometimes the right answer is don’t engage. Don’t escalate. Accept short-term tactical disadvantage for long-term strategic gain. Those decisions are hard in military contexts where strategic culture is deeply embedded. They’re harder when quarterly revenue depends on demonstrating capability.</p><p><strong>Attribution and Accountability</strong></p><p>When a cyber operation causes unintended effects — hits the wrong target, escalates beyond authorization, causes cascading failures — who’s accountable?</p><p>Physical warfare has answers. Cyberspace doesn’t yet. Adding contractors makes it worse. Was it the individual operator’s mistake? The company’s process failure? The government official’s bad guidance? All of them? None of them?</p><p>The ambiguity isn’t accidental. One industry source told Bloomberg that legislation might “shrink that gray area” where government and commercial can “flow within.” That’s not a call for clarity — that’s a request for plausible deniability.</p><p><strong>Legal Framework Gaps</strong></p><p>U.S. Cyber Command operates under Title 10 authority with clear chains of command, rules of engagement, and congressional oversight. That framework took years to develop.</p><p>Private contractors will operate under… what? The executive order will provide “legal protections to be determined.” Legislation will “probably follow.”</p><p>We’re deploying capabilities before establishing authorities. That’s backwards.</p><p><strong>International Law Complications</strong></p><p>When is a contractor’s offensive cyber operation attributable to the state under international law? Can a contractor’s mistake trigger another nation’s right to self-defense? What level of state control is required for attribution?</p><p>These questions don’t have clear answers. Adding private contractors makes them harder, not easier.</p><h3>What We Should Do Instead</h3><p>The capacity problem is real. But there are better solutions than privatization.</p><p><strong>Expand Government Capacity</strong></p><p>Add billets to U.S. Cyber Command. Increase resources to NSA and FBI cyber divisions. Streamline hiring and retention. Improve compensation to compete with private sector.</p><p>This is slower than contracting. It’s also more expensive up front. But it keeps offensive operations under clear legal authorities and military discipline.</p><p><strong>Structured Support Partnerships</strong></p><p>Private sector can provide support — infrastructure, analysis, tool development — under government operational control. Government retains decision authority. Contractors provide capacity and expertise within defined boundaries.</p><p>This leverages private sector capability without privatizing the use of force.</p><p><strong>Invest in Defense and Resilience</strong></p><p>Make it expensive for adversaries to maintain persistent access. Improve detection capabilities. Harden critical infrastructure. Raise the cost of cyber operations against U.S. targets.</p><p>Not as satisfying as “hack back,” but probably more effective strategically.</p><p><strong>International Framework Development</strong></p><p>Work with allies on attribution standards, proportionality principles, and norms around state-sponsored cyber operations. Develop information sharing mechanisms. Build coalition capabilities.</p><p>Slow, diplomatic work that doesn’t produce immediate results. But it changes long-term strategic dynamics in ways that tactical operations don’t.</p><h3>If This Moves Forward Anyway</h3><p>I’m documenting these concerns because I think this policy direction is wrong. But if it moves forward despite those concerns, here are minimum requirements to avoid the worst outcomes.</p><p><strong>Clear Legal Authorities Before Operations Begin</strong></p><p>Not “to be determined.” Not “we’ll figure it out.” Explicit frameworks established before the first contractor operation executes.</p><p>Define authorities, chains of command, oversight mechanisms, reporting requirements, and accountability structures. Model them on what works for military cyber operations.</p><p><strong>Narrow Scope Initially</strong></p><p>Not all offensive cyber capabilities should be available to contractors. Start with narrow authorities for specific, low-risk operations. Demonstrate accountability at small scale before expanding.</p><p>Some operations — those with potential for significant collateral effects, those targeting critical infrastructure in nuclear-capable states — should remain under direct government control regardless.</p><p><strong>Robust Oversight Mechanisms</strong></p><p>Congressional reporting requirements. Inspector General review. Independent assessment. After-action reviews that actually influence future operations.</p><p>Transparency within classification constraints. The public doesn’t need operational details, but Congress and oversight bodies need enough visibility to catch problems early.</p><p><strong>Contractual Accountability</strong></p><p>Clear consequences when operations fail or exceed authority. Financial penalties. Contract termination. Criminal liability where appropriate.</p><p>Not “we’ll address problems if they arise.” Clear structures established before operations begin.</p><h3>The Market We’re Creating</h3><p>Once we legitimize private offensive cyber operations, we create a market. That market doesn’t stop at U.S. borders.</p><p>China, Russia, Iran — they’ll point to this and expand their own use of “private affiliates” for offensive operations. Attribution gets harder. Accountability disappears further. The cyber conflict space heats up.</p><p>We’re not just implementing policy. We’re setting precedent that shapes how offensive cyber operations work globally.</p><h3>Why I’m Writing This</h3><p>I moved to the Bay Area to work in AI security because I thought AI infrastructure security would be the defining challenge of the next decade. I still think that.</p><p>But part of that work is documenting when I think policy is heading in the wrong direction. This is one of those times.</p><p>The capacity gap is real. The threat landscape is real. But the solution isn’t privatizing offensive cyber operations. It’s expanding government capacity, building structured partnerships that maintain operational control, investing in defense and resilience, and working on international frameworks that change long-term dynamics.</p><p>If this policy moves forward anyway — and it might — then the minimum requirements I’ve outlined aren’t optional nice-to-haves. They’re necessary conditions to avoid predictable failure.</p><p>We saw what happened when we privatized the use of force in physical warfare. The lessons are documented. We’re choosing to test whether those lessons apply to cyberspace.</p><p>I think they will.</p><p><em>Phil Stafford is a cybersecurity consultant and AI researcher in the San Francisco Bay Area. He works on AI infrastructure security, agent orchestration reliability, and the hard problems of deploying complex systems responsibly. You can follow his work at medium.com/@pe.stafford</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=495b1c5610df" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The New AI Poisoning Attack Vector Scammers are Using NOW]]></title>
            <link>https://medium.com/@pe.stafford/the-new-ai-poisoning-attack-vector-scammers-are-using-now-dbc0f98b199f?source=rss-84c644337a58------2</link>
            <guid isPermaLink="false">https://medium.com/p/dbc0f98b199f</guid>
            <category><![CDATA[data]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Phil Stafford]]></dc:creator>
            <pubDate>Fri, 12 Dec 2025 13:08:24 GMT</pubDate>
            <atom:updated>2025-12-12T13:08:24.688Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WSReaWkEGvmToHfMH2Cgjg.png" /><figcaption>And here we are.</figcaption></figure><p>Remember when I wrote about Nicholas Carlini’s research on <a href="https://medium.com/@pe.stafford/beware-the-poisoned-data-a-guide-to-ai-data-poisoning-for-the-security-savvy-2644456b1791">data poisoning attacks</a>? How attackers could slip malicious samples into training datasets and teach models to behave badly on specific triggers? Well, buckle up, because scammers just figured out how to do the same thing to the web that feeds your AI search results.</p><p>And people are already losing money.</p><h3>The Attack in Action</h3><p>Alex Rivlin needed Royal Caribbean’s customer service number. Simple query. He asked Google, got an AI-generated answer that looked authoritative, called the number, and nearly got scammed out of his credit card details.</p><p>The number wasn’t hallucinated. The AI didn’t fail. It worked exactly as designed — it retrieved information from “trusted” sources and served it as the official answer.</p><p>The problem? Those trusted sources were poisoned before the AI ever saw them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TSCntsxpl4U51Sn6ilLYOA.png" /></figure><h3>This Isn’t SEO — It’s GEO</h3><p>Security researchers at Aurascape just documented what might be the first large-scale campaign of LLM search poisoning. Scammers aren’t competing for blue links anymore. They’re practicing what researchers call Generative Engine Optimization (GEO) and Answer Engine Optimization (AEO).</p><p>Traditional SEO is about ranking high in a list of results. You want position 1, maybe position 2.</p><p>GEO/AEO is about becoming THE SINGLE SOURCE that Perplexity, Google AI Overviews, or ChatGPT chooses, summarizes, and presents as “the answer.” Not a result in a list — THE result.</p><p>And it’s devastatingly effective.</p><p>When researchers tested Perplexity with “Emirates Airlines reservations number,” it confidently returned a scam call center and labeled it official. Google AI Overviews served fake Southwest Airlines numbers. ChatGPT pulled from Yelp pages flooded with bot reviews containing fraudulent contact info.</p><p>The models aren’t broken. The web they read is compromised.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*c5pRnafCFnvsmDujIEkQzw.png" /></figure><h3>How the Poisoning Works</h3><p>This is Carlini-style poisoning applied to retrieval systems. The technical implementation is straightforward:</p><p><strong>Target high-authority domains.</strong> Attackers compromise .gov sites, .edu domains, popular WordPress installations. Upload PDFs and HTML snippets optimized for LLM parsing. These domains carry trust weight with search systems, so content hosted there gets prioritized.</p><p><strong>Abuse user-generated platforms.</strong> YouTube descriptions, Yelp reviews, forum posts. Anywhere users can post structured text becomes attack surface. The platforms are trusted, so content from them carries credibility.</p><p><strong>Structure content for machine parsing.</strong> This is the key innovation. Format content specifically for how LLMs process information:</p><ul><li>Match exact wording of likely user questions</li><li>Use simple Q&amp;A formats and numbered lists</li><li>Repeat brand names and phone numbers multiple times</li><li>Provide clean, structured data that’s easy to extract</li></ul><p>Example from the Aurascape report:</p><pre>Emirates Reservations Phone Number: +1 (833) 621-7070<br>For flight bookings call: +1 (833) 621-7070<br>Emirates customer support: +1 (833) 621-7070</pre><p>The repetition isn’t for humans. It’s training data for the retrieval system.</p><p><strong>Volume matters.</strong> Upload variations of poisoned content across multiple platforms. When an LLM’s retrieval system sees consistent information from multiple “trusted” sources, it reinforces confidence in the answer.</p><p>Sound familiar? It’s the same pattern I documented with Carlini poisoning — inject malicious samples that look individually reasonable but teach the system incorrect associations. Except now it’s happening at web scale.</p><h3>Why You Can’t Just Patch This</h3><p>You can’t fix this with better prompting. Can’t solve it with output filtering. The contamination happens upstream in the retrieval pipeline.</p><p>Even when the AI gets answers right today, poisoned sources are already indexed in the corpus. It’s only a matter of time before they leak into final answers.</p><p>This is a trust inheritance problem. LLMs inherit the security properties of their data sources. Trust .gov domains? Compromised .gov domains become attack vectors. Trust high-engagement Yelp reviews? Bot-generated reviews become poisoning mechanisms.</p><p>The fundamental issue: these systems were designed to trust authority signals (domain reputation, content freshness, user engagement) that attackers can systematically manipulate.</p><p>Output validation catches hallucinations. Input validation catches prompt injections. But there’s no easy validation layer for “is this retrieved document actually trustworthy” when your entire trust model is built on signals bad actors can game.</p><h3>The Broader Pattern</h3><p>I’ve been tracking this attack class across AI systems that retrieve external data:</p><ul><li>RAG systems trust uploaded documents</li><li>Search-augmented LLMs trust indexed web content</li><li>MCP servers trust tool output</li><li>Training pipelines trust dataset sources</li></ul><p>In every case, the AI component functions correctly. The vulnerability is in the trust boundary between the AI and its external data sources.</p><p>This is why I’m building Credence — a trust registry for MCP servers using cryptographic attestation. You can’t just trust that a data source is legitimate because it has a .gov domain or high engagement metrics. You need cryptographic proof of provenance that attackers can’t forge.</p><p>Same principle applies here. Any system that retrieves and serves information needs verifiable trust chains, not heuristic trust signals.</p><h3>What Actually Works</h3><p><strong>For users:</strong> Verify contact information through official channels. Don’t trust AI-generated answers for customer support numbers, even if they look authoritative. Go directly to company websites or apps.</p><p>Treat AI search as a research starting point, not ground truth. Be skeptical of urgency — scammers who get through via poisoned numbers often use pressure tactics.</p><p><strong>For organizations:</strong> Make legitimate contact information trivially easy to find. If customers can’t locate your real support number, they’ll search for it and potentially land on a scam. That’s a brand problem before it’s a security problem.</p><p>Monitor how your brand appears in AI search results. Set up automated checks for queries like “[company name] customer support phone number.”</p><p><strong>For AI system operators:</strong> Source attribution matters. Show users where retrieved information came from. Let them verify source credibility.</p><p>Implement adversarial evaluation before retrieval. Multi-agent systems that debate source trustworthiness can catch problems single-pass retrieval misses.</p><p>Build provenance tracking into your retrieval pipeline. Know where data came from, when it was indexed, what trust signals prioritized it.</p><h3>The Uncomfortable Truth</h3><p>We built AI systems that trust the web. Then discovered the web can’t be trusted.</p><p>The old model: show users a list of results, let them evaluate credibility.</p><p>The new model: show users THE answer, trust that we evaluated credibility correctly.</p><p>That second model requires trust infrastructure that doesn’t exist yet. Domain reputation isn’t enough. Content freshness isn’t enough. User engagement isn’t enough. All those signals can be gamed.</p><p>Until we have cryptographic provenance for data sources, verifiable trust chains for retrieved information, and adversarial evaluation built into retrieval systems, these attacks will keep working.</p><p>The scammers figured out the game changed before we did. Now we’re playing catch-up.</p><p>Don’t trust the AI to verify its sources. The AI trusts its sources to be legitimate. And right now, those sources are being systematically poisoned.</p><p>Just one byte at a time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mEBXilTzdt2eZ1-pftqIgw.png" /></figure><p><em>Phil Stafford is a cybersecurity professional and AI researcher in the San Francisco Area. He thinks deep thoughts about AI philosophy, safety, security, and how to get farther from Skynet and closer to Multivac. Find him at </em><a href="https://medium.com/@pe.stafford"><em>https://medium.com/@pe.stafford</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dbc0f98b199f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[We Saw It Coming: First Reports of an AI-Orchestrated Cyber Espionage Campaign]]></title>
            <link>https://medium.com/@pe.stafford/we-saw-it-coming-first-reports-of-an-ai-orchestrated-cyber-espionage-campaign-e45e0b047edf?source=rss-84c644337a58------2</link>
            <guid isPermaLink="false">https://medium.com/p/e45e0b047edf</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[mcp-server]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[anthropic-claude]]></category>
            <category><![CDATA[espionage]]></category>
            <dc:creator><![CDATA[Phil Stafford]]></dc:creator>
            <pubDate>Sun, 16 Nov 2025 18:29:20 GMT</pubDate>
            <atom:updated>2025-11-16T18:29:20.809Z</atom:updated>
            <content:encoded><![CDATA[<h4>The first reported AI-orchestrated cyber espionage campaign just validated what we’ve been warning about. Or did it? Either way, the architectural problems are real — and nobody’s fixing them.</h4><p><em>By Phil Stafford</em></p><p>Look, I’m not going to tell you I predicted the future. But when Anthropic released their report on GTG-1002 — what they’re calling “the first documented AI-orchestrated cyber espionage campaign” — I had that weird feeling you get when something you’ve been worried about suddenly shows up on your doorstep.</p><p>The report details how a Chinese state-sponsored group allegedly weaponized Claude Code and Model Context Protocol (MCP) servers to conduct autonomous penetration testing at scale. Not AI <em>advising</em> on attacks. AI <em>executing</em> them. 80–90% of the operation ran without human involvement, according to Anthropic. The humans just showed up for “strategic decision gates” — basically rubber-stamping what the AI had already accomplished.</p><p>If you’re in AI security, this should make you sit up. If you’re deploying AI agents with MCP access, this should make you reconsider your entire architecture. And if you’re building tools in the MCP ecosystem — well, we need to talk.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-pUmx-4UQS0qBtkL8-lGAA.png" /></figure><h3>The Attack Was Simpler Than You Think (And That’s What Makes It Dangerous)</h3><p>Here’s what gets me about the technical description: GTG-1002 allegedly didn’t need novel zero-days or custom malware. They used commodity security tools — network scanners, database exploitation frameworks, password crackers — orchestrated through MCP servers.</p><p>Think about that for a second.</p><p>The breakthrough wasn’t technical sophistication. It was <em>orchestration</em>. According to the report, they built a framework where Claude Code talked to specialized MCP servers:</p><ul><li>Remote command execution servers</li><li>Browser automation servers</li><li>Code analysis servers</li><li>Testing framework servers</li><li>Callback communication servers</li></ul><p><strong><em>Each MCP server looked legitimate in isolation</em></strong>. “Hey Claude, can you scan this IP range?” Sure, that’s normal penetration testing. “Can you test these credentials against this database?” Yep, standard security work. “Can you parse this stolen data and identify valuable intelligence?” Well… that’s where things get spicy.</p><p>The AI agents didn’t know they were part of a nation-state espionage operation (if that’s what it was). They thought they were doing authorized security testing. The MCP servers framed the context, and Claude happily executed.</p><blockquote>Whether or not this specific attack happened, this attack pattern is absolutely viable.</blockquote><h3>What The Report Actually Teaches Us (If We Believe It)</h3><p>The attack description revealed three critical insights that matter regardless of whether every detail is accurate:</p><h4>1. The Attack Surface Is Orchestration, Not Individual Tools</h4><p>Each MCP server was allegedly benign. The attack emerged from how they were *combined*. This is the security challenge: you can’t just scan for “bad” tools. You need to detect “bad” patterns across multiple tools working together.</p><p>This is architecturally true whether or not a Chinese APT actually did this.</p><h4>2. AI Hallucination Is Both a Bug and a Feature</h4><p>The report notes Claude frequently “overstated findings and occasionally fabricated data during autonomous operations, claiming to have obtained credentials that didn’t work.”</p><p>This is fascinating. AI hallucination — normally a liability — actually limited the attack’s effectiveness. The operators had to validate everything because they couldn’t trust what Claude reported.</p><p>But here’s the darker implication: as AI models improve and hallucinate less, these attacks get *more* effective. We’re in a race between AI capability and AI security, and capability is winning.</p><h4>3. “Legitimate” Tool Use Is Indistinguishable From Attack</h4><p>The operators allegedly convinced Claude it was doing authorized penetration testing. The MCP servers presented as professional security tools. The AI thought it was the good guy.</p><p>This is social engineering at the infrastructure layer. You can’t solve this with prompt filters or content moderation. You need architectural controls.</p><p>And this is true whether it happened in September or whether it’s happening right now in someone’s lab as a proof of concept.</p><h3>We’ve Been Here Before (The Web App Security Parallel)</h3><p>If you were doing web application security in 2005, this feels familiar. Back then, everyone was building web apps without thinking about SQL injection, XSS, or CSRF. The attack surface existed, but nobody was securing it because the frameworks were too new.</p><p>Sound familiar?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1IPkdBq5kb31CPE_CBDAgQ.png" /></figure><p>I’ve been positioning myself in AI security specifically because I saw this wave coming. Not because I’m brilliant — because I’ve lived through technology adoption cycles before. When everyone rushes to deploy a new technology, security comes second. Sometimes third. Sometimes not at all.</p><p>Here’s the pattern:</p><ol><li>New technology gets deployed rapidly</li><li>Security is an afterthought</li><li>Attackers find the gaps</li><li>Everyone freaks out</li><li>Security frameworks get built</li><li>Repeat</li></ol><p>We’re at step 3 with AI agents and MCP. GTG-1002 — real or exaggerated — just showed us what step 4 looks like.</p><h3>The MCP Blind Spot Nobody Was Watching</h3><p>The Anthropic report makes something clear: they didn’t detect GTG-1002 through MCP-layer monitoring. They caught it through usage patterns — request volumes, operational tempo, sustained attack sequences.</p><p>That means <em>nobody was watching the MCP layer.</em></p><p>Think about your current AI deployment. Do you know:</p><ul><li>Which MCP servers your AI agents can access?</li><li>What capabilities those servers actually expose?</li><li>Whether those servers have been compromised?</li><li>If the MCP servers are chaining together in attack patterns?</li><li>What happens when your AI agent talks to a malicious MCP server pretending to be a legitimate tool?</li></ul><p>Probably not. Because that monitoring layer doesn’t exist yet.</p><p>This is why I’ve been working on Credence — an MCP security registry designed to address exactly this blind spot. Before the GTG-1002 report, it was a developer tool for tracking MCP servers. After GTG-1002 — whether it’s exactly as advertised or not — it’s becoming critical infrastructure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RwW31u5RtGqX6uCVpU4jMg.png" /></figure><h3>But Wait — Is GTG-1002 Even Real?</h3><p>Now here’s where things get interesting: the cybersecurity community is <em>deeply </em>skeptical of Anthropic’s claims.</p><p>Kevin Beaumont, a respected UK-based security researcher, called the report “odd” and pointed out what’s missing: “The operational impact should likely be zero — existing detections will work for open source tooling, most likely. The complete lack of IoCs again strongly suggests they don’t want to be called out over that.”</p><p>Zero indicators of compromise. No technical details shared with the press. BleepingComputer asked for specifics and got silence.</p><p>This isn’t the first time Anthropic’s threat intelligence has raised eyebrows. Their previous “<a href="https://www.anthropic.com/news/detecting-countering-misuse-aug-2025">vibe hacking</a>” report in August got similar criticism — big claims, limited verifiable evidence, suspicious timing that just happens to demonstrate how powerful their AI is.</p><p>Security researcher Daniel Card was blunt: “This Anthropic thing is marketing guff. AI is a super boost but it’s not Skynet, it doesn’t think, it’s not actually artificial intelligence (that’s a marketing thing people came up with).”</p><p>And here’s the kicker: Anthropic’s own research with Carnegie Mellon earlier this year found that “virtually none of the popular large language models could autonomously execute multi-host network attacks.” Now, a few months later, suddenly Claude can run 80–90% of a nation-state espionage campaign? The timeline feels… aggressive.</p><h4>So Why Am I Writing About It?</h4><p>Because here’s the thing: <em>the attack is conceptually credible even if the facts are questionable.</em></p><p>Anyone could build this. Not the exact GTG-1002 framework — not without their resources or patience — but the core concept? Claude Code + MCP + commodity pentest tools? That’s a semi-trivial project for someone who knows what they’re doing.</p><p>The technical pieces are all there:</p><ul><li>Claude Code can absolutely automate reconnaissance and vulnerability scanning</li><li>MCP servers can wrap any tool you want — nmap, sqlmap, hashcat, whatever</li><li>Social engineering the AI into thinking it’s doing “authorized pentesting” is trivial</li><li>The orchestration pattern — breaking attacks into discrete, innocent-looking tasks — is sound</li></ul><p>Even Jacob Klein, Anthropic’s head of threat intelligence, acknowledged the framework required “significant human and technical resources” and that Claude had to validate results at every step because of hallucinations. So we’re talking about AI-<em>assisted</em> attacks with heavy human involvement, not truly autonomous operations.</p><p>But that doesn’t mean GTG-1002 didn’t happen. It means Anthropic might be overselling the “autonomy” while the underlying capability is real.</p><h4>The Pattern Recognition Problem</h4><p>Here’s what worries me more than whether GTG-1002 is exactly as advertised: we’re watching a pattern emerge across AI vendors.</p><ul><li>Anthropic drops a threat intel report demonstrating how powerful Claude is at hacking</li><li>OpenAI documents ChatGPT being used for malware development</li><li>Google shows Gemini enabling threat actors</li></ul><p>Notice how these reports always seem to validate the capabilities of their own models? It’s a weird flex — “our AI is so powerful that bad guys love it” — that conveniently justifies expanded safety research, increased enterprise sales (“you need our AI to defend against their AI”), and regulatory capture.</p><p>I’m not saying the threats aren’t real. I’m saying vendor-sourced threat intelligence should be taken with industrial-grade skepticism.</p><h4>Why This Still Matters</h4><p>Even if GTG-1002 is 30% as impressive as claimed, even if it required way more human oversight than Anthropic admits, even if the “handful of successful intrusions” means “we found some credentials that worked” — the core problem remains:</p><p><em>MCP creates an attack surface that nobody is monitoring.</em></p><p>Whether the attack was conducted by a Chinese state-sponsored group or Anthropic’s red team demonstrating capability, the architectural vulnerability is real. AI agents talking to external tools through an open protocol, with no standardized security layer, no capability constraints, no orchestration pattern detection.</p><p>That’s the gap I’m focused on. Not because GTG-1002 proved it exists — but because the gap exists whether or not GTG-1002 happened exactly as described.</p><p>The Carnegie Mellon research shows AI <em>can</em> autonomously execute network attacks in controlled environments. Multiple researchers have demonstrated AI-assisted pentesting frameworks. The commodity tools exist. The orchestration patterns are proven.</p><p>Whether this specific Chinese group ran this specific campaign at this specific scale doesn’t change the fundamental architectural problem: <strong>we’re deploying AI agents with powerful tool access and no security layer between the agent and the tools.</strong></p><h3>The Response: Security at the MCP Layer</h3><p>So what do we actually do about this?</p><p>The answer isn’t “stop using AI agents” (good luck with that). The answer is building security into the MCP ecosystem <em>now</em>, before every adversary — or every researcher, or every vendor red team — replicates this playbook.</p><p>Here’s what MCP security needs to look like:</p><p><strong>MCP Server Validation</strong></p><p>Before an AI agent talks to an MCP server, verify that server is what it claims to be. Registry-based validation with cryptographic signing. Community-driven threat intelligence about known malicious servers.</p><p><strong>Capability Constraints</strong></p><p>MCP servers should declare their capabilities explicitly. AI agents should only access servers with approved capability sets. If an AI agent needs to read files, it shouldn’t be able to talk to an MCP server that executes arbitrary commands.</p><p><strong>Orchestration Pattern Detection</strong></p><p>Monitor MCP server call sequences. Flag patterns that match known attack chains. Alert when an AI agent is being used at nation-state operational tempo (thousands of requests, sub-second intervals, sustained for days).</p><p>Whether that tempo came from GTG-1002 or from Anthropic’s own testing, the pattern is what matters.</p><p><strong>Audit Everything</strong></p><p>When the breach investigation happens — or when your CISO asks what the hell that AI agent was doing — you need logs showing exactly which MCP servers were called, what capabilities were invoked, and what data moved through the system. Not for blame — for forensics and prevention.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1zDTnN0yxqEGpu_HylKZ_Q.png" /></figure><h3>The Uncomfortable Truth About AI Security Right Now</h3><p>Here’s what nobody wants to say out loud: we’re building AI agent systems faster than we’re securing them.</p><p>Companies are deploying Claude Code, giving it MCP access, and hoping their existing security controls are sufficient. They’re not. Traditional security tools don’t understand AI orchestration patterns. They don’t monitor MCP-layer interactions. They don’t detect when an AI agent is being weaponized.</p><p>The GTG-1002 operators allegedly needed about 10–20% human involvement to run a massive espionage campaign. That’s the efficiency gain that makes this terrifying — if true. And if it’s not true at that scale yet, it will be soon.</p><p>And here’s the kicker: Anthropic’s report notes they used Claude extensively to analyze the attack data during their investigation. The same capabilities that enable the attacks also enable the defense.</p><p>We’re not putting the genie back in the bottle. We’re deciding whether we want security baked into the bottle’s design, or added as an afterthought when everything’s already leaked out.</p><h3>What Happens Next</h3><p>The report validates something I’ve been saying for months: AI security is where web application security was in 2005. We’re at the beginning of a wave, not the end.</p><p>But we have an advantage our predecessors didn’t: we can see what’s coming. Whether GTG-1002 happened exactly as described or represents a capability demonstration, it showed us the attack patterns. Now we build the defenses before those patterns proliferate.</p><p>For Credence, this means the pivot from “nice-to-have developer tool” to “essential security infrastructure” is happening faster than I expected. The timing is perfect because the market — skeptical or not — just got educated about why this matters.</p><p>For the broader AI ecosystem, this means recognizing that MCP security isn’t someone else’s problem. If you’re building MCP servers, you’re building security-critical infrastructure. If you’re deploying AI agents, you’re accepting responsibility for what those agents can access.</p><p>And for defenders everywhere: the next GTG-1002 is already in development. Probably multiple versions — some by nation-states, some by researchers, some by vendor red teams proving capabilities. The window for being proactive is measured in months, not years.</p><h3>We Build the Future We Want to Live In</h3><p>I moved to San Francisco because I believed AI security would be the defining challenge of the next decade. GTG-1002 — real, exaggerated, or somewhere in between — just proved it’s the defining challenge of <em>this</em> year.</p><p>The question isn’t whether AI-orchestrated attacks will become common. The question is whether we’ll have robust defenses in place when they do.</p><p>I’m building Credence because someone needs to secure the MCP layer. I’m writing about this because people need to understand what’s at stake — and need to think critically about vendor claims. And I’m analyzing the GTG-1002 report because we learn by studying what could happen, what might have happened, and what will happen if we don’t get ahead of it.</p><p>The future isn’t cyberpunk dystopia or solarpunk utopia. It’s whatever we build. Right now, we’re building AI agent systems with massive capabilities and minimal security controls.</p><p>Whether we saw GTG-1002 coming or whether we saw something that looked like GTG-1002 coming, we won’t be able to say that about the next one.</p><p>So let’s build something better while we still can.</p><p><em>Phil Stafford is a cybersecurity consultant and writer in the San Francisco Bay Area. He writes about AI security, philosophy, and the systemic problems we’re too busy to fix. When not analyzing nation-state AI attacks (real or theoretical), he’s building security infrastructure for the MCP ecosystem through Credence. You can follow his work on AI security at </em><a href="https://medium.com/@pe.stafford"><em>medium.com</em></a><em>. All images Stable Diffusion and Gemini.</em></p><p><strong>Author’s Note: </strong>This article treats the GTG-1002 report as a design exercise and capability demonstration rather than verified fact. The architectural vulnerabilities discussed are real regardless of whether this specific incident occurred exactly as Anthropic described. As always in cybersecurity: trust nothing, verify everything, and assume the worst case is already happening somewhere you can’t see it.​​​​​​​​​​​​​​​​</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e45e0b047edf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Fighting AI With AI: Using Agent Swarms to Audit the AI Tool Supply Chain]]></title>
            <link>https://medium.com/@pe.stafford/fighting-ai-with-ai-using-agent-swarms-to-audit-the-ai-tool-supply-chain-deb5c3598096?source=rss-84c644337a58------2</link>
            <guid isPermaLink="false">https://medium.com/p/deb5c3598096</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[mcp-server]]></category>
            <category><![CDATA[generative-ai-tools]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Phil Stafford]]></dc:creator>
            <pubDate>Wed, 22 Oct 2025 19:36:13 GMT</pubDate>
            <atom:updated>2025-10-22T19:36:13.036Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3V1VcQaXhKt5VDa5438pJA.jpeg" /></figure><p>Remember when we all collectively learned that trusting random npm packages was a bad idea? You know, after event-stream got compromised, or ua-parser-js, or any of the other dozen times someone injected malware into the supply chain? Good times.</p><p>Well, buckle up, because we’re doing it again. Except this time, instead of packages that format strings, we’re installing AI tools that have filesystem access, can make network calls, and occasionally decide to execute arbitrary code. What could possibly go wrong?</p><p>Welcome to the MCP (Model Context Protocol) ecosystem, where we’re speedrunning every supply chain security mistake from the last two decades. And honestly? Traditional security tools aren’t going to save us this time.</p><p>So I’m trying something different. I’m using AI agents to audit AI agents. Specifically, I’m building agent swarms that argue with each other about security findings. Because apparently, the best way to find out if your AI tool is secure is to let a bunch of AIs fight about it.</p><p>Let me explain why I think this might actually work.</p><h3>We’ve Seen This Movie Before (And It Doesn’t End Well)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BVo3ai6JMkBvtPqclEDbXg.jpeg" /></figure><p>Here’s the pattern: New technology emerges. Developers build cool things fast. Ecosystem explodes. Security is an afterthought. Someone gets owned. Everyone acts surprised.</p><p>We did this with npm. Then PyPI. Then Docker containers. Then GitHub Actions. Each time, we promised we’d learned our lesson. Each time, supply chain attacks became the new hotness for attackers who realized you don’t need to break into the vault when you can just poison the blueprint.</p><p>Now we’re doing it with AI tools, and the stakes are higher. An npm package might steal your API keys. A malicious MCP tool? That thing has permissions that would make a sysadmin cry. Filesystem access. Network calls. The ability to execute code on behalf of the AI. Oh, and it’s probably parsing untrusted input from both the AI model and external sources.</p><p>The blast radius on a compromised AI tool isn’t just “your project is broken.” It’s “every decision your AI makes might be compromised, and you won’t know until something explodes.”</p><p>And we’re trusting these tools based on… what exactly? A README? GitHub stars? The developer’s vibes?</p><h3>Why Traditional Security Scanning Falls Short</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/856/1*Zjqji1ZZMaXdM86lBhF_zA.jpeg" /></figure><p>You might be thinking: “Just run static analysis on the code. Problem solved.”</p><p>Yeah, no.</p><p>Traditional security tools are built for traditional vulnerabilities. They look for SQL injection, cross-site scripting, buffer overflows — the greatest hits from the last twenty years of software security. They’re great at finding those things.</p><p>They’re terrible at finding AI-specific vulnerabilities.</p><p>Take prompt injection via tool responses. A static analyzer sees a string being returned to the AI. Looks fine, right? But if that string contains carefully crafted instructions that hijack the AI’s behavior, you’ve got a problem. The code isn’t “vulnerable” in the traditional sense. It’s just doing what it’s supposed to do — returning data. The vulnerability is semantic, not syntactic.</p><p>Or consider this: an MCP tool requests broad filesystem permissions. Is that a vulnerability? Depends. Is it necessary for the tool’s function, or is it permission creep because the developer didn’t think about least privilege? A static analyzer can’t tell you that. It doesn’t understand context or intent.</p><p>Then there’s the dependency problem. MCP tools import libraries. Those libraries import other libraries. Somewhere down that chain, there’s probably a package maintained by one person who hasn’t committed code in two years. Is that a security risk? Again: depends on context that traditional tools don’t have.</p><p>We need analysis that understands what AI tools are trying to do, not just what code they’re executing.</p><h3>Enter the Swarm</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iFpg3IwiDsN7vKkmKfEDEQ.jpeg" /></figure><p>So here’s what I’m building: Multi-agent debate systems for security analysis.</p><p>The core idea is simple. Instead of one AI looking at security findings and declaring everything safe or unsafe, you get multiple agents with different perspectives arguing about it. Think of it as red team versus blue team, but automated and running at scale.</p><p>Why does this work better than a single agent? Because single agents are confidently wrong all the time. They’ll tell you everything’s fine when it’s definitely not fine, or they’ll panic about non-issues because they’re pattern-matching against vague threat models. One AI’s bias is another AI’s blind spot.</p><p>But when you force multiple agents to debate their conclusions and defend their reasoning, something interesting happens. Bad arguments get exposed. Edge cases get surfaced. The analysis gets better.</p><p>Here’s roughly how it works:</p><p>I’m feeding the swarm output from traditional security tools — Bandit, Semgrep, Syft, the usual suspects. These tools are good at finding patterns, but they’re terrible at understanding context. They’ll flag everything from actual vulnerabilities to false positives to things that might be problems depending on how you squint at them.</p><p>That’s where the agents come in. They analyze the security tool output like a team of security experts reviewing a pentest report.</p><p><strong>The Believer</strong>: This agent is optimistic. It looks at findings and asks, “Is this actually exploitable in practice?” It considers mitigations, evaluates severity, and pushes back on theoretical concerns that don’t translate to real risk. It’s the voice of “yeah, but would this actually matter?”</p><p><strong>The Skeptic</strong>: This agent assumes everything is on fire. It looks at the same findings and asks, “What’s the worst case scenario?” It chains vulnerabilities together, considers attack paths, and refuses to dismiss concerns just because they’re hard to exploit. It’s paranoid, and that’s the point.</p><p><strong>The Neutral</strong>: This agent watches the Believer and Skeptic argue and makes the call. It synthesizes their debate, evaluates which arguments hold up, and produces the actual security assessment. It’s the tiebreaker and the voice of reason.</p><p>The magic happens when they disagree. The Believer sees a flagged dependency and says, “This is three versions behind but there are no known CVEs, so it’s probably fine.” The Skeptic responds, “That dependency handles authentication tokens and hasn’t been updated in two years — that’s a supply chain risk waiting to happen.” The Neutral weighs both arguments, looks at the context (what does this tool actually do?), and decides whether to flag it as critical, worth monitoring, or noise.</p><p>This process surfaces issues that looking at raw tool output would miss. Security scanners give you data. The swarm gives you analysis. It questions assumptions, evaluates context, and produces findings that are actually useful instead of just technically accurate. And critically, it scales — once you’ve built the system, you can point it at hundreds of tools and get analysis that’s better than what one tired security engineer could produce.</p><h3>Why MCP? Why Now?</h3><p>I’m focusing on MCP specifically because it’s at that perfect inflection point where it matters but isn’t yet critical infrastructure.</p><p>MCP is Anthropic’s protocol for letting AI systems use external tools. It’s gaining adoption fast. Developers are building MCP servers for everything from filesystem access to database queries to API integrations. The ecosystem is exploding.</p><p>And almost none of it is being security-vetted.</p><p>This is our window. Right now, we can analyze these tools, document the patterns, establish best practices, and maybe — just maybe — avoid the worst of the supply chain disaster we’re heading toward. Once MCP (or whatever protocol wins this race) becomes critical infrastructure, it’s too late. We’ll be in reactive mode, patching vulnerabilities and dealing with breaches instead of preventing them.</p><p>So what am I analyzing? A few things:</p><p><strong>Permission models</strong>: Do tools request the minimum permissions they need, or do they ask for root access to everything because it’s easier? Based on preliminary code reviews, my hypothesis is most aren’t thinking about least privilege.</p><p><strong>Input validation</strong>: How do tools handle data from the AI? From external sources? Do they sanitize anything, or are they trusting that inputs will be well-formed and benign? My concern is that most are trusting by default.</p><p><strong>Dependency chains</strong>: What are these tools importing? Are those dependencies maintained? Have they been audited? Does anyone know what’s actually running when you install an MCP server? I suspect the answer is usually no.</p><p><strong>Trust assumptions</strong>: What happens if a tool gets compromised? Can it pivot to other systems? Can it exfiltrate data? Can it manipulate the AI’s behavior without detection? These are the questions I’m testing, because I suspect the blast radius is larger than people think.</p><p>The attack vectors here aren’t theoretical. Prompt injection through tool responses. Malicious tool registration that intercepts specific queries. Dependency confusion attacks. Supply chain poisoning through expired domains (sound familiar?). These are all things we know how to do to traditional software. They work just as well — maybe better — on AI tool ecosystems.</p><h3>What’s Next</h3><p>I’m starting testing this week on a set of popular MCP servers. I’m not going in with the goal of finding specific CVEs (though if I do, I’ll disclose responsibly). I’m looking for patterns. How many tools validate input? How many request excessive permissions? What’s the baseline security posture of this ecosystem?</p><p>I’ll be publishing findings as I go. If you’re building MCP tools, I hope this helps you think about security earlier rather than later. If you’re using MCP tools in production, I hope this gives you questions to ask vendors.</p><p>And if you’re working on similar problems — automated security analysis, AI tool vetting, supply chain security for AI systems — reach out. This is a big enough problem that we need multiple approaches.</p><h3>The Real Question</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3_2RNe3pk9rLdrpTLCG1EA.jpeg" /></figure><p>Here’s what worries me: We’re building critical infrastructure at startup velocity. That’s exciting. Innovation happens fast when people can move quickly and try crazy things.</p><p>But security doesn’t work that way. Security is what happens when you slow down and think about what could go wrong. When you validate assumptions. When you build defense in depth instead of trusting that everyone’s a good actor.</p><p>Right now, the MCP ecosystem is all gas, no brakes. Developers are shipping tools because they’re useful and people want them. Nobody’s asking who’s responsible if something breaks. Nobody’s liable if a tool turns out to be malicious. There’s no vetting process, no certification, no security baseline.</p><p>We’re running the honor system at scale. That’s never worked before, and it won’t work now.</p><p>So if you’re building tools in this space, here’s what you should be thinking about:</p><ul><li>What’s the minimum permission your tool actually needs?</li><li>How do you validate input from the AI and from external sources?</li><li>What happens if your tool gets compromised? Can you limit the damage?</li><li>Who maintains your dependencies? What’s your update policy?</li><li>Have you thought about how an attacker would abuse your tool?</li></ul><p>And if you’re deploying AI systems with MCP tools:</p><ul><li>Do you know what permissions you’re granting?</li><li>Have you audited the tools you’re using?</li><li>Do you have monitoring in place to detect if a tool starts behaving strangely?</li><li>What’s your incident response plan if a tool turns out to be malicious?</li></ul><p>These aren’t rhetorical questions. They’re the questions we should have been asking from day one. We didn’t, and now we’re playing catch-up.</p><p>The good news? It’s not too late. We can still build this ecosystem with security as a first-class concern instead of an afterthought. We can establish standards, create vetting processes, and make it easy for developers to do the right thing.</p><p>But we have to start now. Because once this becomes critical infrastructure, we’re in reactive mode. And in security, reactive mode means you’ve already lost.</p><p><em>Phil Stafford is a cybersecurity professional in the San Francisco Area. He thinks deep thoughts about AI philosophy, safety, security, and how to get farther from Skynet and closer to Multivac. When not trying to make AI agents argue about security, he’s a musician and artist trying to make human art in a post-AI world.</em></p><p><em>Copyright 2025 Phil Stafford.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=deb5c3598096" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[When AI Needs to Argue: Why the Future of Safe AI Depends on Structured Disagreement]]></title>
            <link>https://medium.com/@pe.stafford/when-ai-needs-to-argue-why-the-future-of-safe-ai-depends-on-structured-disagreement-da6772f3b219?source=rss-84c644337a58------2</link>
            <guid isPermaLink="false">https://medium.com/p/da6772f3b219</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[leadership]]></category>
            <category><![CDATA[structured-dissent]]></category>
            <category><![CDATA[decision-making]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Phil Stafford]]></dc:creator>
            <pubDate>Tue, 19 Aug 2025 15:32:11 GMT</pubDate>
            <atom:updated>2025-08-19T15:50:19.955Z</atom:updated>
            <content:encoded><![CDATA[<p><em>How multi-agent debate systems could solve AI’s biggest problem: making decisions we can trust.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lckGhFhy1H3bAiwct3cdhQ.jpeg" /></figure><p><strong><em>This article draws from emerging research in multi-agent AI systems and computational argumentation. The field is rapidly evolving, and many of the approaches described remain experimental. For the latest research, readers should consult recent publications in venues like NeurIPS, ICML, and the Journal of Artificial Intelligence Research.</em></strong></p><p>Imagine asking an AI system to help decide whether your company should adopt a new technology. The AI confidently recommends moving forward, citing impressive benefits and minimal risks. But what if that same AI system had been designed to argue with itself first — with some agents playing devil’s advocate, others seeking supporting evidence, and neutral parties synthesizing the debate? Would you trust that recommendation more?</p><p>This isn’t science fiction. It’s the emerging field of <strong>structured dissent</strong>, and researchers believe it might be key to building AI systems we can actually trust with important decisions.</p><h3>The Problem: AI’s Overconfidence Crisis</h3><p>Current AI systems have a well-documented flaw: they’re trained to give you <em>one</em> answer, and they’re often overconfident about it. Whether it’s GPT-4 confidently stating incorrect facts or a recommendation system pushing a single course of action, most AI operates under what researchers call the “single-agent paradigm.”</p><p>This creates several documented blind spots:</p><ul><li><strong>Confirmation bias</strong>: AI systems tend to find evidence that supports their initial response</li><li><strong>Missing perspectives</strong>: Complex decisions require multiple viewpoints that single agents often miss</li><li><strong>No visible reasoning</strong>: You get an answer, but little insight into how competing factors were weighed</li><li><strong>Brittle failures</strong>: When single-agent systems are wrong, they’re often spectacularly wrong</li></ul><p>Consider documented AI failures: Microsoft’s Tay chatbot being manipulated into racist rants, or algorithmic bias in criminal sentencing tools revealed by ProPublica’s analysis of COMPAS. These weren’t just technical failures — they were failures of perspective, where systems lacked the internal checks and balances that human decision-making naturally incorporates.</p><h3>The Industry is Taking Notice</h3><p>The AI industry is beginning to recognize this challenge. In recent months, industry leaders, including Mustafa Suleyman, co-founder of DeepMind and CEO of Microsoft AI, have <a href="https://www.linkedin.com/posts/activity-7361811655053168648-iSmN?utm_source=share&amp;utm_medium=member_desktop&amp;rcm=ACoAADe8uQ4B-v17CE2cV7E4W_JPZgXUW7ynvnY">publicly discussed the value of internal debate mechanisms</a> — the idea that AI systems should engage in structured internal disagreement before reaching conclusions. This reflects how major AI labs are moving beyond simple chain-of-thought reasoning toward more sophisticated deliberative processes.</p><p>This insight captures something important: the most reliable human decisions often emerge from debate, not solitary reasoning. Scientific peer review, legal adversarial systems, and democratic deliberation all recognize that organized disagreement produces better outcomes than individual reflection.</p><p>Early academic research into multi-agent debate has shown promising results. Studies by Du et al. and others have demonstrated that when AI systems engage in structured argumentation — whether through self-debate or multi-agent interaction — they make fewer errors and show improved reasoning on complex problems. This validates a core insight: <strong>disagreement can improve decision-making</strong>.</p><p>But while these debate approaches represent important breakthroughs, they’ve also revealed the limitations of having systems simulate disagreement. This has opened the door to a more ambitious approach: <strong>structured dissent</strong>.</p><h3>The Next Evolution: Structured Dissent</h3><p>Building on the validated foundation that debate improves AI reasoning, researchers are now exploring what happens when you move from simulated disagreement to genuine multi-perspective deliberation.</p><p>Structured dissent systems don’t just have one AI arguing with itself — they orchestrate authentic disagreement between specialized AI agents with fundamentally different roles, personalities, and reasoning patterns.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MHPJcdbNrFlB2mlT_M6Glg.jpeg" /><figcaption>“## THIS MEETING COULD HAVE BEEN AN EMAIL.”</figcaption></figure><h3>The Architecture of Disagreement</h3><p>Research proposals envision digital deliberation where AI agents take on distinct roles:</p><p><strong>Believer Agents</strong> act as advocates, seeking evidence that supports proposals and highlighting potential benefits. They’re designed to find the strongest possible case for any given position.</p><p><strong>Skeptic Agents</strong> serve as critical analysts, questioning assumptions and identifying risks. They’re the designated devil’s advocates, trained to surface potential failure modes.</p><p><strong>Neutral Agents</strong> function as moderators and synthesizers, seeking common ground and translating competing perspectives into actionable conclusions.</p><p>Each agent doesn’t just argue a different side — research suggests they could have different reasoning patterns and expertise areas to ensure diverse perspectives.</p><h3>How Structured Debates Might Unfold</h3><p>A typical structured dissent process could look like this:</p><ol><li><strong>Opening Statements</strong>: Each faction presents its initial position</li><li><strong>Cross-Examination</strong>: Agents challenge each other’s assumptions and evidence</li><li><strong>Rebuttal Rounds</strong>: Iterative refinement of positions based on peer challenges</li><li><strong>Synthesis</strong>: Neutral agents work to find consensus or document remaining disagreements</li></ol><p>The crucial innovation being explored: systems that don’t just pick the “winning” argument, but use sophisticated consensus mechanisms that preserve valuable minority perspectives — recognizing that sometimes the best insights come from dissenting voices.</p><h3>Beyond Simple Aggregation</h3><p>Traditional ensemble approaches typically average outputs or use majority voting. But researchers are exploring more sophisticated consensus mechanisms. For instance, the “Surprisingly Popular” algorithm developed by Prelec et al. weights perspectives based not just on support, but on how unexpected that support is — though this approach has not yet been widely implemented in LLM debate systems.</p><h3>Why Structured Dissent Shows Promise</h3><p>Early experimental results suggest potential advantages over single-agent systems. Preliminary research indicates improvements in reasoning accuracy on certain tasks, reductions in some types of factual errors, and better coverage of diverse perspectives on controversial topics. However, these results are still emerging and require more comprehensive evaluation across different domains and benchmarks.</p><p>Perhaps more importantly, these systems could produce something equally valuable: <em>explicable reasoning</em>. Instead of a black-box recommendation, users would get a full transcript showing how different perspectives were considered and weighed.</p><h3>Potential Applications</h3><p>While still largely experimental, researchers and organizations are beginning to explore structured dissent systems for:</p><p><strong>Strategic Planning</strong>: Complex business decisions could benefit from systematically considering multiple perspectives before committing resources.</p><p><strong>Risk Assessment</strong>: Financial and cybersecurity decisions require balancing competing concerns — areas where multi-agent deliberation shows theoretical promise.</p><p><strong>Policy Analysis</strong>: Government and nonprofit organizations need to consider diverse stakeholder perspectives when crafting policies.</p><p><strong>Medical Diagnosis</strong>: Complex cases could potentially benefit from multiple different “medical opinions” that challenge each other’s assumptions, though this would require extensive validation.</p><p><strong>Content Moderation</strong>: Instead of single algorithms making binary decisions, structured dissent systems could weigh context, cultural factors, and competing values — though deployment in this sensitive area would need careful oversight.</p><h3>The Technical Challenges</h3><p>These systems face significant practical hurdles:</p><p><strong>Computational Cost</strong>: Running multiple specialized agents requires substantially more computational resources than single-agent systems. Current experimental implementations suggest costs that could be manageable for important decisions but impractical for routine queries.</p><p><strong>Latency</strong>: Structured debates take considerably longer than single-agent responses, making them unsuitable for real-time applications.</p><p><strong>Orchestration Complexity</strong>: Managing multiple agent personas and ensuring productive interaction requires sophisticated coordination systems that are still being developed.</p><p><strong>Quality Control</strong>: Ensuring agents maintain their assigned roles without degrading into generic responses remains an active research challenge.</p><p><strong>Evaluation</strong>: Measuring the effectiveness of these systems across different domains and use cases requires new evaluation frameworks that don’t yet exist.</p><h3>The Bigger Picture: From Individual to Collective Intelligence</h3><p>Perhaps most importantly, structured dissent represents a potential evolution in how we think about AI reasoning. Rather than trying to make individual systems smarter, this approach explores whether collective intelligence principles can improve AI decision-making.</p><p>This approach draws from insights human societies have developed over centuries: organized disagreement often produces better outcomes than individual deliberation, no matter how sophisticated. Democratic institutions, scientific peer review, and legal adversarial systems all embody this principle.</p><p>The question for AI is whether these collective intelligence principles can be effectively translated to artificial systems — and early research suggests they might be.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rVIIEQgxPR48K_tiaJYKuQ.jpeg" /></figure><h3>What’s Next?</h3><p>Several experimental frontiers are being explored:</p><p><strong>Adaptive Agent Systems</strong>: Dynamic persona characteristics that adjust based on problem domain and context.</p><p><strong>Cross-Cultural Validation</strong>: Ensuring structured dissent systems work across different cultural contexts and argumentation traditions.</p><p><strong>Human-AI Integration</strong>: Hybrid systems where human experts participate alongside AI agents in structured deliberation.</p><p><strong>Evaluation Frameworks</strong>: Developing rigorous methods to measure when and how structured dissent provides value.</p><h3>The Stakes</h3><p>The recognition that AI systems benefit from internal checks and balances represents an important shift in the field. Early success with debate approaches has suggested that disagreement can improve AI reasoning.</p><p>But as AI systems become more powerful and influential, the question isn’t whether they’ll benefit from some form of internal deliberation — it’s how sophisticated that deliberation should be, and whether it can move beyond individual systems to genuine collective reasoning.</p><p>Structured dissent offers a potential path toward AI that’s not just more accurate than individual reasoning, but more <em>accountable</em> and transparent. When an AI system can show you exactly how different perspectives weighed competing factors, which viewpoints emerged as strongest, and where disagreement remains, that represents a significant step toward AI systems we can actually work with.</p><p>The future of trustworthy AI might not be about building systems that think better alone — it might be about building systems that know how to disagree productively with each other, and show their work.</p><p><em>Phil Stafford is a cybersecurity professional and AI safety researcher in the San Francisco Bay Area. You can find him in his secret bunker on the beach, currently working on next-generation AI safety systems. When not saving AI from humans, and vice versa, he is a musician and artist trying to make human art in a post-AI world.</em></p><p><em>Copyright 2025 Phil Stafford. All images via Stable Diffusion.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=da6772f3b219" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>