Guides / CTO guide

How to detect shadow IT and shadow AI, and what to do with what you find

Shadow IT is software your staff use without the IT team knowing; shadow AI is the same with AI tools and the apps staff now build with them. Marketing built a tool in Lovable, operations runs an n8n workflow, a founder shipped a dashboard with Claude Code. How to keep the speed and still know what runs, who owns it, and what happens when it breaks.

The reality in most small companies

Somebody in marketing built a lead tool in Lovable. Operations has an n8n workflow that writes to the CRM. A founder shipped an internal dashboard with Claude Code over a weekend. None of them asked you first, and most of them work. Your job is not to stop this. It is to make sure that when one of them breaks, leaks or gets expensive, someone notices and someone owns it.

The principle: let people build, but make three things non-negotiable before anything touches real customer data or money: an owner, a vault, and a way back.

Step 1: how to detect shadow IT and shadow AI

You cannot govern what you cannot see. Shadow IT is software staff use without IT knowing; shadow AI is the same with AI tools, and now with the apps staff build using them. Spend one afternoon on an inventory:

Inventory questions for AI-built apps
QuestionWhere to look
Which AI tools do we pay for?Card statements and expense reports: Lovable, Base44, Replit, Bolt, Cursor, Claude, ChatGPT, n8n
Which tools do people sign in to?Single sign-on and Google or Microsoft account logs: the third-party apps staff granted access to company accounts
What runs in the browser?Browser extension lists on managed devices: AI writing and meeting tools often arrive this way
Which apps are live?Custom domains, published app links, DNS records, Slack messages announcing tools
Where does company data go?Each app's database and connections: CRM, Google Drive, Stripe, email
Whose accounts are they on?Personal sign-ups are the biggest risk: the app leaves when the person does
Which keys exist?Environment variables, builder settings, and a scan of every repository (see key-scanning tools)

Then ask each team directly what they use and what they built. Most will tell you if there is no penalty for answering.

The hidden costs of shadow IT

The licence fees are the smallest part. Four costs show up later:

  1. Duplicate subscriptions. Three teams pay for three AI tools that do the same job, each on a personal card, none on a company plan with business data terms.
  2. Data in accounts the company does not control. Customer lists, contracts and financial data end up in personal workspaces. When the person leaves, the data and the access leave with them.
  3. Apps nobody can maintain. A tool the whole team relies on breaks after its builder moves on, and nobody knows where it runs or how it was made.
  4. Incident and compliance exposure. A leaked key or an exposed database you did not know about is still your incident, and still yours to report to customers and regulators.

Step 2: sort every app into one of three tiers

Three tiers for AI-built apps
TierExampleMinimum rules
1. Personal helperA prompt library, a summary tool only its author usesBusiness account, no customer data
2. Team toolAn internal dashboard, a reporting workflowCompany-owned account and repository, secrets in a vault, a named owner, a backup
3. Customer-facing or money-movingA booking app, a quote calculator, anything touching paymentsAll of tier 2, plus a security review, access checked on the server, monitoring and alerts, staged releases

Step 3: the guardrails, by layer

Guardrails for AI-built apps

AccountsCompany-owned workspacesSSO where availableNo personal sign-ups for tier 2 and 3
CodeCompany GitHub organizationProtected main branchSecret scanning on push
SecretsA vault (Infisical, AWS Secrets Manager, Azure Key Vault)No keys in front-end codeRotation for critical keys
AI usageSpend limits per projectBusiness API accountsClaude Code deny rules for secrets
RuntimeYour AWSor your AzureLogs and alerts to a named personBackups tested
ReleaseStaging before productionOne-click rollbackA changelog anyone can read
Tier 3 apps need every layer. Tier 2 needs accounts, code, secrets and AI usage.

Step 4: know the risks you are managing

The OWASP Top 10 for LLM Applications (2025) is the clearest shared list. For apps built by non-specialists, five matter most:

Five OWASP LLM risks for AI-built apps
OWASP itemHow it shows up in an AI-built appGuardrail
LLM01 Prompt injectionA customer message or an uploaded document tells the AI to ignore its instructionsTreat AI output as untrusted; never let it trigger payments or deletions alone
LLM02 Sensitive information disclosureThe assistant repeats another customer's data or internal notesAccess checked on the server, per user; minimal data in prompts
LLM05 Improper output handlingAI output inserted straight into a web page or a database queryValidate and escape output like any user input
LLM06 Excessive agencyAn agent with write access to the CRM, email and paymentsSmallest permissions; a person approves irreversible actions
LLM10 Unbounded consumptionA loop or a bot runs up the AI bill overnightRate limits per user, spend limits per project

Step 5: write it down in one page

Staff follow a one-page policy; they ignore a forty-page one. Use the AI acceptable use policy template, by department as a starting point, and adapt the tiers above. For a recognised reference, NIST's AI Risk Management Framework and its Generative AI Profile give you the vocabulary auditors and larger customers expect.

In New York, the SHIELD Act already requires reasonable safeguards for residents' data, and Local Law 144 covers AI tools in hiring.

Step 6: a path from prototype to production

Promoting an AI-built app to tier 3

  1. 1InventoryOwner named, accounts moved to the company, code in the company GitHub.
  2. 2SecureKeys rotated into a vault, history scanned, access checked on the server.
  3. 3StabilizeTests on sign-in, payments and the main form. Staging environment.
  4. 4DeployYour AWS or Azure account, with logs, alerts and backups.
  5. 5OperateMonthly review of cost, errors and dependencies. Rollback tested.
The stabilization method covers each step in detail.

Step 7: the five numbers to review monthly

  1. Number of tier 2 and 3 apps, and how many have a named owner (target: all).
  2. Open secret-scanning alerts (target: zero older than a week).
  3. AI spend per app against its limit.
  4. Incidents and how they were noticed: by an alert, or by a customer?
  5. Apps still on personal accounts (target: zero for tier 2 and 3).

Sources

Checked on 2 December 2026. Prices and product names change; the linked pages are the reference.

How I help

I run the inventory, set the guardrails and move the apps that matter into your cloud, so your team keeps building without you carrying the risk.

  • AI readiness assessment ($2,500, one week): inventory, tiers, risk list and a phased plan.
  • Build: company accounts, vault, scanning, staging and deployment for tier 3 apps.
  • Operate: from $4,999 per month, monthly review of the five numbers.

Done by a Claude Certified Architect and Certified Lovable Expert. Everything stays in your accounts.

Questions

Should we ban tools like Lovable or Claude Code?

No. Bans push building onto personal accounts where you cannot see it. Allow them, and require an owner, a company account, a vault and a way to roll back before anything touches customer data.

Who should own an app a non-developer built?

The person who built it owns what it does; IT or a technical partner owns where it runs, its secrets and its backups. Write both names down.

Which framework should we follow?

Use the OWASP Top 10 for LLM Applications for technical risks and the NIST AI Risk Management Framework with its Generative AI Profile for governance vocabulary. A one-page internal policy is what staff will actually follow.

How do we find apps we do not know about?

Card statements, expense reports, sign-in logs, custom domains and a scan of company repositories. Ask teams directly too; most will tell you if there is no penalty for answering.

What is shadow IT?

Software and online services staff use for work without the IT team knowing or approving them, often paid on a personal card or signed up with a work email.

What is shadow AI?

Shadow IT for AI: AI tools staff use without approval, and increasingly the apps and automations they build with Lovable, Claude or n8n.

What are the hidden costs of shadow IT?

Duplicate subscriptions, company data in accounts the company does not control, tools nobody can maintain when their builder leaves, and incidents you are responsible for but did not know could happen.

How do you detect shadow AI?

Combine card statements and expense reports, single sign-on and account logs, browser extension lists and a scan of company repositories, then ask each team directly.

When must an app move off the builder platform?

When it becomes customer-facing or moves money, or when the builder's limits block a requirement such as staff sign-in or data residency.

Start with a conversation

Thirty minutes, no charge. Tell me what you have built and where it stopped. If I am not the right person, I will say so and point you somewhere better.

Calendar not loading? Open the booking page or email me.