AI coding agents
Securing AI coding agents, MCP servers and the code they write. 27 posts. All posts
Writing a secure MCP server: auth on every call, hostile arguments, clean resultsAn MCP server is an API whose caller is a model. Check auth on every call, treat arguments as hostile, keep secrets out of results, keep descriptions fixed.Read the post →The Agentforce agent user: least privilege for an AI that acts in your orgWhich user an Agentforce agent runs as, what the agent user gets by default, and how to audit and shrink its access with SOQL and permission sets.Read the post →Web-to-Lead and Web-to-Case as prompt-injection channels for AgentforcePublic forms write straight into fields your Agentforce agents read. What ForcedLeak and SalesBleed showed, and the controls that close the channel.Read the post →Malicious git config, hooks and editor tasks in repos your AI coding agent opensFiles that run code when an editor or AI coding agent opens a repo: git config, hooks, tasks.json, agent settings, MCP config and install scripts.Read the post →Localhost is not a boundary: dev servers, AI coding agents and cross-origin WebSocketsAny web page you open can reach servers on 127.0.0.1. How Origin checks, Host checks and session tokens protect dev servers and AI coding agent bridges.Read the post →Security scanning in Windsurf, Cursor and VSCodium: installing a VS Code extension outside VS CodeHow a VS Code extension installs in Windsurf, Cursor and VSCodium (Open VSX vs the Marketplace, VSIX files), and how to get security scanning inline in each.Read the post →Slopsquatting: the package names AI coding assistants invent, and how to check one before you install itSlopsquatting turns package names AI coding assistants hallucinate into malware. What the research measured, and how to verify a dependency before install.Read the post →Prompt injection against AI coding agents through repository contentHow prompt injection reaches AI coding agents through READMEs, issues, code comments, dependency docs and MCP tool output, and the mitigations that hold up.Read the post →Security rules for AI coding agents: what AGENTS.md and Cursor rules can and cannot enforceSecurity rules for AI coding agents in AGENTS.md, Cursor rules and CLAUDE.md shape defaults but enforce nothing. Example rules, and the checks that back them.Read the post →The secrets your AI coding agent can read, and how to fence them offWhich secrets AI coding agents can read on a developer machine (.env files, MCP tokens, shell history, cloud credentials) and how to scope them.Read the post →How to connect a security MCP server to Cursor and VS CodeHow to connect an MCP server to Cursor or VS Code for secure AI coding: the exact mcp.json for each, Claude Code, and which servers to trust.Read the post →HOL and Vulkro: securing what your AI coding agent installs, runs and writesHOL Plugins checks what you plug into an AI coding agent, HOL Guard reviews what it runs, and Vulkro checks the code it writes. How the three fit together.Read the post →