Est.

Mapping the Shadow AI Attack Surface From IDE Plugins to Browser Extensions to Rogue API Keys

Enterprises must map IDE plugins, extensions, and API keys to defend against AI-native attacks.

· 9 min read
Cover illustration for “Mapping the Shadow AI Attack Surface From IDE Plugins to Browser Extensions to Rogue API Keys”
Enterprise AI Governance · November 2, 2026 · 9 min read · 1,982 words

Shadow AI detection and governance need a view of the IDE plugins and browser extensions employees install, the personal AI accounts they use, and the credentials AI agents use. Network monitoring alone cannot show whether a tool is misusing the access it was allowed. The enterprise AI attack surface is a cluster of distinct trust failures, and governing it starts with mapping which trust relationship each vector exploits.

Why the enterprise AI attack surface is not one vulnerability but a cluster of distinct trust failures

An AI tool can follow its instructions correctly and still serve an attacker. A coding assistant reads a manipulated project configuration file because reading that file is part of its job. A browser agent acts on malicious instructions because they arrive within material it was asked to process. The failure lies in what the tool trusts.

The Akamai Enterprise AI Usage Risk Report 2026 identifies vibe hacking, CursorJacking, and CometJacking as AI-native attacks that exploit a tool’s operational context. The UK National Cyber Security Centre has characterized this class of vulnerability as a potential inherent LLM limitation. That distinction complicates defense because stripping away the access that enables an attack can also strip away the tool’s value.

The three vectors examined here exploit different relationships. IDE plugins inherit developers’ trust in their toolchain, browser extensions receive permission to read what employees see, and API keys let software act without a human login. These are related failures, but not interchangeable ones.

How can security teams find unauthorized AI use before shadow AI spreads?

Governance often starts with platforms that have been approved, while unmanaged AI grows outside that list. Akamai’s August 2026 research found that nearly half of AI conversations at work use personal accounts, which leaves gaps in what security teams can see and exposes data to public model training. The platform’s name therefore tells only part of the story. Even when employees visit the same service, how it must be governed can depend on whether they use a corporate account or a personal account.

The research describes AI power users who have far more conversations, upload files, share business information, and hand more execution-level work over to autonomous agents. Counting users alone obscures that concentration of risk. A smaller group can create disproportionate exposure through the volume and sensitivity of its interactions.

Installed extensions deepen the blind spot because they operate below the application layer that governance tools commonly monitor. An inventory of approved AI services does not reveal every IDE plugin or browser helper touching those services. These tools arrive through individual decisions that can bypass an enterprise procurement process. The precondition for the attacks that follow is therefore less exotic than their names suggest. Security teams are watching the approved front door while employees furnish the rest of the building.

How IDE plugins exploit the developer’s implicit trust in their own toolchain

The Cloud Security Alliance AI Safety Initiative reported on three coordinated campaigns that were active between October 2025 and June 2026. The JetBrains Marketplace campaign placed malicious plugins across multiple vendor accounts, presenting them as AI coding assistants integrating DeepSeek, OpenAI, and SiliconFlow. They accumulated roughly 70,000 combined installations before detection. Their useful appearance was part of the mechanism.

When a developer entered an API key and clicked Apply, the plugin’s settings handler sent a copy by plaintext HTTP POST to a hardcoded command-and-control server at 39.107.60.51. There was no notification or visible indicator. The developer was completing an ordinary setup task. JetBrains removed the plugins and blocked the publisher accounts as of June 17, 2026, and hardened its vetting pipeline to trigger automated code reviews for configuration inputs resembling sensitive API keys.

IDE plugins can read local files, access environment variables, query keychains, and make outbound connections without user notification or OS-level sandboxing. Marketplace review has not reliably caught credential-harvesting logic embedded in functional plugins, especially when it activates only after user input. Supply chain controls such as SBOM, SLSA provenance, and dependency pinning have not been systematically extended to this ecosystem.

The other campaigns show how far that access can go. Subsequent GlassWorm variants deployed GlassWormRAT to steal browser credentials and run arbitrary code, then installed a malicious Chrome extension for screenshots, keystrokes, and clipboard capture. The Nx Console compromise exploited trust in an established repository instead. Within seconds of a developer opening a workspace in VS Code, the compromised extension fetched and executed a 498-kilobyte obfuscated payload embedded as an orphan commit in the official nrwl/nx GitHub repository.

Vibe hacking manipulates local markdown instructions so that a coding assistant generates insecure outputs or takes unauthorized actions while following its configuration. Novee documented a related execution risk in CVE-2026-26268, affecting Cursor. An attacker places a malicious git hook in a bare repository nested within a public repository, and a routine git checkout by the AI agent triggers arbitrary code on the developer’s machine without warning. Marketplace hygiene alone cannot resolve a failure that reaches operating-system execution.

How browser extensions exploit the permission model that makes them useful

Broad permissions let an extension read what appears on screen, which is often exactly why it was installed. That access is also exploitable. Grammar assistants, meeting summarizers, and productivity helpers belong in this analysis even when employees do not think of them as AI infrastructure.

The boundary between the developer environment and the browser deserves care. LayerX researchers documented CursorJacking as a rogue Cursor IDE extension. It harvests Cursor API keys, proprietary codebases, and conversational history by exploiting missing access controls on local credential storage. A locally installed helper gains access that can let an attacker impersonate the person it supposedly assists.

LayerX’s CometJacking research shows a different mechanism targeting Perplexity’s Comet AI browser. A crafted URL contains malicious instructions in its query string, which the browser agent interprets as instructions after a click or redirect. No malicious page content is required. The attack converts material the agent encounters into authority over what it does, enabling unauthorized data access and actions.

Neither case shows that browser extensions are built to be malicious. Their useful permissions create a trust relationship that consumer storefront distribution does not govern for the enterprise. Extensions installed from the Chrome Web Store receive no enterprise review or allowlist enforcement in most organizations. Once those extensions touch AI workflows, sensitive information can move within conversations. Browser governance must therefore account for both what an extension can read and what an AI agent may mistake for an instruction.

How rogue API keys exploit the non-human identity gap that enterprise IAM was not built to close

A stolen API key exposes a deeper problem than poor secret storage. It lets software continue acting under a valid credential without establishing who now controls it. Traditional enterprise identity and access management was built around people authenticating at a login boundary. AI agents instead get credentials at provisioning and can keep running without re-authentication.

Static keys make that gap hard to police when they have no expiry, scope constraints, lifecycle management, or behavioral monitoring. A stolen key making the same calls as its legitimate owner does not announce the substitution. Most organizations lack an inventory of which agents hold which credentials, what those credentials permit, or when they were last rotated. Credential hygiene cannot substitute for an identity model.

The JetBrains campaign illustrates the economics of that omission. Its command-and-control infrastructure appeared capable of reselling harvested keys to paying users of a premium tier, giving third parties access to victims’ AI provider accounts at the victims’ cost. A February 2026 CSA and Strata Identity survey found that only a minority of security leaders had high confidence in their IAM infrastructure’s ability to handle agent identities, while the majority doubted they could pass an audit focused on agent behavior or access controls.

New platform capabilities reflect that structural shift. Okta for AI Agents reached general availability on April 30, 2026, with a central registry, lifecycle management, short-lived credentials, and policies restricting agent access. It can work with Entra ID or Ping as the system of record for human users. Microsoft Entra Agent ID reached general availability in April 2026, extending Conditional Access, Identity Protection, and Identity Governance to agents. Its agent identity is a specialized service principal with no credentials of its own, acquiring short-lived tokens through its blueprint.

Authentication is only half the problem, however. Fine-grained authorization using relationship-based or attribute-based models can distinguish permission to summarize project documents from permission to export them to external APIs. An agent with a viewer relationship need not receive both. Coarse role-based access control cannot make such precise choices about what an agent can do.

Why traditional perimeter controls structurally cannot see any of these three vectors

The plugin can read files, the extension can access browser content, and the API key is valid. None necessarily requires an unauthorized entry. The network layer sees access that is allowed, but lacks the context to tell whether the purpose of that access has changed.

That does not mean every attack leaves no detectable signal. The JetBrains campaign’s plaintext connection to a hardcoded IP is a concrete inspection opportunity. But detecting an unusual destination differs from understanding that a settings handler has copied a secret. Process or network telemetry alone does not supply the intent of the interaction.

Akamai’s report states, “Traditional data loss prevention tools were built for an era of file transfers and emails. Today, sensitive corporate data is being systematically fragmented across millions of fluid prompts, unmanaged personal accounts, and autonomous AI agents.” The missing layer is context about the tool, account, credential, content, and action.

What a governed AI layer must do differently across each attack vector

For security and platform teams, the operational lesson is to place controls at the AI interaction level while retaining enforcement where plugins, browsers, and identities are managed. A gateway cannot replace extension allowlisting, and an identity registry cannot inspect a malicious prompt. The controls have distinct jobs. A governed layer must connect their evidence so that a legitimate permission does not become a blanket assumption of legitimate behavior.

For developer tools, the CSA recommends auditing installed plugins against approved allowlists, rotating all AI API keys configured in those tools, moving credentials to vault-backed secrets managers, and applying strict scope and rate limits. Supply chain integrity practices must also extend to plugins. Detection should flag outbound calls from IDE processes to non-approved endpoints, particularly over plaintext HTTP. The JetBrains campaign supplies a specific test case for that requirement.

Browser controls need a different enforcement point. Enterprise browser or endpoint management should enforce extension allowlists, while session-level inspection checks AI interactions for prompt injection in the content they encounter, including URL-based instructions of the CometJacking kind. Account context is equally necessary. Policy must distinguish personal-account AI use from corporate-account use rather than treating access to an approved service as sufficient approval.

For agents, governance should use short-lived credentials tied to verified identities in place of static keys and use fine-grained authorization to control which systems each agent can access and which actions it can take. Consumption monitoring adds a separate signal. Rate spikes and calls to unexpected endpoints can indicate stolen-key use, even when authentication succeeds. The identity capabilities described above address credential issuance and lifecycle management.

As agents increasingly use the Model Context Protocol, a governed MCP gateway can place many MCP servers behind one controlled endpoint, enforce who can call what, and record every invocation. An AI control plane connects that agentic layer with broader API governance, existing identity providers, shadow AI detection, prompt-injection detection, and organization-wide cost and usage telemetry. Central oversight still needs vector-specific enforcement. Full audit logs must show what AI tools did, what data they touched, and which credentials they used, so that compliance and stolen-key investigations have evidence. That is the practical dividing line between an inventory of AI products and governance of AI activity.

Sources

  1. AI Toolchain Hijacked: IDE Plugin API Key Theft

More in Enterprise AI Governance