Shadow AI: Why Employees Use Unapproved Tools and What to Do About It

Shadow AI detection and data-class policy

Companies that ban unapproved AI tools often find the tools in use anyway. A person facing a deadline, with a long document and a chat window that works, may paste the document into the chat window. This article treats that behaviour as information about your approved options, then works through leakage paths, detection, the amnesty alternative and the data-class rules that make a policy hold.

Shadow AI means any AI tool used for work without the knowledge of IT or security: a chat assistant on a personal account, a browser extension that summarizes pages, a transcription bot someone invited to a call, a code assistant installed on a laptop, or an AI feature switched on inside an application you already approved. The intended reader is an IT or security owner, an operations lead, or a founder deciding what to do next.

1. Why people use tools you did not approve

The motives are ordinary. The approved tool is slower, has a smaller feature set, needs a ticket before anyone can log in, cannot take a file, or does not exist yet. Sometimes the rules were never explained, so people guess. Sometimes a manager sets a target that quietly assumes the faster tool. Every one of these is a rational response to friction, which means the fix has to remove friction as well as add rules.

Friction compounds across a team. Illustrative numbers — replace with your own. Suppose the approved route costs 4 extra minutes per task (sign-in, a request form, a wait), a person does 5 such tasks a day, and 25 people do this work. The arithmetic is 4 × 5 × 5 days = 100 minutes per person per week, and 100 × 25 = 2,500 minutes, or about 41.7 hours of team time every week. Against that, a free account in a browser tab costs nothing to open. In this example, a ban without a faster alternative asks the team to give up 41.7 hours a week to follow it.

A ban also changes where the use happens. If a tool is blocked on the corporate network, some employees may try a personal device or home network. That can make corporate network logs less representative while leaving the underlying data-handling concern unresolved.

These incentives help explain why a ban alone may move use beyond the places a company can observe. A workable response combines clear boundaries with a convenient approved route, then checks whether that route covers the tasks people reported.

Common friction points include slow access approval, missing file support, limited workflow fit, and rules that are hard to find. Ask users which specific task led them to an outside tool. Use those answers to prioritize the approved option instead of assuming every team needs the same feature.

2. The paths data takes out

Policy discussions often picture one path, someone pasting text into a prompt. Six common paths leave different traces.

  • Pasted text: Contract clauses, customer emails, code, spreadsheets copied as text. Network logs may show a request to a known domain without showing the pasted content.
  • Uploaded files: Whole documents, exports, screenshots. Larger requests, and the file may be stored by the service under its own retention terms.
  • Browser extensions: An extension that reads the page can send what is on screen, including internal dashboards and webmail, to its own backend.
  • Meeting and transcription bots: A bot may join a call and process or store a transcript outside your systems. The recording can include employees and external guests.
  • Connector grants: A user clicks through an authorization screen that lets a tool read mail, calendar or a shared drive. The data moves without any prompt being typed.
  • Features inside approved software: An application you already use may add an AI option with feature-specific settings or terms that need review.

Whether a service keeps prompts, uses them to improve its models or lets staff read them depends on the vendor, the plan and the contract. Consumer and business plans often differ. Read the actual terms for each tool you consider approving and record the answer; do not assume either direction.

A browser extension may request permission to read pages or interact with site content; the actual access depends on its declared permissions and how it is built. Review those permissions and the destination of any data transfer before approving it. OAuth grants can also allow an application to access selected files or services; check the requested scopes and revoke access when it is no longer needed.

Retention, model-improvement use, and human access vary by service, plan, and contract. Check the terms that apply to the exact account and feature, and record who reviewed them. Do not infer a protection from the word “business” or assume that every consumer plan has the same settings.

3. Detect or ask: egress logs and amnesty

Detection works from proxy or DNS logs. You keep a list of domains grouped into categories (chat assistants, code assistants, transcription) and count requests per department per day. The method can show request volume and department in aggregate. It does not show what was sent, may miss personal devices and mobile networks, and depends on a domain list that can become stale. Treat it as a trend monitor and not as proof. Report by department, not by named individual, and check with counsel (and a works council where one exists) about what logging and review is permitted in your jurisdiction.

Amnesty works from the other direction. You announce a fixed window, say two weeks, in which people can declare any AI tool they use for work with no penalty. The yield is the list of real use cases, which is what you need in order to build a good sanctioned option. Its credibility depends on following the stated terms; disciplining someone for a disclosure can discourage others from participating. The two methods fit together. Run the amnesty first to learn the use cases, then keep the log analysis running as a drift alarm.

The example below flags a department and category when the current day's request count exceeds its own historical average by a chosen number of standard deviations. Its inputs are illustrative and include zero-count days, which must be present for the baseline to mean what the code assumes. A flag is a prompt to investigate a change in volume, not evidence about the content or intent of a request.

# Illustrative daily counts; include zero-count days in the real input.
import statistics
from collections import defaultdict

def flag_spikes(counts, today, min_requests=50, z=3.0):
    """counts maps (department, category, day) to a daily request count."""
    history = defaultdict(list)
    current = {}
    for (department, category, day), count in counts.items():
        key = (department, category)
        if day < today:
            history[key].append(count)
        elif day == today:
            current[key] = count
    flags = []
    for key, values in history.items():
        n_today = current.get(key, 0)
        if len(values) < 7 or n_today < min_requests:
            continue
        mean = statistics.mean(values)
        sd = statistics.pstdev(values)
        if sd == 0:
            continue
        score = (n_today - mean) / sd
        if score >= z:
            flags.append((key, n_today, round(mean, 1), round(score, 1)))
    return sorted(flags, key=lambda item: -item[3])

finance = [38, 41, 40, 43, 40, 39, 42, 41, 40]
counts = {("finance", "chat", day): n
          for day, n in enumerate(finance, start=1)}
sales = [28, 29, 30, 31, 28, 32, 30, 29, 31]
counts.update({("sales", "chat", day): n
               for day, n in enumerate(sales, start=1)})
counts[("finance", "chat", 10)] = 180
counts[("sales", "chat", 10)] = 30
print(flag_spikes(counts, today=10))
# Output: [(('finance', 'chat'), 180, 40.4, 98.1)]
Egress Anomaly Detection Baseline and Spike Flagging AI Egress Telemetry: Baseline vs. 3-Sigma Anomaly Trigger Illustrative: finance baseline 40.4/day; day 10 = 180 (z = 98.1) 0 50 100 150 200 Min Request Floor = 50 Baseline Mean = 40.4 req/day Day 10: 180 (z = 98.1) Sales 30 (<50) D1 D2 D3 D4 D5 D6 D7 D8 D9 Today (D10) Finance Daily Requests Volume Floor Filter (50)
Figure 2. Illustrative request-volume alert. Finance has a 9-day baseline (mean 40.4, population standard deviation 1.42) and 180 requests on Day 10, giving z = 98.1; the sales example stays below the 50-request floor.

A flag is a prompt for a conversation with the department lead, not a finding of misconduct. Often the answer is an unmet need that the sanctioned option should cover.

Domain counts can show a change in traffic volume, but they do not reveal what a person sent. Keep that limitation visible when reviewing the signal. Use aggregated reporting where appropriate, and check with counsel about what logging and review are permitted where the company operates.

The standard technique: Rolling Z-score anomaly scoring. For each department and tool category, compare the current count with a baseline of earlier days. The score z = (x − μ) / σ describes how far the current value is from the baseline mean in standard-deviation units. A threshold such as z ≥ 3 is a configurable alert rule, not a guarantee of a particular false-alert rate: request counts may not follow a normal distribution, and the result depends on the baseline window. A minimum-volume floor can prevent alerts on tiny counts, but it also means smaller changes may go unnoticed.

This method has practical limits:

  • Incomplete or flat baselines: Include days with no requests, or the baseline will overstate typical activity. If the standard deviation is zero, the example code skips scoring that series because the score is undefined.
  • Changing schedules: Weekends, holidays, and seasonal work can shift normal volume. Compare like periods where possible and review unusual alerts in context.
  • Gradual changes: A slow increase may blend into a rolling baseline. Volume monitoring does not replace data classification, access controls, or review of tool permissions.

4. Data classes decide the rules

A rule people can remember beats a rule that is correct but unread. Four data classes cover most companies. Each class names where it may go, and the table is the policy; everything else in the document explains it.

Data classExamplesSanctioned assistantOther tool with signed contractPersonal or free account
PublicPublished pages, draft marketing copyYesYesYes, with no company data added
InternalMeeting notes, wiki pages, ordinary plansYesAfter security reviewNo
ConfidentialCustomer lists, contracts, financials, unreleased roadmapYes, with logging onOnly with legal sign-offNo
RestrictedCredentials, customers' personal data, regulated records, secrets in codeOnly if approved for this classNoNo
Data Classification and Egress Routing Decision Flow Data Classification & AI Egress Routing Matrix Deterministic routing paths based on payload sensitivity and contractual retention guarantees Data Sensitivity Class Payload Examples Permitted Destination Egress Control Class 1: Public Public material Published articles, marketing copy, docs Any assistant Consumer or enterprise Unfiltered Class 2: Internal Internal operational notes Wiki pages, meeting notes, project roadmaps Sanctioned tool only Reviewed access SSO + Zero-Train Class 3: Confidential Finance, customers Contracts, pricing customer emails Approved + logged Audit log retention on Audit Logging Class 4: Restricted Secrets, keys & PII API keys, passwords, PII, source code repositories Approved for class Specific sign-off required Class controls
Figure 1. Example data-classification and AI-routing policy. Adapt the destinations and controls to the organization’s approved rules.

The sanctioned option has to win on the three use cases people actually have, which the amnesty list gives you. In practice that means single sign-on so there is no new password, access granted the same day, file upload, a context size large enough for a real document, contract terms on retention and training that your legal owner has read, and usage logs you can query. If the sanctioned tool is worse at the top use case, people will keep the old habit and the policy becomes decoration.

There is no single control that fits every team. A company can block specific destinations, approve selected tools, or allow a broader set under reviewed terms; each choice trades convenience against visibility and administrative effort. Make the decision by data class and task, document the owner, and review the actual retention and access terms for each approved service.

  • Blocking: Use for tools or data flows that the organization has decided it cannot permit. Tell employees what is blocked and provide a way to request an exception.
  • Approved tools: Select an option that supports the common tasks people reported. Check account controls, file handling, logging, and contractual terms before rollout.
  • Endpoint or network controls: Apply them where the risk and operational capacity justify the work. Test their coverage and false positives before relying on them.
  • Review: Revisit the decision when a tool adds features, changes terms, or begins handling a new class of data.

Use the table above as a starting policy and adapt its labels to the organization’s existing classification scheme. A table is useful only if employees can find it and managers apply it consistently.

5. Failure modes and the first 30 days

Start with a small operating loop: learn what people are using, decide what data may go where, provide an approved route for common work, and review whether the route is being used. The schedule below is a planning example; adapt it to the company’s size, existing controls, and review process.

  • Days 1–7 — Discover: Name an owner from IT or security. Invite staff to describe the tools and tasks they use, and explain how the responses will be handled. Review available proxy or DNS data at an aggregate level. Record gaps in visibility, including personal devices and services the logs cannot identify.
  • Days 8–14 — Classify and review: Map common work examples to the organization’s data classes. For each frequently used tool, review the relevant account settings, requested permissions, file handling, retention terms, and model-improvement terms. Ask legal or privacy reviewers about monitoring and employee notice requirements.
  • Days 15–21 — Pilot: Choose a team with a clear use case. Test sign-in, access approval, file handling, and the quality of outputs on approved sample material. Give the pilot group a direct way to report missing features and unclear rules.
  • Days 22–30 — Adjust: Publish the data-class table and an exception route. Expand access only after the pilot owner has reviewed the issues. Use request-volume changes as a discussion prompt, and schedule periodic reviews of approved tools and their terms.

Common failure modes are manageable when they have an owner. A ban without an exception path may shift use to devices the company cannot observe. A tool that cannot handle a reported task may leave employees with no practical approved route. A monitoring program that reports individual activity without a clear purpose can undermine trust and may conflict with local requirements. An amnesty without a credible explanation of how disclosures will be used can discourage participation. Set the scope and safeguards before asking people to disclose their use.

For the first review, track operational questions rather than unsupported targets: Which tasks are covered by an approved option? Which data classes remain out of scope? Are employees able to obtain access in time? What new permissions or terms need review? Which alerts led to a useful conversation, and which were noise? Use the answers to change the tool, policy, or monitoring rule.

The next step is to name an owner, publish a readable data-class guide, and open a safe route for questions about current use. Keep the policy tied to real workflows and review it as tools and terms change.