Removing personal Claude and Codex accounts from L4 repositories and Lark documents deletes one destination. It does not delete the pipe. Leakage in AI-assisted engineering work is a control-stack problem: asset classification, prompt sanitization, retention terms, egress permissions, logs. A perimeter rule is defensible as an interim measure and insufficient as a program. That is a falsifiable claim, and the tests are listed at the end of this piece.
Start with the most concrete artifact in this story. The Ministry of Industry and Information Technology's vulnerability sharing platform flagged Claude Code versions 2.1.91 to 2.1.196 and urged organizations to check installations. A named version range is an inventory task: pull the asset list, compare, pin or remove. It is not a tool-and-account policy. Confusing the two is the first place an AI governance rule goes wrong, in the same way that a version-scoped advisory needs a different instrument than the patch-window response we mapped for Microsoft's 1,413 CVE October update.
The rule is narrower than the coverage around it: personal accounts, internal materials, two named asset classes. Reporting collected by AIdataNewsGlobal says ByteDance began restricting employee use of personal accounts with Claude, Codex and similar external tools against internal materials, including L4 repositories and Lark documents.
Hong Dinkun answered on the company intranet and put internal information security at the center of the adjustment, warning that content at L3 and above could carry severe consequences if leaked. He also conceded that promoting a company product through forced exclusion of alternatives would not work well. That concession matters more than the ban itself: the company is saying its adoption problem sits beside its leakage problem. Sina describes the same tightening across Chinese internet firms, where the working consensus is that sensitive business assets stay inside the network. A NetEase account notes ByteDance restricted Cursor and Windsurf in May 2025 over data leak risk, which places this block as an extension of an existing posture rather than a first response.
Conclusion first: the leak path is usually a permission, not a prompt. The NetEase article, citing security vendor Glow Labs, describes PixelLeak, where AI coding agents found paths to upload internal screenshots to public GitHub repositories, exposing more than 13,000 internal files from around 300 organizations. Post-incident write-ups from WorkOS and Help Net Security describe the mechanics: the agents created public repositories to host screenshots that would not render in pull requests opened from private repos. Nothing exploited a model. Task automation plus an unfamiliar platform rule produced the exposure.
A second channel is smaller and easier to miss. Apiiro reported 2,539 secrets sitting in 1,994 public GitHub repositories, traced to Claude Code's "yes, and don't ask again" approval flow writing the full approved command, credentials included, into .claude/settings.local.json. The file is gitignored when the tool creates it; a second machine or a hand-written config loses that protection. Both cases are the kind of attack-chain evidence that AI risk reviews should produce, rather than a hazard list asserting that a capability exists — a distinction we have argued in our threat-modeling piece. A ban on personal subscriptions does not touch either channel.
More than the policy assumes. A Sohu report describes China Academy of Information and Communications Technology data showing that more than 76 percent of developers at internet companies regularly use third party coding assistants, and 32 percent paste internal API documents, database schemas, or unredacted log fragments into prompts. The source does not establish that each paste became an incident, and I will not either.
Independent telemetry suggests the cadence, not just the volume, is the problem. Cyberhaven Labs' 2026 AI Adoption and Risk Report puts sensitive data in 39.7 percent of AI interactions and estimates the average employee inputs sensitive data into a genAI tool roughly once every three days. That pattern is why restrictions aimed at named vendors can change the tool mix while leaving the rhythm intact. It is also why the strongest case for tightening is real: Yicai says Alibaba placed Claude Code on a high risk software list and stopped internal employee use from July 10 over a reported backdoor risk, BAAI Hub reports that Meta banned Claude Code and Codex in its Applied AI Engineering department in May over possible escalation with partners, and the Sohu report describes an August incident where an L5 engineer fed a script containing user phone number hash logic into Codex, with the response reportedly reproducing original field naming conventions, alongside a hidden memory return rate of 1 in 8400 for some open source fine tuned models.
Mapping each observed incident to its root cause is where a blanket block shows its seams.
| Risk observed | Root cause | Control that fits | Blanket block coverage |
|---|---|---|---|
| MIIT advisory, Claude Code 2.1.91 to 2.1.196 | Defect in a tool version | Version inventory, allowlist, patch SLA | Indirect at best |
| Alibaba high risk list, internal use stopped July 10 | Reported backdoor risk in a client | Vendor risk register, egress allowlist | Partial |
| Meta departmental ban in May | Partner escalation path | Contract terms, DPA, escalation clause | None |
| PixelLeak, 13,000+ files, around 300 organizations | Agent export permissions | Repo creation rights, PR artifact rules, egress DLP | None |
| Apiiro findings on settings.local.json | Approval UX storing secrets | Secret scanning, allowlist rules, credential vault | None |
| August L5 paste, 1 in 8400 memory return | Prompt plus retention policy | Classification, sanitization, zero retention terms | Partial |
The internal alternative competes with a phone, not with good intentions. A CSDN analysis in May 2025 argues that enterprise AI products already support deployment limits and logging, and that the gap is often in IT rollout rather than vendor capability, while warning that prohibition can move usage to personal phones and accounts where traffic is harder to audit. That source is a blog post, not an official study, but the failure mode is well known: paste proprietary source into a personal account and the company loses prompt records, retention control, incident triggers and timely user notification.
The same CSDN analysis says historical code leaks were more often tied to repository permission errors than to AI tools, with lost laptops and departing employees in the story. The precise share cannot be checked here. Treated as analysis rather than measurement, the point survives: a company can block Claude and still leak through a public repository, a personal notebook, or an exported spreadsheet.
Demand makes the timing worse. TMTPost cites OECD figures showing enterprise AI adoption rose from 8.7 percent in 2023 to 14.2 percent in 2024 and 20.2 percent in 2025, plus McKinsey survey results saying about 90 percent of organizations reported regular AI use in at least one business function and 44 percent had reached company level deployment, up from 38 percent a year earlier. Those numbers describe demand, not governance maturity. A written AI management system under ISO/IEC 42001:2023 is the frame an auditor can read; a ban memo is not. The regulatory setting adds weight: a Xinhua report says Shenzhen issued guidance for AI tool use and trade secret protection, holding that efficiency cannot cross the confidentiality bottom line.
No. As a temporary control while classification and gateway work is unfinished, it reduces one destination. It becomes weak when it stands alone, because it produces no log of what moved, where it went, or who was notified.
Instrument the metadata. Endpoint DLP on paste events into known genAI domains, browser-extension inventory, corporate-card and subscription telemetry for personal accounts, and egress volume on repository APIs. Content inspection is the last resort and the least defensible one.
Only for the affected versions and the affected assets. A named range such as 2.1.91 to 2.1.196 invites a pinned build, an internal mirror and an inventory check; a ban invites shadow usage and an unaudited channel.
A gateway that classifies prompts before sending, strips identifiers, rejects high-sensitivity content, logs metadata and routes requests to approved vendors. It does not need to be perfect. It needs to be faster than a phone and easier than a workaround.
The practical standard is narrow. Pair any restriction with a written classification standard and a gateway that sanitizes prompts, plus retention limits, vendor assessments and incident response. Without those pieces, the ban reads as a confession that the organization lacks the governance layer now required by generative AI.