logo

Anthropic Accidentally Leaks Claude Code’s “Secret Sauce” via npm Blunder

ID: 86f16021-8785-59e4-8fad-0efe9ae54d7c

STIX ID: report--86f16021-8785-59e4-8fad-0efe9ae54d7c

Feed Name: securityonline.info

Threat Score
55/100

Date Published: 2026-03-31

Date Updated: 2026-04-23

Author: Ddos

...
...

Anthropic inadvertently published unobfuscated source (via source maps) for Claude Code on the public npm registry, exposing a 46,000-line Query Engine, implementations for 40+ agent tools, the permission system, and build-time feature flags referencing unreleased capabilities; although no user data was leaked, the exposure of proprietary internals and system prompts increases the risk of replication, misuse, and discovery of security weaknesses.

Your team is not currently subscribed to this feed. You must subscribe to it in order to see this post.