Aegis Logo
Shadow IT

Finding Shadow AI Agents: Mapping Employee Browser Plugins

Uncover shadow AI browser extensions and unvetted API base URLs. Learn how Aegis Security enforces AI agent runtime security and tracks OAuth grants.

Maulik Shyani
July 22, 2026
3 min read
B13 Cover

Finding Shadow AI Agents: Mapping the Proliferation of Employee-Deployed Browser Plugins

Enterprise software engineering and business operations are experiencing an unprecedented, employee-driven AI transformation. To accelerate code debugging, summarize complex legal contracts, and draft technical proposals, employees across every business unit are adopting generative AI tools at machine speed.

However, because official IT procurement channels often move slower than immediate project deadlines, employees routinely bypass formal security reviews. They install browser extensions, grant third-party OAuth access, and deploy autonomous "AI coworkers" directly within their local workstations.

This rapid adoption has created a massive, unmonitored attack surface: Shadow AI. Unlike traditional shadow IT—where an employee might use an unauthorized cloud storage bucket—shadow AI tools are active, context-aware systems.

Browser plugins ingest everything a user views on their screen: source code repositories, customer PII/PHI, internal Slack messages, and live financial ledgers. They execute client-side scripts, interface with external Model Context Protocol (MCP) servers, and transmit sensitive corporate assets to external, unvetted inference backends.

Attempting to resolve this risk through blanket IT bans is a critical organizational failure mode. Prohibitions simply drive usage underground, forcing employees to switch to personal devices or unmonitored browser sessions, completely blinding security operations.

To protect corporate intellectual property without stalling workforce productivity, security leaders must deploy an advanced AI agent runtime security architecture.

This technical guide delivers an actionable protocol framework to map, audit, and contain shadow AI browser extensions using Aegis Security, transforming hidden exfiltration channels into governed, auditable workflows.

Deconstructing the Infiltration Vectors: How Shadow Plugins Hijack Context

To build a zero-trust containment mesh over browser-based AI tooling, platform architects must first analyze the three technical mechanisms through which unapproved extensions intercept and exfiltrate enterprise data.

Document Object Model (DOM) Scraping and Background Context Capture

Modern AI browser plugins request broad manifest permissions upon installation, specifically targeting host permissions like <all_urls> or https://*/*. Once granted, the extension inserts content scripts directly into the active browser tab's Document Object Model (DOM).

As a developer reviews a private GitHub repository, or a finance analyst opens an internal ERP dashboard, the extension reads the rendered inner HTML in real time. The script automatically extracts code snippets, environment variables, customer PII, and financial metrics, appending them to the model's context window without requiring an explicit user copy-paste action.

Tracking OAuth Grants and Over-Permissioned Identity Scopes

To streamline onboarding, shadow AI extensions prompt users to complete a "Sign in with Google" or "Sign in with Microsoft 365" single sign-on (SSO) flow. During this interaction, the extension requests expansive OAuth 2.0 scopes—such as [https://www.googleapis.com/auth/gmail.readonly](https://www.googleapis.com/auth/gmail.readonly), offline_access, or Files.ReadWrite.All.

Because standard identity providers treat the human user as the primary authorization boundary, the authorization server issues a long-lived refresh token to the extension. The plugin transforms into a persistent non-human identity (NHI), retaining backchannel read-write access to corporate cloud workspaces long after the user closes the browser tab.

Out-of-Band Routing to Unvetted API Base URLs

Traditional network firewalls and Cloud Access Security Brokers (CASBs) inspect web traffic by matching domain names against static databases of known SaaS tools. Shadow AI extensions bypass these controls entirely by routing intercepted payload data to unvetted API base URLs hosted on generic cloud providers (AWS Lambda API Gateways, Cloudflare Workers, or custom VPS instances).

Because the egress destination is a generic IP address or custom subdomain, network-layer DLP filters fail to recognize the request as an AI inference query, leaving identifying hidden data exfiltration channels an unsolved problem for legacy security stacks.

The Six-Layer Technical Detection & Discovery Blueprint

Discovering shadow AI agents requires moving past periodic surveys and implementing an automated, multi-plane discovery framework that operates directly across the identity, browser, and network layers.

The Aegis Multi-Plane Discovery Architecture

Layer 1: Identity Provider OAuth Grant Auditing

Run automated administrative scripts across your central Identity Provider (Google Workspace, Microsoft Entra ID, Okta) to extract every active third-party token grant. Flag all non-approved client registrations requesting high-risk OAuth scopes or offline access.

// Example: Insecure OAuth Grant Output Flagged for Review

{

  "client_id": "8839102934-shadow-agent.apps.googleusercontent.com",

  "app_name": "AI Auto-Summarizer Plugin",

  "grantee_user": "analyst@enterprise.com",

  "scopes_granted": [

    "https://www.googleapis.com/auth/drive.readonly",

    "https://www.googleapis.com/auth/gmail.readonly"

  ],

  "risk_assessment": "CRITICAL: Non-approved application holding offline read access to drive assets."

}

What to Look For:

Identify third-party OAuth grants where the application category matches "Productivity," "AI Assistant," or "Utility," but lacks an enterprise Data Processing Addendum (DPA).

What You'll Miss Without This:

Without continuous IdP audits, third-party apps retain permanent access to corporate file stores long after an employee uninstalls the local extension.

Layer 2: Browser Extension Manifest & Permission Mapping

Query enterprise browser management controllers (Chrome Enterprise Policy, Microsoft Edge Management) to export a canonical index of all installed extensions across corporate endpoints. Parse extension manifest.json files to flag risky permission configurations:

// Extension Manifest Audit: Dangerous Permission Pattern

{

  "name": "Quick-Code-Refactor-AI",

  "manifest_version": 3,

  "permissions": [

    "activeTab",

    "storage",

    "webRequest",

    "declarativeNetRequest"

  ],

  "host_permissions": [

    "https://*/*",

    "http://*/*"

  ]

}

What to Look For:

Isolate extensions that combine broad host permissions (*://*/*) with background background-page scripts that initiate external network calls.

What You'll Miss Without This:

Ignoring extension manifests leaves you completely blind to extensions that read sensitive data from local DOM buffers before network transmission.

Layer 3: API Gateway & Repository Scanning for Embedded Agent Keys

Shadow AI is not limited to business users; software engineering groups routinely embed API tokens for unapproved models directly into local configuration files, test suites, and CI/CD pipelines.

 A flat 2D dark mode technical dataflow chart detailing the Aegis repository and API scanning process, illustrating how the platform detects unvetted API base URLs and hardcoded model keys in build pipelines.

What to Look For:

Scan source code management (SCM) platforms for environment variables containing endpoints like api.together.xyz, api.groq.com, or custom IP addresses, alongside unverified Model Context Protocol (MCP) server manifests.

What You'll Miss Without This:

Without pipeline scanning, developer-built shadow agents bypass browser controls completely by operating as machine-to-machine background tasks.

Layer 4: Network & DNS Telemetry Correlation

Cross-reference DNS query logs and egress proxy flows against threat intelligence feeds cataloging emerging AI inference endpoints, model serving engines (Ollama, vLLM, Triton), and open-source model hubs.

What to Look For:

Flag high-frequency outbound HTTPS POST requests originating from workstation browser processes to non-standard external domain names.

What You'll Miss Without This:

Relying solely on known brand names (like api.openai.com) causes you to miss self-hosted open-source models deployed on external cloud instances.

Layer 5: Browser-Native In-Path Content Inspection

Deploy lightweight, browser-native interception drivers that analyze plaintext inputs before payloads are encrypted and transmitted via TLS.

A flat 2D dark mode technical sequence diagram showing the Aegis browser-native interceptor capturing text inputs, parsing for sensitive data against an OPA policy, and executing real-time payload sanitization.

What to Look For:

Capture plaintext prompts containing credit card numbers, Social Security numbers, internal API credentials, or proprietary source code arrays.

What You'll Miss Without This:

Once data is encrypted inside the browser tab, network-layer DLP tools cannot inspect payload contents without executing disruptive SSL/TLS decryption.

Layer 6: Embedded AI Features Audit across Approved SaaS Stacks

Systematically inventory the native AI features enabled inside authorized enterprise applications (Salesforce Copilot, Microsoft 365 Copilot, Google Workspace Gemini, Notion AI, Slack AI).

What to Look For:

Review vendor data-retention policies to confirm whether tenant data is opt-out from global model training pipelines.

What You'll Miss Without This:

Failing to audit embedded AI capabilities allows vendor software updates to turn approved applications into unmonitored data-sharing vectors.

The Aegis Runtime Control Plane: Zero-Bypass AI Agent Security

Managing the security risks of shadow AI requires moving past static policy documents and deploying a zero-bypass AI agent runtime security architecture. Aegis Security decouples policy administration from application logic, delivering real-time interception, dynamic token management, and automated threat containment across all AI interactions.

In-Path Gateway Proxying and Real-Time Payload Sanitization

Aegis deploys high-performance Go sidecar proxies alongside your workstation and network environments. Utilizing Envoy’s ext_authz filter, Aegis intercepts outgoing AI requests out-of-band before payloads reach external model providers.

Every request is evaluated against version-controlled Open Policy Agent (OPA) Rego bundles. Aegis provides four distinct decision effects:

  • allow: Permitted requests proceed to the model endpoint unchanged.
  • deny: Prohibited requests (such as unauthorized model connections) are blocked at the network edge.
  • sanitize: Sensitive fields (PII, API keys, source code comments) are automatically redacted inline before transmission.
  • approval_needed: High-risk requests freeze the active execution thread, launching an out-of-band human review loop.

 Just-In-Time (JIT) Token Provisioning & Dynamic Token Revocation

Handing long-lived API keys or static credentials to local browser plugins creates severe security vulnerabilities. Aegis implements centralized token brokering paired with Just-In-Time (JIT) provisioning.

Instead of exposing static master keys, Aegis generates short-lived, task-scoped access tokens for individual requests. If an extension displays anomalous behavior or attempts to access unauthorized data paths, Aegis executes dynamic token revocation out-of-band, instantly invalidating the active token and isolating the extension.

Technical Deep-Dive Matrix: Shadow AI Extensions vs. Aegis Runtime Security

Security Evaluation Domain

Unmanaged Shadow AI Browser Extensions

Aegis AgenticOps Runtime Control Plane

Ingestion Visibility

Unmonitored client-side DOM scraping and automated background web requests.

Full Traceability: Intercepts input-output pipelines out-of-band at the proxy edge.

Identity & Authentication

Long-lived user-delegated OAuth refresh tokens held in browser storage.

Ephemeral credentials managed via Just-In-Time (JIT) token provisioning.

Target Endpoint Control

Unvetted API Base URLs: Connects directly to arbitrary external endpoints.

Strict gateway allowlisting; blocks unauthorized model endpoints at transport.

Payload Data Protection

Raw corporate data, source code, and customer PII sent directly to external models.

Real-Time Sanitization: Redacts PII and confidential keys inline before delivery.

Human Oversight Flow

None; extensions execute multi-step tool calls without confirmation gates.

Asynchronous Human-in-the-Loop: Suspends high-risk execution threads via CIBA hooks.

Forensic Audit Capability

Fragmented or missing browser history logs; easily erased by local users.

Immutable Evidence Pipeline: Writes cryptographically signed JSON logs to WORM storage.

The Agentic SOC: Machine-Speed Threat Isolation

When a malicious or compromised browser extension executes a data exfiltration script, it can transmit thousands of records in seconds. Waiting for a human security analyst to manually triage a SIEM alert introduces dangerous operational latency.

Defending against machine-speed risks requires an Agentic SOC: an architecture where specialized AI monitoring agents continuously govern operational AI workloads.

 A flat 2D dark mode system workflow chart mapping the Aegis threat isolation pipeline, showing how out-of-band AI monitoring agents continuously analyze OpenTelemetry traces and programmatically revoke JIT tokens to freeze a compromised browser extension session in real time.

Aegis monitoring agents consume thin, trace-native OpenTelemetry logs out-of-band, building a real-time baseline of normal software behavior.

The moment an active plugin attempts to send data to an unvetted API base URL or query database records outside its authorized scope, the monitoring agent acts instantly: it revokes the workload's short-lived JWT token, updates proxy rules to drop outbound packets at the transport edge, and packages the complete trace logs for forensic analysis.

Human-in-the-Loop Escalation and CIBA Backchannel Authorization

High-risk actions initiated by AI extensions—such as bulk-exporting customer contact lists or executing code modifications—must be gated by explicit human sign-off. Aegis integrates human-in-the-loop escalation triggers directly into the execution path using Client-Initiated Backchannel Authentication (CIBA).

Operationalizing Asynchronous CIBA Authorization

When an extension or agent attempts a transaction that breaches configured risk thresholds, Aegis uses an asynchronous, non-blocking execution model:

  1. Thread Interception: The Aegis interceptor halts the tool request out-of-band, returning an approval_needed decision effect that pauses the active execution thread.

  1. Backchannel Prompting: Aegis initializes a secure CIBA authorization request, sending a push notification directly to an authorized manager's mobile authenticator app or hardware token, completely decoupled from the browser session.

  1. Cryptographic Sign-Off: The agent thread remains suspended while the application polls the status ledger using an exponential backoff routine. Once the human manager approves the request, a cryptographically signed approval token is written to the database, allowing Aegis to return an allow directive and release the command for execution.

Global Compliance Framework Alignment & Continuous Auditing

To satisfy enterprise compliance mandates (EU AI Act, SOC 2 Type II, ISO 27001, GDPR, HIPAA), every shadow AI discovery event, policy enforcement check, and data-redaction action must produce a tamper-proof audit trail.

 A flat 2D dark mode dataflow chart detailing the Aegis compliance logging pipeline, showing how shadow AI discovery events and runtime policy decisions are cryptographically signed and archived in WORM storage for regulatory auditing.

Regulatory Compliance Mapping

Governance Standard

Core Posture Obligation

Aegis Platform Implementation

EU AI Act (Articles 12 & 99)

Continuous logging, risk assessment, and immutable event tracing over the system lifecycle.

Immutable Capability Logging: Bundles and signs every prompt interaction, payload redaction, and policy decision in WORM storage.

GDPR / HIPAA Security Rule

Enforce security by design, ensure local data residency, and protect sensitive customer PII/PHI.

In-Path Payload Sanitization: Automatically detects and redacts 18 PHI identifiers and customer PII out-of-band before transmission.

SOC 2 (Type II Audits)

Maintain comprehensive audit trails, control logical perimeters, and capture infrastructure logs.

Captures trace-native telemetry via OpenTelemetry, isolating database records per tenant at the ORM layer.

OWASP Agentic AI Top 10

Mitigating ASI01: Agent Goal Hijacking and ASI02: Insecure Tool Use.

Enforces strict JSON schema checks, short-lived tokens, and least-privilege tool scoping dynamically.

Aegis records every single token validation, context transformation, tool argument, and proxy decision. The platform packages these traces into cryptographically signed snapshot files saved within write-once-read-many (WORM) object storage, delivering audit-ready verification packs for external compliance reviews.

Conclusion: Command the Action Plane

The proliferation of employee-deployed browser plugins and shadow AI agents represents a fundamental shift in enterprise risk. Treating these active, context-aware systems like simple, static web pages is an operational blind spot. Issuing blanket IT prohibitions or relying solely on periodic surveys creates a false sense of security while driving risky behaviors underground, leaving corporate data exposed to unvetted external endpoints.

Achieving durable security requires an infrastructure control plane built on complete visibility and zero-bypass runtime enforcement. By deploying Aegis Security, organizations can systematically discover unmonitored extensions, audit third-party OAuth grants, redact sensitive payload fields inline, and enforce human-in-the-loop approvals for high-risk actions. Stop trying to block innovation; secure the execution path, protect your data perimeters, and enable workforce productivity with absolute confidence.

Frequently Asked Questions (FAQ)

Q1: Why do traditional Cloud Access Security Brokers (CASBs) fail to detect shadow AI browser plugins?

A: Traditional CASBs monitor network traffic by matching request domain names against databases of known SaaS products. Shadow AI extensions frequently bypass these controls by routing data to unvetted API base URLs hosted on generic cloud infrastructure (like AWS Lambda or Cloudflare Workers) or by scraping data directly from local browser DOM buffers before encryption.

Q2: How does Aegis sanitize sensitive data in prompts without breaking application functionality?

A: Aegis’s Data Plane proxy intercepts outgoing prompt strings out-of-band and evaluates them against declarative OPA Rego rules. When sensitive data (PII, API keys, financial parameters) is detected, Aegis applies an inline sanitize transformation, replacing sensitive fields with secure token placeholders before forwarding the scrubbed payload to the model.

Q3: What is the main security risk of third-party OAuth grants issued to AI extensions?

A: When an employee completes a "Sign in with Google or Microsoft" prompt for an extension, they often grant broad OAuth scopes (such as full access to Drive files or emails). The authorization server issues a long-lived refresh token to the extension, creating a persistent non-human identity that retains backchannel access to corporate cloud data even if the local extension is removed.

Q4: How does dynamic token revocation isolate a compromised browser extension?

A: Aegis manages extension authentication through short-lived, task-scoped access tokens generated via JIT provisioning. If an extension attempts to send data to an unauthorized endpoint or exhibits anomalous behavior, Aegis executes dynamic token revocation out-of-band, instantly invalidating the active token and dropping further network traffic at the proxy edge.

Q5: How does Aegis handle compliance reporting for GDPR and the EU AI Act?

A: Aegis automatically logs every prompt interaction, tool call, payload redaction, and policy decision. The platform packages these traces into cryptographically signed snapshot files saved inside write-once-read-many (WORM) storage, delivering audit-ready verification packs that demonstrate continuous control enforcement to external regulators.


Are your corporate workstation browsers running unmonitored AI extensions and routing sensitive data to unvetted API endpoints? Close the visibility gap and secure your workforce with the Aegis AgenticOps Control Plane Core. Secure the action layer.