Skip to content

daily brief · Nov 04, 2026

GitBook Breach: AI Agent Attack Hit Infrastructure Credentials, Rotate Your API Tokens

GitBook says a targeted attack using AI agents reached its infrastructure credentials. What may be exposed and which tokens customers should rotate now.

3 sources · 1 min read

If your team uses GitBook, rotate your GitBook API tokens, any third-party tokens or secrets connected to it, and secrets in published integrations, then re-authenticate the GitBook MCP server. GitBook says an attacker using AI agents got into some of its infrastructure credentials.

The break-in started at 7 p.m. CET on November 2. GitBook calls it “a sophisticated, highly targeted attack using AI agents.” It says it spotted the intruder right away, pulled its app and login-protected docs offline, served public docs from cache, and replaced every credential in its systems. It also cancelled every customer’s API tokens. Service came back on November 3, with a few parts still running slow.

What may have been taken: integration tokens, Git Sync secrets, API tokens, and questions that site visitors typed into GitBook Assistant. GitBook says it has found no sign that anyone changed customer content. It hasn’t said how many customers were affected, how the credentials were reached, or which AI tools the attacker used. A full post-mortem is promised.

Quick answers

Was my documentation changed?

GitBook says it has found no evidence that customer content was modified.

Do I need to act if GitBook already revoked tokens?

Yes. Personal API tokens were revoked, but you still need new ones, plus fresh third-party and integration secrets.

GitBook security breach AI agentssecurityAI agent cyberattackAPI token rotationGit Sync secretsGitBook MCP serverdocumentation platform breach

More on: AI agents · AI security · All Security briefings