Crypto

GitBook Breach Hits Crypto Docs as PancakeSwap Moves Off Platform

GitBook, the documentation platform used by many crypto projects, says an attacker gained access to some of its infrastructure credentials, potentially exposing API tokens and other secrets.

⏱ 2 min read Crypto
Quick Summary
  • GitBook says an attacker gained access to some of its infrastructure credentials on 2 November
  • GitBook says API tokens and Git Sync secrets may have been exposed, but found no evidence hosted content was changed
  • PancakeSwap has moved its docs off GitBook and says its app was not affected

GitBook, a documentation platform used by many crypto projects, says an attacker gained unauthorised access to some of its infrastructure credentials.

The company described the incident as “a sophisticated, highly targeted attack using AI agents.” It said the access took place at 7pm Central European Time on Monday, 2 November, and published its disclosure on Tuesday.

GitBook says it detected the intrusion immediately and moved to contain it. It had not explained how the credentials were obtained at the time of writing.

What may have been exposed

GitBook says the following may have been exposed:

  • API tokens and integration tokens
  • Git Sync secrets, which connect documentation to code repositories
  • other integration secrets
  • questions submitted to GitBook’s AI assistant

The company says it found no evidence that any hosted content was changed.

GitBook’s response

GitBook says it has revoked personal API tokens, invalidated customer API tokens, replaced its own infrastructure credentials and fixed the vulnerabilities involved.

It also took its app and login-protected documentation sites offline, while public docs stayed available through cached copies. By Tuesday afternoon, the app, API and published docs were back online, though GitBook said some services could remain slow or limited.

GitBook has told customers to rotate their GitBook API tokens, replace any third-party API tokens and secrets connected to GitBook, and re-authenticate if they use its MCP server.

PancakeSwap moves its docs

PancakeSwap temporarily took its documentation offline and redirected visitors to its homepage while the incident was investigated.

The exchange said its “docs are not compromised and [the] PancakeSwap app is not affected.” It has since moved its documentation from GitBook to infrastructure it controls, and existing links still work.

No losses of user funds had been reported at the time of writing.

What happens next

Crypto teams that use GitBook should follow its advice and rotate any connected tokens and secrets. Users should take care with documentation links until projects confirm their docs are secure, because docs pages are a common target for phishing.

⚖️ Our Verdict 📉 Bearish Signal

A breach at a documentation platform used across crypto has exposed tokens and secrets that teams now need to replace. But GitBook says no hosted content was changed, its services are back online, and no losses of funds have been reported.