Blog

Posts tagged “AI Agents”

Header: 'Your auth check passed. Now prove what the agent did.' beside an illustrative request log of one agent run, including a duplicate refund and a denied DELETE.
Security

Your auth check passed. Now prove what the agent did.

An agent calls your API with a valid token, the scopes allow it, and the write lands with a clean 201. Nobody asked for it. Here's how to fix authorization for agents first, then build an audit trail that shows exactly what the agent did.

Jason Fill November 12, 2026 7 min read
Terminal showing a gitleaks pre-commit hook blocking a commit that adds an API key to .mcp.json, next to the headline 'Catch secrets before they reach git.'
Security

Catch secrets before they reach git: a pre-commit check for Node repos

GitGuardian found commits co-authored by Claude Code leaked secrets at 3.2%, twice the 1.5% baseline. A 10-minute pre-commit secret scan for Node repos, a CI backstop for --no-verify, and what to do when a key slips through anyway.

Jason Fill November 7, 2026 3 min read
Before and after: a Node.js login that answered 401 'Wrong password' or 404 'No account' with different timings now answers 401 'Invalid email or password' in about 33 ms for both real and unknown emails.
Security

Stop user enumeration on your Node.js login, signup and reset endpoints

AI agents made hundreds of millions of requests to login pages in the first half of 2026. If your API answers differently for real and unknown emails, it hands them a target list. Here's how to make login, reset and signup give one answer.

Jason Fill November 5, 2026 6 min read
Lock down npm installs: headline 'Turn off install scripts before an agent runs npm install' with .npmrc ignore-scripts=true, npm rebuild and npm ci commands, and Safeguard's count for 26 to 28 Oct 2026: 96 malicious npm packages, 112 malware advisories.
Security

Lock down npm installs when an AI agent adds your dependencies

In late October, 96 malicious npm packages appeared in three days, several running code at install time. How to turn off install scripts in npm and pnpm, allow the few builds you need, and review every dependency an AI agent adds.

Jason Fill October 30, 2026 4 min read
Header: 'Your MCP server is an API. Debug it like one.' beside an illustrative log of MCP calls returning 200, 404 (session not found), 401 (token expired) and 499 (client gave up).
Debugging

Your MCP server is an API. Debug it like one.

A remote MCP server works on localhost, then fails in production with a vague "tool call failed." Lost sessions behind a load balancer, expiring OAuth tokens and proxies that cut streams off are all visible at the HTTP layer. Here's where to look.

Jason Fill August 12, 2026 8 min read