Shadow integration
Shadow is built into Meridian and on by default. Meridian sets up your company's Shadow Hub workspace, protects every machine you enrol, and shows every AI request, threat and signed receipt next to your controls, registers and evidence room.
Shadow protects endpoints. Meridian records and documents. Shadow masks sensitive data before it reaches an AI service, on your laptops and inside Meridian itself. Shadow Hub collects that activity for the whole team. Meridian turns it into compliance records: evidence, tested controls and registers. Together they cover both doing the control and proving it.
Run by Meridian, with nothing to set up
When you create your workspace, Meridian sets up Shadow for the whole company. You don't create a Shadow Hub account:
- Your company's Shadow Hub workspace is created. Meridian calls Shadow Connect's provisioning API (
POST /connect/v1/provision) and keeps the Connect key it gets back, encrypted on your server. The key has themanagescope: Meridian can invite people, list machines and read requests and receipts for your workspace, and nothing else. - This server enrols itself as a server. Every model call Meridian makes (the agent, the document writer, the importer) is recorded the way Shadow Core records requests on a laptop, with a signed scan receipt, and uploaded to your Hub workspace. It shows up under Personnel as
meridian · <your domain>. - Shadow on the host enrols too. The Shadow container that ships with Meridian (see Deploying) picks up the server link Meridian leaves for it and enrols the host, so other workloads on the machine can send AI traffic through it.
- Evidence starts flowing. The first sync records the Hub's evidence pack, and Meridian syncs daily from then on.
If the Hub can't be reached at signup, Meridian retries every five minutes. Set up Shadow on the Personnel, Privacy or Settings → Shadow page runs it at once. Settings: MERIDIAN_SHADOW_HUB (auto or off), MERIDIAN_SHADOW_HUB_URL for your own Hub, and MERIDIAN_SHADOW_HUB_TOKEN when your Hub requires a provisioning token (see Environment variables).
On the roadmap, run by the agent
Every framework's roadmap has two Shadow tasks, so nobody has to remember to set it up:
| Task | Milestone | What the agent does |
|---|---|---|
| Protect your team's AI use with Shadow | Lay the foundation, after inviting your core team | Checks coverage (shadow_status), then offers a shareable enrolment link, a person invite and the server install command (propose_shadow_invite). You click to create each one |
| Review AI requests and verify receipts | Measure and audit | Walks you through blocked requests and flagged tool calls, the receipt re-check and the evidence sync |
The steps tick themselves as things happen: Meridian's server reporting, the first person enrolled, the first server enrolled, the receipt re-check and the first evidence sync. When they're all done, the agent proposes completing the task. For ISO/IEC 42001 they evidence A.7.4, A.4.2, A.4.5, A.6.2.6, A.6.2.8 and A.10.3; for ISO/IEC 27001, A.8.12, A.5.12, A.8.1, A.8.7, A.5.9, A.5.23, A.8.16, A.8.15 and A.8.19. Roadmaps created before these tasks existed get them added on the next start.
Personnel: people, laptops and servers
Personnel, under AI management, lists everyone Shadow protects, their laptops and desktops, and your servers, live from the Hub. Admins and auditors can see it; members can't see their colleagues' activity.
| Action | What it does |
|---|---|
| Invite | A one-person link for a work email. The person runs one command (macOS, Linux or Windows) and their machine is enrolled under their name |
| Share link | A link anyone in the company can use for 30 days: post it in your team chat or onboarding guide |
| Add server | The install command for your dev team. It works on any number of servers for a year; servers are grouped under Servers and don't take a seat |
Open Shadow Hub signs you in to the Hub dashboard for your workspace with a one-time link, if you want its deeper views.
AI requests, threats and receipts
AI requests & threats shows every request Shadow scanned across the company, within seconds: who and which machine, which app and AI service, what was masked or blocked, dangerous tool calls an agent asked for, and each request's receipt status. Totals, data types, AI services, apps and plain-language findings sit above the list. Admins can open a request to see what the AI service received and the full receipt check.
What a request shows depends on the workspace's sharing level. Meridian provisions it as sanitised: only what the AI service received, with fakes in place of real values. Real values never leave the machine that made the request.
Receipts shows each machine's receipt chain and your workspace ledger. Shadow signs a scan receipt for every request it scans: a COSE_Sign1 envelope with an Ed25519 signature in the Attested Inference Receipt (AIR) format, holding hashes and counts only. Receipts are chained per machine; the Hub checks each one on arrival, appends it to the workspace ledger and signs the ledger head daily. Re-check all verifies every signature, chain, the ledger and the checkpoints again, and records that it did in the activity ledger. Download any receipt to verify it elsewhere. Receipts are the evidence behind SHD-06.
Verify a receipt (on Receipts, and on each request) checks downloaded receipt files in the browser, with no server involved: that the file is a genuine AIR receipt, that its Ed25519 signature matches the machine's key (so nothing changed since it was signed) and that its claims are complete. Several files from one machine are also checked for gaps in their numbered, linked sequence. Shadow Hub is then asked which enrolled machine owns the key and where the receipt sits in the workspace ledger. Each result explains in plain words what the request was and what Shadow did, has a Try tampering with it demo that changes one byte and shows the check failing, and a verification report to keep with audit evidence. The same check runs offline with shadow receipts verify <file>.
Your documents never reach the model as they are
Everything Meridian sends to your model provider (OpenRouter, Anthropic, OpenAI or any compatible endpoint) passes through Shadow first: chat, the policies and documents the writer drafts from your uploads, and imports. Shadow replaces your company name, people, contact details, identifiers and secrets with a consistent fake persona, and restores them in the answer.
Under Shadow privacy → Confidential terms, admins add the intellectual property only they can name: product codenames, client names, internal projects. Shadow masks those in every model call as well. Each call's receipt proves what was sent: the hash of the masked text, signed on your server.
Built in, on by default
Shadow is part of Meridian, not a plug-in. Every model call the agent and the document writer make goes through it (see Shadow privacy layer). It appears under Settings → Code as Shadow (built in). It is always on, and it can't be removed. You can turn it off for a whole server with MERIDIAN_SHADOW=off, but the Privacy tab will then say that prompts leave unmasked, and SHD-01 is marked for attention.
Two pages in the sidebar, under AI management, show what Shadow does:
| Page | What it shows |
|---|---|
| Shadow privacy | Shadow's status, version and active detectors; the persona providers see instead of your company; the vault; 30-day totals; and a log of recent model calls |
| Shadow evidence | The SHD controls with their status and summary, the framework references that apply to you, the Meridian controls they're linked to, and the AI services in use |
The Privacy tab
Each model call is recorded with counts only: the intent Shadow read (act, report, code or converse), the provider and model, how many values were masked and how many were restored in the answer, the kinds of values (email, person, secret…), the detectors that found them, and how long the call took. Real values never leave the encrypted vault on your server, and they are never written to the log. The latest 5,000 calls are kept.
Connect a Hub you already run
Meridian provisions a Hub workspace for you. If your company already runs Shadow Hub, disconnect the provisioned one under Settings → Shadow and connect yours by hand; Meridian then reads its evidence and leaves it alone:
- In Shadow Hub, open Integrations → Meridian → Connect. Copy the Connect key (
shc_live_…). It is shown once and gives read-only access to your organisation's evidence. - In Meridian, open Settings → Shadow (or the Shadow evidence page) and paste the key. Leave the Hub URL empty for Shadow Hub at
https://hub.getshadow.dev, or enter your own Hub's address. - Meridian checks the key with the Hub, stores it encrypted (like code-host tokens), and runs the first sync.
After that, Meridian syncs once a day. Sync now runs a sync on demand. Disconnect forgets the key and keeps everything already recorded. Only owners and admins can connect or disconnect a Hub.
The Hub sends counts and summaries only, never prompts, values or what was changed in them.
What lands where
Each sync pulls the Hub's evidence pack for the last 30 days (shadow.evidence/v1) and records it:
| From the pack | Where it lands in Meridian |
|---|---|
| The pack itself, byte for byte | Evidence room, as shadow-evidence-hub-<date>.json with its SHA-256 fingerprint, tagged with the requirement references for your frameworks |
| The sync | Activity ledger: shadow.synced, with the evidence id and fingerprint |
| Each SHD control (SHD-01 to SHD-13) | Tests, as an automated daily test (pass → Passing, attention, partial or fail → Failing, no data → Needs evidence), updated on every sync |
| Each control's framework references | Links from that test to your Controls with the same reference, e.g. SHD-01 → ISO 27001 A.8.12 and A.5.12, ISO 42001 A.7.4 |
ai_inventory.providers | Vendors & AI suppliers (AI supplier: Yes) and the AI system register (role: User), linked to each other. Existing rows with the same name are reused, so nothing is duplicated |
Badges on the Shadow evidence page show only the references for the frameworks you've enabled. A framework is matched by its id: iso27001-… takes the pack's ISO 27001 references, iso42001-… its ISO 42001 references, and SOC 2, EU AI Act, GDPR and HIPAA references are used as soon as you add a framework with that id prefix (see Frameworks, policies & training).
| Control | What it shows |
|---|---|
| SHD-01 | Sensitive data is masked before it reaches AI services |
| SHD-02 | Prohibited data is blocked from AI services |
| SHD-03 | AI services in use are inventoried |
| SHD-04 | Unprotected AI usage is detected and reported |
| SHD-05 | Endpoint protection covers enrolled machines |
| SHD-06 | AI activity records are tamper-evident |
| SHD-07 | AI extensions, MCP servers and plugins are reviewed |
| SHD-08 | Endpoint disks are encrypted |
| SHD-09 | Endpoints lock and require authentication |
| SHD-10 | Endpoints are patched and supported |
| SHD-11 | Endpoints have malware protection and a firewall |
| SHD-12 | Endpoint configuration is baselined and changes are approved |
| SHD-13 | AI tools on endpoints are governed |
SHD-08 to SHD-13 come from each device's posture, which Shadow checks for free in every workspace. They report pass (95 % of devices or more), partial, fail or no_data; partial and fail become a Failing test. Their framework references are the union of their rules' references (for example SHD-08 → ISO 27001 A.8.1 and A.8.24, SOC 2 CC6.1 and CC6.7, PCI DSS 3.5.1); when a pack leaves a control's mapping out, Meridian uses its own copy of the catalogue.
Shadow MDM
Shadow MDM is an optional, paid add-on of Shadow Hub: $2 per managed device per month, with a 14-day trial. It manages company laptops from the same Shadow agent that protects AI use, with no third-party MDM engine. Meridian runs it through the workspace's manage key; the contract is Shadow Hub's docs/mdm.md.
It only suggests. Every change to a device is a proposal (what, why, evidence, impact, when, what happens if not, confidence, the controls that require it, CIA impact, alternatives and rollback) that an owner or admin approves, approves with changes, schedules or declines with a reason (recorded as a risk acceptance). Approved changes go to a pilot group first; admins promote them to every device or roll them back. Lock and wipe always need two different admins. Approvals made in Meridian are sent with X-Acting-User: Name <email>, so Shadow Hub records the Meridian user as the approver (via: "meridian"). The agent can read Shadow MDM (shadow_mdm_status) to explain a rule or a proposal, but never approves anything.
Which MDM? The agent asks "Which MDM do you use?" when device work comes up (the Shadow tasks are next, or the user mentions devices), and saves the answer as profile.mdm: shadow, jamf, intune, kandji, other or none. It is never required to finish onboarding.
profile.mdm | Offer | Roadmap tasks (in the milestone with the endpoint controls) |
|---|---|---|
none, shadow | A card in the Shadow area and on the home page: Start 14-day trial (admins; nothing is charged without a subscription) | Turn on Shadow MDM · Review the auto-blueprint · Enrol all devices · Escrow encryption keys · Resolve non-compliant devices · Approve the AI tool allow-list (ISO 42001 only) · Export device evidence for audit, linked to ISO 27001 A.8.1, A.8.24, A.8.7, A.8.8, A.8.9, A.8.32, A.5.9 and ISO 42001 A.4.4, A.9.2, A.9.4, A.10.3 where the framework has them |
jamf, intune, kandji, other | None. Shadow never fights another MDM | Upload your vendor compliance report · Keep Shadow posture checks on |
Changing the answer adds the tasks that now apply and removes the ones nobody started. The steps tick themselves hourly from Shadow Hub (add-on on, settings sent, rules enforced, devices reporting, encryption escrowed, no failing devices, no open proposals, the export downloaded, the vendor report uploaded); the agent then proposes completing the task.
Frameworks and audit date. The minimum rules come from the frameworks the workspace follows. While the add-on is on, Meridian keeps Shadow Hub's MDM settings in step: frameworks are the enabled frameworks as Hub keys (iso27001, iso42001, plus soc2, pci_dss, hipaa, gdpr, eu_ai_act when the profile's certifications or goals name them), and audit_date is the start of the next open audit, or else the nearest framework target date. They are sent when the add-on is turned on, within five minutes of a change (enabling or pausing a framework, opening an audit), and daily. Settings the admins choose in the Hub (CIS level, pilot hours, standing approvals) are kept.
Devices · Shadow MDM (Operate) shows the add-on, the approval queue, the Enforcement Map by framework, CIA impact, blueprint or device, at any point in time, the activity feed with signed receipts, each device's posture, and the signed audit export (JSON or CSV, per framework). Auditors see the map, the blueprint, the activity and the export, read-only. Each framework requirement shows "Enforced by Shadow MDM: N rules, X/Y devices" when the map has rules for it.
Policy. The Mobile Device & Remote Working Policy (MER-ISMS-029) names the MDM through {{mdm_name}}: "Shadow MDM", the vendor's name, or "the organisation's MDM (Shadow MDM where enabled)" until the answer is known.
Without a Hub
Meridian is itself an AI system that sends data to a model provider, and Shadow protects it from day one. Until a Hub is connected, Record evidence on the Shadow evidence page turns Meridian's own privacy log into an SHD-01 pack: calls made, values masked and restored in the last 30 days. It lands in the same places as a Hub pack (as shadow-evidence-meridian-<date>.json), and the model provider Meridian uses is added to your vendors and AI systems. Once a day, Meridian records this pack again when Shadow handled new calls since the last one.
API
The routes are listed in the API reference.
