Blog
Security articles on application code, Salesforce orgs and AI coding agents.
How orgs and applications actually get attacked, how attack paths are built, and how to get more security analysis done with fewer tokens. RSS
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 →Asynchronous Apex security: Queueable, Batch and @futureHow sharing, CRUD and FLS behave when Apex runs later: Queueable, Batch, Schedulable and @future, the API 67.0 change, and the patterns that stay safe.Read the post →GraphQL security: introspection, depth limits and field-level authorizationWhy GraphQL authorization belongs in resolvers, what introspection gives away, and how depth limits, cost limits and alias batching controls stop abuse.Read the post →npm lifecycle scripts: why to switch install scripts off and what breaksThe npm worms ran from install scripts. What npm 12, pnpm, Yarn and Bun now do by default, how to allowlist the few packages that need scripts, and what breaks.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 →Rotating a leaked secret: a 60-minute runbookA leaked API key, token or password: revoke first, replace, check usage logs, clean up history and stop it happening again, in the right order.Read the post →Caching personalised responses: how a CDN serves one user's data to anotherHow shared caches end up storing per-user responses, web cache deception, app caches keyed without the user, and the Cache-Control rules that prevent the leak.Read the post →Who holds Modify All Data and View All Data? Counting Salesforce superpowersCount who really holds Modify All Data, View All Data, Author Apex and Manage Users in Salesforce with SOQL, then cut the list down with a least-privilege plan.Read the post →Cyber insurance security questionnaires: the AppSec questions and honest answersThe application security questions cyber insurance applications ask, what each one really means, how to answer it honestly, and the evidence to keep.Read the post →Next.js middleware is not your authorization layerCVE-2025-29927 showed that Next.js middleware can be skipped. Why middleware and proxy.ts are not authorization, and where the checks belong instead.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 →