การรักษาความปลอดภัย AI แบบเรียลไทม์: เมื่อการรั่วไหลของ API ใช้เวลากว่า 23 นาทีกว่าจะถูกบล็อก

เมื่อ Google Cloud ปล่อยให้ API Key รั่วไหลได้นานถึง 23 นาที แม้จะลบไปแล้ว นักพัฒนาต้องเจอค่าใช้จ่ายห้าหลัก และนี่คือสัญญาณเตือนว่า “ความปลอดภัยแบบมนุษย์เฝ้าระวัง” ใช้ไม่ได้ผลอีกต่อไป
การวิเคราะห์เชิงลึกชี้ให้เห็นถึงเหตุการณ์สำคัญที่สะท้อนถึงความเปราะบางของระบบนิเวศ AI คลาวด์ที่ไม่ได้รับการออกแบบมาเพื่อความปลอดภัยเชิงรุก โดยเฉพาะกรณีของ Google Cloud ที่มีการขยายขอบเขต API Key จาก Google Maps ไปสู่ Gemini โดยไม่แจ้งให้ผู้ใช้ทราบ ส่งผลให้เกิด API key sprawl ที่อันตราย นักพัฒนาหลายรายต้องเผชิญกับค่าใช้จ่ายที่เรียกเก็บจากบริการที่พวกเขาไม่เคยเปิดใช้ ซึ่งถือเป็น business impact ที่รุนแรง โดยเฉพาะสตาร์ทอัพที่ใช้ API Key แบบสาธารณะตามคำแนะนำของ Google เอง
ประเด็นที่น่าตกใจยิ่งกว่าคือการที่ Google ใช้เวลา 23 นาที ในการเพิกถอนสิทธิ์ของ API Key ที่ถูกลบไปแล้ว ซึ่งหมายความว่าในช่วงเวลาดังกล่าว ผู้โจมตียังคงสามารถเข้าถึงข้อมูล แคชการสนทนา และไฟล์ที่ถูกเก็บไว้ใน Gemini ได้ โดยมีอัตราความสำเร็จในการ Authentication สูงถึง 90% การค้นพบจาก Aikido นี้แสดงให้เห็นถึงช่องโหว่ทางสถาปัตยกรรมของระบบคลาวด์ที่ไม่สามารถจัดการ real-time revocation ได้ ซึ่งเป็นปัญหาที่เกิดขึ้นเฉพาะกับ AI Services ที่มี cache และ state จำนวนมหาศาล
ท้ายที่สุด นักวิเคราะห์จาก Fortinet ชี้ว่าแนวทางแก้ไขคือ AI-native, fully agentic defense หรือการรักษาความปลอดภัยที่ใช้ AI เป็นผู้ดำเนินการเอง โดยไม่มีมนุษย์อยู่ในลูปการตัดสินใจ (human in the loop) อีกต่อไป เนื่องจากความเร็วของเครื่องจักรนั้นเหนือกว่ามนุษย์ในทุกมิติ การเปลี่ยนแปลงนี้ไม่ใช่แค่เรื่องของทีมรักษาความปลอดภัยอีกต่อไป แต่เป็น board-level issue ที่ผู้บริหารสูงสุดต้องให้ความสนใจ เพราะความเสียหายอาจเกิดขึ้นในระดับวินาทีก่อนที่มนุษย์จะรู้ตัว
ประเด็นสำคัญที่นักพัฒนาและผู้ประกอบการต้องรู้
- API Key ที่แชร์ข้ามบริการ (Scope Creep): API Key ของ Google Maps ถูกปรับให้เข้าถึง Gemini ได้โดยอัตโนมัติโดยไม่แจ้งเตือนชัดเจน
- ค่าใช้จ่ายเกินคาด: ผู้ใช้ต้องเจอค่าใช้จ่ายห้าหลักจากบริการที่ไม่ได้ร้องขอ
- ระยะเวลาการเพิกถอนสิทธิ์ช้า (23 นาที): แม้คุณลบ Key ทันที ผู้โจมตียังใช้ Key นั้นได้ต่อเนื่องเป็นเวลาเกือบครึ่งชั่วโมง
- การขโมยข้อมูลแคช AI: ผู้โจมตีสามารถดึงข้อมูล Conversation และ File Cache จาก Gemini ได้ในช่วงเวลาดังกล่าว
- แนวทางแก้ไขคือ Agentic AI Defense: ระบบที่ใช้ AI เป็นผู้ดำเนินการป้องกันแบบอัตโนมัติเต็มรูปแบบ (AI-native defense)
Full English Translation
Everyone is navigating AI security in real time — even Google
A deep analysis reveals a critical vulnerability in the cloud AI ecosystem. Specifically, Google Cloud expanded the scope of existing API keys originally created for Google Maps to also access Gemini services without clear disclosure. This led to dangerous API key sprawl where developers faced five-figure bills for services they never used, highlighting a severe business impact, especially for startups following Google’s own public deployment instructions.
More alarmingly, research by security firm Aikido found that even after a developer deletes a compromised key, Google takes up to 23 minutes to propagate the revocation across its infrastructure. During this window, attackers continue to authenticate with over a 90% success rate and can exfiltrate cached conversation data and files from Gemini. This architectural flaw exposes the inability of current cloud systems to handle real-time revocation for AI services with heavy cache and state.
The solution, according to experts, lies in AI-native, fully agentic defense—where AI systems operate autonomous defense without a human in the loop. This is no longer a security team issue but a board-level priority, as machine-speed attacks demand machine-speed responses.
Key Takeaways for Developers and Business Leaders
- API Key Scope Creep: Google Maps API keys were silently granted access to Gemini without user consent.
- Unexpected Bills: Developers faced five-figure costs for unauthorized API calls.
- Delayed Revocation (23 minutes): Even after deleting a key, attackers can use it for nearly 30 minutes.
- Cache Data Theft: Attackers can exfiltrate Gemini conversation caches and files.
- Future Defense is Agentic: The only viable defense is a fully automated AI-driven security system.
Citation: TechCrunch – Everyone is navigating AI security in real time — even Google
