Blog

AI coding security, explained.

Practical guides on hook DLP, Cursor and Claude Code controls, and how security teams inventory shadow AI coding tools — written for engineers and CISOs evaluating real controls.

See how the controls apply to Cursor, Claude Code, GitHub Copilot, and any AI coding assistant, or read the full docs.

guide

How to Self-Host ReclaimLLM on Kubernetes with Helm

Learn how the ReclaimLLM Helm chart coordinates Supabase services, application migrations, secrets, backups, and network policies in a customer-managed Kubernetes environment.

By ReclaimLLM TeamRead →

guide

How to estimate Cursor cost per session

Estimate Cursor session cost from request-level usage, account for cache reads and writes, and understand what a team spend limit covers.

By ReclaimLLM TeamRead →

guide

Which model saw your code? How to audit Cursor subagent models

Learn why a Cursor subagent can use a different model from the parent chat and how to check task cards, usage records, and model controls.

By ReclaimLLM TeamRead →

guide

How AI coding agents copy secrets into files

See how an agent can write a masked token into Git config or shell history, where to look for copies, and how to rotate and clean up.

By ReclaimLLM TeamRead →

deep-dive

How we cut coding-agent tokens without breaking the prompt cache

How we reduce Claude Code and Codex token usage with append-only context compression that keeps the prompt cache intact, and what we measured wrongly.

By ReclaimLLM TeamRead →

deep-dive

The tampered Claude Code extension in Cursor's marketplace: what teams should check

Cursor's notice on tampered Anthropic.claude-code 2.1.312 and 2.1.313: who was exposed, how to check a machine, and extension controls to add.

By ReclaimLLM TeamRead →

guide

Offering AI coding governance to your clients: an MSP and vCISO playbook

A scoped engagement MSPs, MSSPs and vCISOs can deliver to software clients using Cursor, Claude Code or Copilot: inventory, policy, evidence and review.

By ReclaimLLM TeamRead →

guide

AI coding agents under GDPR and the EU AI Act: what to log

What EU engineering leaders should record when Cursor, Claude Code or Copilot touch personal data: GDPR duties, AI Act scope and an evidence list.

By ReclaimLLM TeamRead →

guide

AI coding tools under PIPEDA and Québec Law 25: a CTO guide

What Canadian CTOs should check before engineers send code and logs to Cursor, Claude Code or Copilot: PIPEDA, Law 25 and the records to keep.

By ReclaimLLM TeamRead →

guide

AI coding audit trails: what did the agent do in your repo?

Reconstruct an AI coding session from tool calls, policy decisions and results. Know what the evidence proves, and where the record stops.

By ReclaimLLM TeamRead →

deep-dive

Cursor hooks for security teams: what they see and miss

Map Cursor hook coverage, failure behavior and cloud-agent limits before relying on hooks for security controls and session evidence.

By ReclaimLLM TeamRead →

deep-dive

What Cursor knows before your first tool call

Cursor can receive your workspace path before any tool runs. How directory names enter context, and what to check before storing or sharing sessions.

By ReclaimLLM TeamRead →

guide

Claude Code settings.local.json: find and fix saved secrets

Saved Claude Code approvals can contain inline credentials. Check local settings, prevent accidental commits, and rotate secrets that were exposed.

By ReclaimLLM TeamRead →

deep-dive

Antigravity and Codex security: stopping secret leaks with hooks and sandboxes

How Google Antigravity and OpenAI Codex agents read, print, and send secrets; what hooks and sandboxes cover; and where vendor docs leave failure modes undocumented.

By ReclaimLLM TeamRead →

guide

Do local LLMs stop coding data leakage? What running Ollama does and doesn't protect

Local inference cuts third-party API risk when binding and cloud settings are right—but coding agents still read secrets, run curl, and expose misconfigured servers.

By ReclaimLLM TeamRead →

guide

SOC 2 evidence for AI coding tools: what auditors ask and how to export it

Seven auditor questions about Claude Code, Cursor, Copilot, and other agents—mapped to control health, populations, exceptions, and SHA-256 evidence packs.

By ReclaimLLM TeamRead →

deep-dive

Coding agents with curl: stopping outbound data exfiltration with egress firewalls and anomaly detection

Coding agents can upload source code, query cloud metadata, and reach foreign endpoints. How post-execution anomaly detection (AD-015) and pre-tool egress firewalls stop it.

By ReclaimLLM TeamRead →

deep-dive

Source code leakage through AI coding assistants: 5 paths and the control for each

Proprietary code leaves via provider context, agent reads, cloud agents, MCP tools, and shell egress. The five paths, who controls each, and what to turn on first.

By ReclaimLLM TeamRead →

deep-dive

MCP security for coding agents: secrets in config files, server vetting and allowlists

MCP servers hold tokens, files, and network access. Where configs live per tool, how to vet servers, and when hooks beat an LLM gateway for MCP tool calls.

By ReclaimLLM TeamRead →

guide

Your AI coding transcripts are a secret store: where Claude Code, Codex, Cursor, Copilot and Antigravity keep them

Every agent session leaves JSONL on the laptop—and pasted keys go with it. Per-tool paths, a safe scan recipe, and the fix order: rotate, purge, prevent.

By ReclaimLLM TeamRead →

guide

Verify, don't trust: measuring token waste in Claude Code and Codex.

Most coding-agent token waste comes from resending tool output every turn. Measure it on your own Claude Code and Codex sessions before changing a thing.

By ReclaimLLM TeamRead →

guide

AI coding agent governance for small engineering teams: a one-page operating model

Five decisions, a RACI table, and a weekly 30-minute review for 10–100 person teams using Claude Code, Cursor, Codex, or Copilot—without a NIST-scale framework.

By ReclaimLLM TeamRead →

guide

Is your AI DLP still installed? Measuring coverage without MDM.

Developers can remove local AI controls. Measure AI DLP coverage per team, catch removed hooks, DLP-off and silent devices, and fix drift without MDM.

By ReclaimLLM TeamRead →

guide

Cursor security checklist for engineering teams: 10 settings to check before rollout

Privacy mode, sandbox.json, hooks with failClosed, MCP review, rules and audit: a 10-point Cursor security checklist for teams, with what each setting misses.

By ReclaimLLM TeamRead →

guide

What is AI DLP? Data loss prevention for LLMs and coding agents

AI DLP keeps secrets, source code, and personal data out of LLM prompts and agent tool calls. How it differs from classic DLP, and where each control belongs.

By ReclaimLLM TeamRead →

guide

GitHub Copilot security risks: what content exclusion doesn't cover (Agent mode, MCP, CLI)

Copilot content exclusion skips Edit and Agent mode in VS Code, third-party MCP servers and symlinks. Here are the gaps and the controls that cover them.

By ReclaimLLM TeamRead →

guide

.claudeignore doesn't stop Claude Code reading your .env. Here's what does.

.claudeignore doesn't stop Claude Code reading .env files. See what deny rules cover, what they miss, and how hook redaction keeps secrets local.

By ReclaimLLM TeamRead →

guide

Claude Code security best practices for engineering teams (2026)

Managed settings, deny rules, sandbox limits, hooks, MCP and transcripts: the Claude Code controls a 10–100 person team should set, and what each misses.

By ReclaimLLM TeamRead →

deep-dive

The enterprise AI control plane: moving from risk to audit-ready

Why blanket AI bans fail: a four-layer defense across pre-execution hook DLP, governed gateways, customer-key encryption, and multi-cadence alerting.

By ReclaimLLM TeamRead →

guide

The agentic blind spot: detecting AI secret exfiltration

Why monitoring file-read tools misses agent execution loops: how coding agents use shell pipelines and shadow scripts like load_dotenv() — and how AD-004 detects them.

By ReclaimLLM TeamRead →

deep-dive

The compliance debt of AI coding agents

How autonomous file reads break GDPR data sovereignty, SOC 2 least privilege, audit trails, and sector mandates — with the checklist auditors look for.

By ReclaimLLM TeamRead →

comparison

Hook DLP vs endpoint AI DLP vs AIDR

A fair comparison for evaluation queries: tool-level hook redaction, OS/endpoint AI DLP agents, and network AIDR/CASB-style controls — what each sees and misses.

By ReclaimLLM TeamRead →

deep-dive

Shadow AI coding tools: a CISO checklist

Inventory Cursor, Claude Code, Copilot, and Gemini across engineering — then map evidence for SOC 2 programs and Canadian privacy notes (PIPEDA / Law 25) without invented claims.

By ReclaimLLM TeamRead →

guide

Prevent API keys and .env from reaching ChatGPT, Cursor, and Claude Code

A practical how-to: stop secrets in env files and shell output from leaving the workstation when developers use ChatGPT, Cursor, or Claude Code.

By ReclaimLLM TeamRead →

guide

Why .cursorignore is not DLP

Cursor can still read .env files, see terminal output, and send context to the model even when Privacy Mode is on — ignore files are not redaction.

By ReclaimLLM TeamRead →

comparison

OpenTelemetry is the right interface for LLM APIs — but not for coding agents

Why application-owned LLM calls belong in OpenTelemetry, while developer coding assistants require native lifecycle hooks, patch hunks, and terminal context.

By ReclaimLLM TeamRead →

deep-dive

AI coding anomalies need evidence, not another black box

Why statistical baselines, bounded evidence, and explainable detectors outperform fuzzy LLM classifiers when auditing enterprise AI coding workflows.

By ReclaimLLM TeamRead →