Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.169 Home All releases olderv2.1.168 v2.1.170newer

Job Persistence Security: Non-Allowlisted Keys Stripped on Load

What

When Claude Code resumes a persisted background job, it now strips any providerEnv keys or respawnFlags tokens from the saved state that are not on the internal allowlist. This prevents unintended environment leakage from older or externally-modified job state.

Details
  • A warning is logged when stripping occurs: [jobs] stripped non-allowlisted providerEnv key(s) from persisted job state
  • Duplicate respawnFlags tokens (same flag specified multiple times) are also deduplicated — the last occurrence wins for flags that take a value
  • Behavior is transparent to users; jobs continue to resume normally
Evidence

Job state sanitizer (search for "[jobs] stripped non-allowlisted providerEnv key(s)") — nY7() and XXH() at line ~219333

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.169 →