A New Tool Every Morning
Every week brings a new MCP server, a new AI coding IDE, or a new agent that the developer community cannot stop talking about. Developers want to try each one, and engineering leaders are under pressure to let them. Saying no is no longer a position that security teams can hold for long.
The catch is in how these tools work. To be useful, an agent has to read the codebase, run commands, and call other services. The moment it connects to a local environment, it can reach everything that lives there, including source code, .env files, API keys, and company data.
Most organizations are absorbing that level of access with the controls they used for a text editor: a policy document and an assumption that caution will be enough.
What Caution Has Already Cost
In late 2025, security researcher Ari Marzouk published six months of testing against AI-powered IDEs under the name IDEsaster. Every tool he tested was exploitable. The research produced more than 30 vulnerabilities and 24 CVE identifiers across tools including Cursor, GitHub Copilot, Windsurf, Zed.dev, Roo Code, and JetBrains Junie.
The attack chains were not exotic. In one, a prompt injection had the agent read a sensitive file and write its contents into a JSON file that pointed to a remote schema, and the data leaked when the IDE fetched that schema from an attacker-controlled domain. In another, injected prompts rewrote workspace configuration files to achieve code execution, with no user interaction where file writes were auto-approved.
In every case, the agent did what it believed it had been asked to do.
MCP servers show the same pattern at scale. Independent assessments found command injection flaws in 43% of the MCP servers they analyzed, and academic research found roughly a third allowing unrestricted URL fetches, figures collected in a 2025 industry review. Community trackers then counted 30 CVEs against MCP servers, clients, and infrastructure in January and February 2026 alone.
The root causes were the fundamentals: missing input validation, absent authentication, and blind trust in tool descriptions. An organization that changes nothing is one over-permissioned token or one unvetted MCP server away from moving from compliant to compromised.
Boundaries Before Rules
The usual response to a new vulnerability class is to update the policy, add a training module, and tell developers what to avoid. That response cannot carry the weight here, because the weakness is not a defect that a patch removes.
A model has no reliable way to separate a legitimate instruction from one an attacker planted in the content it reads. OWASP ranks prompt injection first in its Top 10 for LLM Applications 2025, and NIST's adversarial machine learning guidance has been widely reported as treating indirect prompt injection as the most serious security weakness in generative AI.
The delivery mechanisms are also built to go unseen: hidden Unicode characters in a GitHub issue, poisoned tool metadata, a configuration file that looks like any other project setting. No governance cycle moves as fast as the disclosures do.
So the order of operations has to flip. Isolate and harden the environment first, then apply restrictions, rules, and policies on top of that foundation instead of in place of it.
The change is from trusting tools to behave correctly to enforcing boundaries regardless of how they behave. That is a different security model, not a refinement of the old one.
Control What Enters, Control What Leaves
Isolation does more than contain damage after something goes wrong. Done properly, it gives a team enforceable control over what enters an environment and what is allowed to leave it. That matters most when the threat is silent data exfiltration instead of a visible compromise.
On the way in, a vetted MCP registry is the first gate. It is an internally reviewed catalog of tools that have been assessed for input validation, authentication requirements, and least-privilege behavior. Nothing reaches a developer's workspace until it has been reviewed and approved, because developer judgment at the moment of discovery does not scale as a control.
On the way out, the network boundary does the work. A compromised tool may still execute inside its sandbox, but its attempt to write credentials to an external schema or call an attacker-controlled endpoint stops at the perimeter.
Kasm Workspaces provides this containment layer. AI tools and agents run inside containerized, browser-streamed, disposable sessions, so sensitive data never touches the endpoint. Clipboard access, file transfers, and outbound network behavior are governed at the session level, independent of how the tool itself is configured.
We run our own development environment on Kasm Workspaces for the same reason.
When the Next Tool Arrives
A team that has made this shift handles the next new tool differently. A developer asks for an MCP server, it goes through registry review, and once approved it runs inside a Kasm workspace with scoped credentials and restricted egress. Security can say yes in days because the answer no longer depends on the tool being trustworthy.
The model works in three layers. Environment isolation is the base, so a compromised MCP server inside a Kasm workspace cannot freely traverse the wider infrastructure. The vetted registry sits above it and governs what gets in. Rules and policies sit on top as guidance and governance, valuable but no longer load-bearing.
When one of those approved tools turns out to be vulnerable a month later, the exposure is one disposable session and whatever was deliberately placed inside it. The vendor patch and the token rotation still have to happen, and least-privilege credentials still decide how much an agent can reach. The difference is that the incident is contained by design, not by luck.
Build From the Bottom Up
New tools will keep arriving, and developer demand for them will not fade. The question is no longer whether they will be used. It is whether the environment they run in can absorb the risk they carry.
Most teams are still building from the wrong direction, writing policies about which MCP servers are acceptable and expecting developer compliance to carry the security burden. The teams getting this right isolate the environment, vet what enters, gate what leaves, and only then write the rules.
A policy can tell a developer what not to install. Only the environment decides what happens when the tool they did install stops following instructions.
About Kasm Workspaces
Kasm Technologies delivers a modern platform for secure, containerized desktop and application access. Kasm Workspaces streams browsers, desktops, and applications directly to users through ephemeral, policy-controlled sessions - eliminating the cost, rigidity, and risk of traditional VDI. Built by a team with deep roots in federal cybersecurity and offensive/defensive operations, Kasm is used by organizations ranging from government agencies to Fortune 500 companies to deliver secure, scalable developer and end-user environments.
Learn more at kasm.com.



