Industry
Published:
27 Nov, 2026
Attackers can understand your software faster than ever. What are you doing about it?

AI summary
Steven Hall explains why faster AI-assisted attacks and increasingly connected software should prompt teams to review their security assumptions. He recommends testing your own code, reviewing integration permissions, and limiting credential access. GitBookโs recent improvements include personal API token controls and passkeys, with ongoing updates published in its security bulletins.
Our recent security incident made us look harder at how people and tools access GitBook, and how much control customers have over that access. Itโs also made me think about the security practices and assumptions teams need to revisit as their products and the tools available to attackers change.
Across the industry, companies are dealing with slightly different versions of the same problem. AI lets attackers understand a system faster, while integrations give them more places to look for a way in. Our incident was a wake-up call for us, but you shouldnโt wait for your own security breach to wake you up: you should act now.
AI changes how attackers work
AI makes these kinds of attacks brutal. An attacker used to have to spend time understanding an application and analyzing its code for weaknesses. Now they can hand much of that work to an agent and get through it far faster, before they even send the first request to your system.
These attacks come like a knife now. Old-school probing attacks are easier to detect and counter because you can see somebody trying random endpoints and requests to find out what works. A direct, precise attack from an AI agent is much harder to spot: the attacker has already done the analysis and knows precisely where to hit.
In a campaign documented by Anthropic, attackers used Claude Code to inspect systems, identify and test vulnerabilities, and harvest credentials. Human operators still directed the campaign, but AI carried out much of the work. Anthropic reported that the reconnaissance took a fraction of the time it would have taken a human team.
Look at what happens after someone gets access
An attack can look like a series of perfectly valid requests. Once somebody gets into an account, they can work out what it can reach and start using the credentials or permissions they find. An agent can move through those steps very quickly, so you need to look at what the account is doing even when its requests succeed.
Iโd look for activity outside an accountโs normal job, whether thatโs a service account reading secrets it doesnโt normally need or a token being used from outside your usual infrastructure. New credentials or permission grants that donโt match any work your team is doing deserve attention too, especially if several of these events happen close together.
You need to know which accounts should read production secrets and which workflows should change permissions. Record those actions and make sure you can trace them back to an identity. Set up alerts for unexpected changes as well as failed requests or spikes in traffic.
Iโd also focus on how far somebody could get with one compromised credential. Limit each workload to the access it needs and use short-lived credentials where possible. The server should check authorization for every sensitive operation. Test those boundaries yourself: can an account reach another customerโs data, or can an integration do more than its job requires? Itโs worth practicing how youโd revoke that access quickly if something went wrong.
Everything wants to be connected to everything
Across the industry, more work happens through APIs and integrations between products. AI and agents are accelerating that because connected tools work better together. An agent can do more when it has access to the systems a team already uses, so people are eager to hook them up.
We see that at GitBook too. More people use Git Sync than ever, connecting repositories to their docs, and APIs and agents let people work with the product without even touching the UI. But now people need access controls and safeguards that reflect those ways of working.
Letโs say you connect a tool to GitHub so it can show you pull requests. Then somebody wants to install another GitHub app to try something, and you get a request: can I install this app? Itโs so easy to just say yes.
But all of a sudden, youโve just given that app access to a repository it doesnโt need. If the app becomes compromised, an attacker could get access to that repository too.
Those permissions can accumulate very quickly. And a decision that took a few seconds when somebody wanted to try a tool can leave the same access in place long after anyone remembers why they granted it.
Treat your source code as public
Thereโs a project on GitHub called REA โ Reverse Engineer Anything that helps an agent reverse-engineer an application. Its Notion example traces how the desktop app handles clipboard data without access to the original source code. When thinking about what an attacker could discover, Iโd treat your application as if its source code were public.
Iโd recommend using the same tools an attacker would to analyze your code and actively try to break the assumptions youโre relying on. If somebody understood how your application worked, could they reach something they shouldnโt? What would stop them?
That applies to the systems around your application too. Look at how many apps you have installed in GitHub and what access they have, along with the credentials your automated workflows can access. Do your API tokens grant more access than they need for the work theyโre doing? If one of those credentials is compromised, how far could somebody get?
Checking these details and adding more steps to prevent breaches might slow you and your team down, and I get the desire to move quickly. I work the same way. When Iโm trying a tool, I just want to connect it and get on with using it. But choosing how much access to give a tool deserves more time than we sometimes give it.
If a tool only needs one repository, give it just that repository. If a workflow only needs to read data, look for a way to give it read-only access. And then revisit those decisions as the tools and the work change.
If you want to try REA for yourself, Iโd start with a local copy of your own application in a separate working folder, without production credentials. REA works with coding agents such as Claude Code, Codex, and Cursor, and its setup guide walks through the tools you need. Give the agent a specific question to investigate, such as how your application handles authentication or where it checks permissions. Ask it to show the code behind its answer, then check those findings yourself and use them to decide what to test more closely.
What weโre changing at GitBook
Our incident made us take programmatic access to GitBook more seriously. Over the past few weeks weโve been improving account security and giving people more control over how tools access their content.
Weโve recently shipped better controls for personal API tokens. You can create read-only tokens and restrict where a token can be used by allowing or denying specific IP ranges. New tokens expire after 90 days by default, with other expiration options available.
When you rotate a token, you can revoke the previous secret immediately or keep it working for 1 hour or 24 hours while you update the integrations that use it. That gives teams time to replace credentials without updating everything at exactly the same moment.
And for accounts that donโt require SSO, weโve shipped passkeys too. People can use a passkey to sign in and confirm their identity before sensitive account changes.
Thereโs more coming, and security is a major ongoing focus for the team. We need to keep examining our own systems and giving customers better controls as their use of GitBook changes, whether theyโre signing in themselves or giving integrations and agents access.
If you want to keep track of what weโre doing in the product, weโll keep posting updates in our security bulletins.
โ Learn about permissions and inheritance in GitBook
Share
Read more
Industry
Get the GitBook newsletter
Get the latest product news, useful resources and more in your inbox. 130k+ people read it every month.

13 Nov, 2026
What we learned running a hands-on AI workshop at Write the Docs San Francisco

Addison Schultz
DevRel Lead

Sarah Dugan
Docs Lead

25 Aug, 2026
The writing was never the hard part: notes from the State of Docs panel with WTD NYC

Tal Gluck
DevRel

3 Aug, 2026
Improving your docs and advocating for them are two different jobs

Tal Gluck
DevRel
Accurate docs. Better answers.
Your docs are already feeding AI. Are users getting the right answers or the wrong ones?
Accurate docs. Better answers.
Your docs are already feeding AI. Are users getting the right answers or the wrong ones?
Accurate docs. Better answers.
Your docs are already feeding AI. Are users getting the right answers or the wrong ones?
Create & Publish
Solutions
Resources
ยฉ 2026 Copyright GitBook INC.
440 N Barranca Ave #7171, Covina, CA 91723, USA. EIN: 320502699
Get an AI summary

The State of Docs Report 2026
State of Docs brings together insights from documentation experts from across the industry

Create & Publish
Solutions
Resources
ยฉ 2026 Copyright GitBook INC.
440 N Barranca Ave #7171, Covina, CA 91723, USA. EIN: 320502699
Get an AI summary
The State of Docs Report 2026
State of Docs brings together insights from documentation experts from across the industry

Create & Publish
Solutions
Resources
ยฉ 2026 Copyright GitBook INC.
440 N Barranca Ave #7171, Covina, CA 91723, USA. EIN: 320502699
Get an AI summary
The State of Docs Report 2026
State of Docs brings together insights from documentation experts from across the industry


