GitBook says an attacker using AI agents accessed infrastructure credentials.