
A new allow-list mode for server.fs takes one config line to turn on. Here's what the default serves, what the strict mode refuses, and what to check before you point an agent's preview at a network.

A 90-line xUnit scanner, a startup check and one user-secrets command that keep agent-written ASP.NET Core code from committing credentials. About 15 minutes to try, and it works with any agent.

The new allowScripts policy turns a dependency's postinstall into something a human has to approve. Real output from npm 12.2.3, the one flag that makes it fail CI, and a 15-line check for approvals that sneak into a diff.

Agents write a path check that stops ../ and misses sibling directories and symlinks. A seven-row Vitest attack table fails the first draft, and a 20-line fix that resolves real paths passes it. About 20 minutes.

A Vitest test, a scrubbing logger and a call-site fix that stop an agent-written API client from writing credentials into your logs. About 15 minutes to try.

Agents write deepMerge and setByPath helpers that treat every key as harmless. Here's the failing Vitest table first, a fix that survives a tidy-up refactor, and a fast-check property that keeps any agent honest. About 30 minutes, no accounts needed.

A public preview from 17 November puts 500+ provider patterns and the AI secret model behind /security-review. Fifteen minutes with a planted fake key tells you what it catches.

Agents write SSRF checks that compare host strings and then fetch. Here's a failing test table first, a guard that checks the address actually dialled, and a prompt that makes any agent keep it. About 40 minutes, no accounts needed.

NuGet.org can now hold an uploaded package private until a person promotes it. What that changes for release pipelines an agent touches, and the gaps the announcement leaves open.

The .NET 11 SDK adds a per-source minimum publish age. Real output from every case that matters to an agent that adds packages, plus a 40-line CI check for the cases NuGet doesn't cover.

Secret scanning of workflow logs is in public preview and off by default. The gaps in its coverage are exactly where agent-written debug steps leak, and a 30-line script covers them today.

A 2026 study ran Semgrep over agent-written security PRs on popular GitHub repositories. What it found, what it can't tell you, and three checks to put at the top of your next review.

Review comments evaporate; a failing check doesn't. A loop for converting each bug an agent ships into a tested rule that runs on every change. About 20 minutes to try.

A .NET post describes skills delivered inside NuGet packages. A 60-line script lists them, flags the dangerous ones and gives CI something to fail on. Fifteen minutes, any agent.

Agents add endpoints that work and forget who may call them. A single xUnit theory and a route-coverage guard make that a red build. About 20 minutes to set up.

An agent that adds a package changes your supply chain in one line of a .csproj. Fifteen minutes to put a gate on it, any agent.

In a headless run there's nobody to read the denial notice. A 25-line hook turns every auto-mode refusal into a ledger you can query in the morning. Ten minutes to wire up.

Chromium and rootless Podman can't create user namespaces in the sandbox. Three documented fixes exist, and one of them switches off a security boundary.

Version 2.1.307 added a telemetry event for each call a rule, hook or sandbox blocked. Point it at a 45-line local receiver and a 34-line report, and you can see what your guardrails actually do. About 15 minutes.

Three settings, one for npm, one for pnpm and one for Dependabot, keep a coding agent off versions that are hours old. Real output from each, and what the floor can't stop.

A Microsoft networking engineer explains why no single guardrail is enough for an agent working production incidents. Here are the four layers, and a 40-line gate to run in five minutes.

Auto mode trusts your repo and nothing else. One settings block fixes the false blocks, and one missing string quietly deletes 71 of the 72 safety rules.

Codex hooks are on by default in 0.163.0. Here's a 40-line guard, the config that wires it in, the trust step that silently skips it, and the failures that let a command through.

A deny hook makes the agent stop and try something else. A rewrite hook fixes the command and lets the work continue. Ten minutes to build, with the failure cases shown.

One 50-line script stops AWS keys, GitHub tokens, private keys and connection strings leaving your terminal, and puts the repo state into every other prompt. About 15 minutes, and the gaps are listed.

The Claude Code hooks reference now documents the option that closes the fail-open gap. Nine broken hooks, run for real, show where the protection ends.

A hook that crashes, times out or can't start lets the action through by default. Ten minutes to find out which of your gates are really gates.

AI push protection is in private preview, and it spends AI Credits even on pushes it doesn't block.

Deny-by-default file access, a credential proxy and a managed-policy lock. The gaps matter as much as the fences.

Mods landed in Claude Code 2.1.287. They can do more than hooks, and the sandbox doesn't cover them.

Auto-review keeps the sandbox and swaps the human at the boundary for a second model. It has limits you should know before you turn it on.

Permission prompts depend on what mode you're in. A PreToolUse deny hook doesn't. Here's a small one that blocks force pushes, and where it falls short.

A 0.4% false positive rate sounds great. The 17% miss rate on real overeager actions is the number to plan around.

It posts one comment per PR, skips drafts, and takes your own security rules. What's missing is any accuracy data.