Security647 words3 min decode

GitBook Breach via AI Agents Exposed API Tokens; Crypto Docs in Rotation

GitBook says AI agents helped an attacker reach infrastructure credentials on November 2, exposing API tokens and integration secrets; PancakeSwap has migrated its docs.

Crypto Docs Host GitBook Hit by AI Agent Security Breach, Urges Users to Rotate Keys
WitnessCrypto Docs Host GitBook Hit by AI Agent Security Breach, Urges Users to Rotate KeysiAmMrRob / pixabay

Outputs

  1. Attacker gained access at 7 p.m. CET on November 2 using what GitBook called AI agents

  2. Potentially exposed data includes API tokens, integration tokens, Git Sync secrets, and AI assistant questions

  3. GitBook revoked all customer API tokens and ordered full credential rotation

  4. PancakeSwap pulled its docs offline, then migrated them off GitBook to its own infrastructure

  5. Services were largely restored by Tuesday afternoon, with some functions possibly degraded

GitBook, the documentation platform used by a large share of cryptocurrency projects, disclosed on November 2 that an attacker using AI agents gained unauthorized access to parts of its infrastructure credentials, forcing the company to take authenticated services offline and invalidate all customer API tokens. The intrusion occurred at 7 p.m. Central European Time, and GitBook said it detected the intrusion immediately and moved to contain it.

In a security disclosure, the company described the incident as "a sophisticated, highly targeted attack using AI agents." That phrase carries weight. Unlike conventional chatbots that answer questions, AI agents can execute sequences of actions and interact with software with limited human oversight — a capability that can automate portions of an intrusion.

What GitBook has not said matters just as much. The disclosure does not explain how the attacker deployed these tools, which AI systems were involved, or how the credentials were obtained. It also does not establish that GitBook's own AI products were the vector. In plain words: the company has named a method class, not a mechanism.

What was exposed?

GitBook's investigation identified several potentially affected credential categories:

  • Integration tokens connecting third-party tools to the platform
  • Git Sync secrets linking documentation to code repositories
  • API tokens allowing software to communicate with GitBook automatically
  • Questions submitted to GitBook's AI assistant

The company said it found no evidence that hosted content was modified. That is a claim about integrity, not confidentiality — exposed secrets remain exposed regardless of whether documents were touched.

For crypto projects, the exposure is structural. Documentation platforms function as the official instruction manual for software products, and their maintenance systems connect to private accounts and external services through credentials that are supposed to remain secret. A compromised documentation pipeline is a supply-chain risk for every protocol that publishes there.

How did crypto projects respond?

Decentralized exchange PancakeSwap acted within hours. It temporarily disabled its documentation, redirected visitors to its homepage, and stated plainly: "docs are not compromised and [the] PancakeSwap app is not affected."

PancakeSwap also warned users that its documentation never requests wallet actions, writing that "docs never ask you to connect your wallet or approve tokens." The reminder targets a known social-engineling pattern: attackers substituting malicious pages for legitimate documentation to induce token approvals.

By the time PancakeSwap restored its docs, they were no longer hosted on GitBook. The exchange moved them to infrastructure under its own control, with existing links continuing to resolve. The migration converts a precaution into a structural decision.

What must customers do now?

GitBook said it blocked the attacker, addressed the vulnerabilities, replaced its own infrastructure credentials, and invalidated customer personal API tokens. Customers using the platform alongside other services still face mandatory work:

  • Rotate any existing GitBook API tokens, per the company's first instruction
  • Replace third-party API tokens and secrets used to connect external tools, including credentials tied to published integrations
  • Re-authenticate Model Context Protocol (MCP) servers, the system that lets AI assistants and other software connect to services such as GitBook

The MCP instruction deserves attention. It confirms that AI-tooling connection points were part of the operational surface during the incident, even though GitBook has not confirmed them as the entry vector.

What is the state of the platform?

GitBook took its application and authenticated documentation sites offline during containment, while keeping public documentation available through cached copies. A separate status notice acknowledged downtime affecting published documentation sites and the editor.

By Tuesday afternoon, GitBook reported that its application, API, and published documentation were accessible again — with the caveat that some services could remain degraded during recovery. Full restoration has no stated deadline.

The operational takeaway is simple: any project that has not yet rotated its GitBook-related credentials remains exposed, and the investigation into how AI agents were weaponized here is still unfinished.

By Elena Vasquez

via google.com (Original)

More from Elena Vasquez

Elena Vasquez

Show full bio

Staff writer covering regulation, policy and their impact on crypto and web3 industry at Mempool Brief.

1,879 articles