Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.271 ·

Asset upload/publish re-verifies file content against its admitted hash

Uploading or publishing an artifact now checks the file's bytes against a previously recorded sha256 hash instead of trusting a fresh read

TierYou'll noticehow much it should matter to you
Useful2my rating, 1 to 5
Signal2worth watching, 1 to 5
AreaArtifactswhat it touches
KindImprovementsin v2.1.271,
Group of 2 You'll notice

Uploading or publishing an artifact now checks the file's bytes against a previously recorded sha256 hash instead of trusting a fresh read

What

When uploading or publishing artifact files, Claude Code now checks the on-disk bytes against a sha256 hash (publishSourceSha256 / publishFilesSha256) that was recorded earlier when the content was approved, instead of just re-reading the file fresh each time.

  • If this hash is already known for the call, the tool skips its usual local validation steps (size limits, empty-file checks, not-a-file checks, etc.) for the upload_asset action.
  • If the file's current content no longer matches the recorded hash, the call now fails with an error explaining that the file couldn't be verified as the one that was originally admitted, instead of silently uploading or publishing the changed bytes.

Why

This prevents a file from being swapped out between the time its content was approved and the time it's actually uploaded or published, so what gets published is guaranteed to be the exact content that was checked.

See this entry in the whole of v2.1.271 →

Feedback