Skip to main content
All editions

Newsletter

500,000 Lines of Code.

11 min read

The Number That Proves Your AI Vendor Governance Is Broken.

On March 31, 2026, the company that literally branded itself as the “safety-first AI lab” accidentally shipped its entire crown jewels to a public registry.

Anthropic’s Claude Code — a $2.5 billion ARR product used by enterprise developers worldwide — had its full source code exposed via a misconfigured npm package. Not hacked. Not breached. A build pipeline configuration error. A .npmignore file that didn’t ignore enough. A 59.8 MB source map file that Bun generated by default and nobody excluded. And not the first time: a similar source map leak occurred in February 2025, making this the second identical packaging failure in thirteen months. The root cause was never structurally fixed.

Within hours: 512,000 lines of TypeScript across 1,900 files. 44 unreleased feature flags. The complete agentic orchestration harness — memory architecture, tool execution logic, permission schemas, system prompts. All mirrored on GitHub, forked 41,500 times, and permanently beyond any DMCA takedown.

And this was Anthropic’s second data exposure in five days. Just days earlier, Fortune reported that nearly 3,000 internal files — including details of an unreleased model codenamed “Mythos” / “Capybara” — had been found in a publicly accessible data cache. The leaked draft blog post contained Anthropic’s own assessment that Mythos “poses unprecedented cybersecurity risks” — and revealed that the company was privately warning top government officials that the model makes large-scale cyberattacks significantly more likely. The irony needs no commentary: the company warning governments about AI cybersecurity risk couldn’t secure its own content management system.

If the safety lab can’t secure its own CI/CD pipeline, what does that tell you about the AI vendors in your supply chain?

This edition isn’t about Anthropic’s embarrassment. It’s about what this incident exposes for every European CTO, CIO, and Enterprise Architect who is embedding third-party AI tools into business-critical operations — under regulatory frameworks that were specifically designed to prevent exactly this kind of failure.

I. Anatomy of a Governance Failure

What Actually Leaked

Let’s be precise about what was exposed, because the implications differ by layer:

  • The Agentic Harness: The complete orchestration layer that wraps around Claude’s AI model — tool execution, bash security validators, permission schemas, context management, and multi-agent coordination logic. This is the competitive moat, not the model weights.

  • 44 Feature Flags: Fully built but unshipped capabilities, including KAIROS (an autonomous background daemon that runs “memory consolidation” while users are idle), COORDINATOR MODE (multi-agent orchestration), and BUDDY (a terminal companion system).

  • System Prompts: The exact instructions that govern how Claude Code reasons, including an “undercover mode” that instructs the AI to remove references to internal codenames from git commits. Anthropic built a feature specifically to prevent internal information from leaking into external contexts — then leaked everything through a packaging oversight.

  • Security Architecture: 25+ bash security validators with documented threat models and patch history — including comments revealing previously exploited vulnerabilities.

The Supply Chain Attack Nobody Planned For

Here is where the story becomes architecturally terrifying. In the exact same window as the Claude Code leak, a completely separate supply chain attack hit the npm ecosystem. The widely-used axios HTTP library (approximately 100 million weekly downloads) was compromised. Malicious versions 1.14.1 and 0.30.4 were published, containing a cross-platform Remote Access Trojan.

Anyone who installed or updated Claude Code via npm between 00:21 and 03:29 UTC on March 31 may have pulled in a trojanized dependency. Within hours, attackers were also typosquatting internal Claude Code package names — publishing empty stubs under names like “audio-capture-napi” and “image-processor-napi” — waiting for developers trying to compile the leaked source to pull in malicious updates.

Two events. One catastrophic window. And the axios attack wasn’t random: both Google’s Threat Intelligence Group and Microsoft Threat Intelligence have attributed it to North Korean state actor Sapphire Sleet (also tracked as UNC1069) — a financially motivated group that has targeted cryptocurrency and financial technology companies since at least 2018. This is what cascading third-party risk looks like when nation-state actors are actively hunting in the same package ecosystems your developers depend on.

II. The DORA Collision: Why This Is a European Regulatory Crisis

This isn’t just an embarrassing security lapse for a Silicon Valley startup. For European financial institutions operating under DORA, this is an existential governance question.

DORA’s Third-Party ICT Requirements Are Now Being Tested

DORA entered full application on January 17, 2025. In 2026, regulators are moving from implementation to validation — from “show us your plan” to “prove it works.” The first mandatory Register of Information (ROI) submission cycle is live, requiring financial entities to map every single ICT vendor in their supply chain in machine-readable xBRL-CSV format.

Consider: if your development teams are using Claude Code (or any AI coding assistant) to build, debug, or deploy financial services applications, that tool is an ICT third-party service provider under DORA. And DORA requires you to:

  • Assess and continuously monitor risks from third-party ICT providers

  • Ensure contracts include provisions for security, incident reporting, and operational resilience

  • Map sub-processor dependencies (fourth-party risk) — including cloud infrastructure, npm registries, and dependency chains

  • Demonstrate to regulators what happens if the vendor fails

The Claude Code leak demonstrates exactly the failure mode DORA was designed to prevent: a critical ICT vendor whose operational security doesn’t match the trust placed in it by enterprise customers.

The AI Act Omnibus: Regulatory Instability Meets Real Risk

Simultaneously, the EU is in trilogue negotiations on the Digital Omnibus amendments to the AI Act. As of this week, both the Council (March 13) and Parliament (March 26) have adopted positions, with a target agreement date of April 28. The key changes:

  • High-risk AI obligations delayed to December 2, 2027 (standalone systems) and August 2, 2028 (product-embedded)

  • Watermarking obligations for AI-generated content: November 2, 2026 (Parliament position)

  • Harmonized standards still not available — CEN-CENELEC estimates full standards may not arrive before December 2026

The regulatory paradox is clear: DORA tightens the screws on operational resilience now, while the AI Act loosens timelines for AI governance. One hand squeezes; the other relaxes. European CTOs are building to two different regulatory clocks — and the Claude Code leak proves that the risk isn’t waiting for either deadline.

III. Payments Infrastructure: The Hidden AI Dependency

The payments industry is accelerating its AI dependency at the exact moment this governance gap is being exposed.

Stablecoins Meet Card Rails

Visa and Stripe-owned Bridge announced expansion of stablecoin-linked cards from 18 to 100+ countries by year-end, with on-chain settlement on Solana through Lead Bank. Crypto wallets like Phantom and MetaMask are enabling millions of users to spend stablecoins at 175 million+ merchant locations.

This means payment settlement is increasingly flowing through blockchain rails, orchestrated by APIs built by developers who use AI coding tools, deployed through npm-style package ecosystems. The attack surface isn’t theoretical — it’s the same npm registry where both the Claude Code leak and the axios trojan happened on the same day.

AI Agents in Payment Infrastructure

J.P. Morgan projects AI agents handling 15–25% of all U.S. e-commerce purchases by 2030. Global Payments’ 2026 report identifies “agentic commerce” as a top trend. Every major payment processor is building AI-powered fraud detection, risk assessment, and automated compliance.

These systems are being built with the same AI coding tools, the same package managers, the same dependency chains that just demonstrated their fragility. When an AI coding assistant’s security validators are public knowledge — complete with comments documenting previously exploited vulnerabilities — every system built with that tool inherits new risk.

IV. The AI Vendor Architectural Exposure Model (AVAEM)

Enterprise Architects need a structured way to assess how exposed their organization is when an AI vendor’s operational security fails. I propose the AI Vendor Architectural Exposure Model (AVAEM) — a five-domain diagnostic that maps AI vendor risk across the enterprise.

Domain Key Questions Exposure Indicators
1. Dependency Depth How deep does the AI vendor sit in your value chain? Is it in development tooling, production systems, or both? AI tools used in CI/CD for financial apps; npm/pip dependencies unaudited; no vendor substitution plan
2. Harness Transparency Do you understand the agentic harness layer? Can you audit what the tool does beyond the model itself? Closed-source harness; no explainability of tool actions; telemetry opaque to your security team
3. Supply Chain Exposure What are the fourth-party dependencies? Package managers, cloud storage, CDN providers? npm as sole install channel; no lockfile auditing; no SBOM from vendor; sub-processor geography unknown
4. Regulatory Alignment Does the vendor’s security posture meet DORA, AI Act, and GDPR requirements? Can you prove it to regulators? No SOC 2/ISO 27001 for AI-specific risks; no DORA-compatible incident reporting; vendor SLA silent on source code security
5. Graceful Degradation If the vendor disappears tomorrow — or leaks its architecture — can your teams continue? What’s the fallback? No alternative tooling tested; developers dependent on single AI assistant; no manual fallback procedures documented

How to Use AVAEM

Score each domain 1–5 (1 = minimal exposure, 5 = critical exposure). A total score above 15 signals that your AI vendor governance requires immediate architectural intervention. Any single domain at 5 is a red flag that should escalate to the board.

The framework maps directly to DORA Articles 28–44 (Management of ICT Third-Party Risks) and provides the evidence structure regulators will expect in your next ROI submission.

V. The Enterprise Architect’s Response Playbook

This incident demands immediate architectural action across four dimensions:

1. Audit Your AI Dependency Chain — This Week

  • Map every AI tool your development teams use. Not just the ones procurement approved — the ones developers actually installed.

  • For each tool: identify the install channel (npm, pip, native binary), the dependency tree, and the data it accesses.

  • If your developers installed Claude Code via npm between 00:21 and 03:29 UTC on March 31, treat those machines as compromised. Rotate all credentials. Audit lockfiles for axios 1.14.1, 0.30.4, or plain-crypto-js.

2. Architect for Vendor Evaporation

  • Design exit strategies for every critical AI vendor. What happens if the vendor leaks its architecture, gets acquired, or shuts down?

  • Implement multi-vendor AI strategies for critical workflows. No single AI tool should be a single point of failure.

  • Require AI software escrow for vendors providing business-critical capabilities.

3. Harden the Software Supply Chain

  • Mandate native installers over package-manager installs for AI tools in production environments.

  • Implement Software Bill of Materials (SBOM) requirements for all AI vendor tools.

  • Pin dependency versions. Audit lockfiles in CI/CD. Never allow floating version ranges for critical dependencies.

4. Align to DORA and AI Act Now — Don’t Wait for Deadlines

  • Include AI coding tools in your DORA Register of Information. They are ICT third-party service providers.

  • Run the AVAEM diagnostic across all AI vendor relationships. Present results to the board.

  • Design your AI governance framework against December 2027 high-risk deadlines — but build operational resilience against March 2026-style incidents happening today.

VI. The Bigger Picture: Architecture Is the Only Moat

The most important lesson from the Claude Code leak isn’t about Anthropic. It’s about what the leaked code revealed:

The competitive advantage in AI isn’t the model. It’s the harness.

Claude Code’s value comes from its agentic orchestration layer: self-healing memory architecture, tool execution pipelines, context management, multi-agent coordination. These are enterprise architecture competencies applied to AI systems. The companies winning the AI race are the ones with the best architects, not the best models.

And that same lesson applies to your enterprise. The organizations that will thrive aren’t the ones using the most advanced AI tools. They’re the ones with the architectural governance to manage AI tools safely, substitute them when necessary, and prove to regulators that their operational resilience extends to every dependency in their supply chain.

That is an Enterprise Architecture problem. And it demands Enterprise Architecture leadership.

When the safety lab leaks its own blueprints, the only safe architecture is the one you govern yourself.

About the Author

Paulo Falcão is a Fractional Enterprise Architect, AI Strategist, and Transformation Leader with 25+ years of experience. He operates at the intersection of payments systems, enterprise architecture, AI strategy, and European digital transformation, helping mid-market organizations that need enterprise-level architectural expertise without full-time headcount. He is the creator of the Hawk Nest Newsletter.

Connect: linkedin.com/in/paulofalcao

Edition #46 — Image Generation Prompt

A dramatic, cinematic scene: a futuristic glass-and-steel laboratory at night, cracked open like an egg, with streams of glowing blue-gold code and architectural blueprints spilling outward into a dark digital void. In the foreground, a lone enterprise architect in professional attire stands at a control console, hands on the controls, calmly containing the cascade. Above the scene, a stylized hawk (eagle) circles watchfully. The color palette is deep navy (#1E3A5F) and gold (#D4A84B) against a dark background. Style: Dramatic, professional, cinematic, with elements of cybersecurity visualization and architectural blueprints. No text in the image.

  • AI
  • payments
  • enterprise architecture
  • resilience

Originally shared in the Hawk Nest LinkedIn newsletter. Read it on LinkedIn

Have a similar challenge?

Book a 30-minute call to talk through AI governance, architecture or payments — no pitch, just a senior second opinion.

Book a 30-min call