Documentation Index
Fetch the complete documentation index at: https://docs.neuraltrust.ai/llms.txt
Use this file to discover all available pages before exploring further.
What this covers
AI-assisted IDEs and coding assistants where the LLM provider and orchestration are hosted by the vendor — you can’t intercept the call server-side. Enforcement happens on the developer’s managed device. This includes:- Cursor, Windsurf, GitHub Copilot, Sourcegraph Cody, JetBrains AI Assistant, and similar native IDEs or IDE plugins.
- Web-based AI IDEs and chat apps used for coding (Cursor web, Copilot chat in the browser, claude.ai, chatgpt.com, gemini.google.com) — only the public, approved chat apps, not internal tools.
- Surfaces: Endpoint for native IDE traffic, Browser for web UIs.
Architecture
Prerequisites
- An MDM tool with enrollment on developer machines — Jamf, Intune, Kandji, Workspace ONE, or similar.
- Chromium-based browsers for the Browser surface (Chrome, Edge, Brave, Arc, Opera). Firefox and Safari are not supported.
- Approval from IT / Security to push a root CA, a client certificate, and a managed browser extension to developer machines.
Step-by-step setup
Unlike Gateway or API surfaces, the Endpoint and Browser surfaces don’t have “upstream” Integrations — each of these Integrations is self-contained: it generates the artifacts (PAC file, certificates, extension package) that MDM pushes to devices. Both are configured under Integrations → Add Integration.Create an Endpoint Integration
Integrations → Add Integration → Endpoint. Set:
- Scope (allow-list of hostnames) — the LLM endpoints native IDEs call:
api.openai.com,api.anthropic.com,api.githubcopilot.com,api.cursor.sh, and any vendor-specific host your developers use. Hosts outside the scope are not intercepted — they bypass TrustGate entirely. - Applications (optional) — label sub-scopes like
Cursor,Copilot,Windsurfso you can filter policies and Explorer by app. - Tags (optional) — e.g.
engineering, developers.
pac.url— proxy auto-config URL.client.crt+client.key— per-org client certificate and private key (mTLS to identify your tenant to the Endpoint MITM).trustgate-ca.crt— CA certificate used for dynamic TLS.
Push Endpoint artifacts via MDM
In your MDM (Jamf, Intune, Kandji, Workspace ONE), create a configuration profile targeting your developer device group that:
- Installs
trustgate-ca.crtinto the system trust store (so native IDEs accept the dynamic TLS certificate). - Installs
client.crt+client.keyinto the system keychain, scoped so only macOS/Windows can use it for mTLS. - Sets an OS-level proxy configuration that references the PAC URL from Step 1, so HTTPS traffic to the hosts in scope is routed through the TrustGate Endpoint MITM.
Create a Browser Integration
Integrations → Add Integration → Browser. Set:
- Applications — which web AI apps the extension activates on:
chatgpt.com,claude.ai,gemini.google.com,cursor.com,github.com/copilot, etc. - Tags (optional) — e.g.
engineering.
.crx + policy manifest, Edge equivalent).Push the Browser extension via MDM
Use Chromium’s
ExtensionInstallForcelist enterprise policy (or Edge’s equivalent) to force-install the extension on managed browsers. The extension is bound to your tenant via the managed extension configuration — developers do not authenticate and cannot disable it.Author the mirror policies
See Policies to apply below. Author the same intent on both surfaces so a developer sees consistent enforcement whether they use Cursor natively or paste into ChatGPT in a browser.
Verify on a test managed device
On a managed laptop:
- Open Cursor (or any IDE with Copilot) and send a prompt. Confirm it appears in Runtime → Explorer, filtered by the Endpoint integration.
- Open
chatgpt.comin Chrome and send a prompt. Confirm it appears, filtered by the Browser integration. - Trigger a
Blockpolicy (e.g. paste a fake AWS access key) in both surfaces. Confirm both the native IDE and the browser app reject the send.
Policies to apply
This guide uses two surfaces — Endpoint for native IDE traffic and Browser for web AI apps — and each has its own filter catalog and action semantics. Read the Policies & Enforcement page for theWhere / When / Then model; on Browser and Endpoint, Block prevents the prompt or paste from ever leaving the device, and Mask redacts fragments inline before they reach the wire.
Author mirror policies on both surfaces so a developer sees the same rules whether they use Cursor natively or ChatGPT in a browser.
Block credentials leaving the device
- Where (Endpoint) —
Endpoint+ filterEndpoints = <your-endpoint>·Applications = Cursor, Copilot, Windsurf - Where (Browser) —
Browser+ filterApplications = ChatGPT, Claude, Gemini, Cursor Web, Copilot Web - When —
Input·Triggers·API Key / Secret - Then —
Block
Block PII in prompts and file uploads
- Where (Browser) —
Browser+ filterApplications = ChatGPT, Claude, Gemini, Cursor Web, Copilot Web - When —
Input·Triggers·Email Address, Phone Number, Social Security Number, Credit Card, PII in Files - Then —
Block
Keyword block on project codenames and customer identifiers
- Where —
Endpoint+ filterEndpoints = <your-endpoint>andBrowser+ filterApplications = <web-apps> - When —
Input·Triggers·Keyword Match = <your-codename-list> - Then —
Block
Mask file uploads with PII
- Where —
Browser+ filterApplications = ChatGPT, Claude, Gemini - When —
Input·Triggers·PII in Files - Then —
Mask
Block indirect prompt injection from pasted content
- Where —
Endpoint+ filterEndpoints = <your-endpoint>·Applications = Cursor, Copilot, Windsurf - When —
Input·Triggers·Prompt Injection - Then —
Block
Log everything while you tune
- Where —
Endpoint+ filterEndpoints = <your-endpoint>andBrowser+ filterApplications = <all> - When — empty
- Then —
Log
block ▶ mask ▶ log, this Log rule composes safely with the Block / Mask policies above — it never weakens them.
Promote each policy from Log to Block / Mask once you’ve confirmed the false-positive rate on real developer traffic in Runtime → Logs.
Limitations
- Streaming on Endpoint: many AI IDE providers use streaming responses.
MaskandBlockactions apply to the final consolidated payload; the detector decision is enforced once the stream completes. - Certificate pinning: some native vendors pin their API certificates and will reject the TrustGate dynamic TLS certificate. Consult the vendor’s enterprise documentation; a few IDEs offer an MDM-managed CA override.
- Browser scope: only Chromium-based browsers are supported. Firefox and Safari are not covered.
- Unmanaged devices: BYOD laptops without MDM are out of scope for both surfaces. Restrict access from unmanaged devices via SSO / conditional access upstream.
- Internal chat apps: these surfaces protect your developers when they use the approved public LLM tools. Homegrown internal chat apps should be covered with the Gateway or API surfaces, not Browser or Endpoint.