What Happened
A development flag left switched on in production builds of several Microsoft 365 Android apps disabled the check that limits account-token sharing to trusted Microsoft apps. Any other app on the same phone could ask for the signed-in user's token and get it, then read email, open files, browse the calendar, and send messages as that user. No password, no login screen, no permission prompt.
Why It Matters
The article reports that a debug flag (setIsDebugMode(true)) was mistakenly left enabled in a shared Microsoft SDK used by multiple Microsoft 365 Android apps, disabling the trust check that should restrict account-token sharing to trusted Microsoft apps.[1] This allowed any other app on the same device to silently request and receive long-lived Microsoft account tokens, enabling reading mail, accessing files, viewing calendars, and sending messages as the user without passwords, prompts, or visible indicators.[1][2] From a CyberSE.AI perspective, this illustrates an AI/ML and SaaS supply-chain risk pattern: a single misconfigured flag in a shared SDK or component can undermine core authentication and trust assumptions across many apps, including those embedding AI assistants like Microsoft 365 Copilot.[1] Organizations integrating third-party or shared SDKs into AI-enabled applications should implement rigorous SBOM-based dependency tracking, security gating for debug/feature flags, and continuous review of identity and token flows—areas where CyberSE.AI’s AI Supply Chain & SBOM Advisory can help design controls to prevent similar systemic authentication failures.
CyberSE Analysis
This signal maps to AI supply chain. Organizations using AI agents, LLM APIs, SaaS integrations, or sensitive data workflows should review whether this class of issue could create unauthorized tool execution, data leakage, weak approval gates, or unmanaged supply-chain exposure.
Recommended Actions
- Restrict AI agent tool permissions and production write paths.
- Review sensitive data access across prompts, logs, embeddings, memory, and SaaS integrations.
- Add human approval workflows for high-impact or state-changing actions.
- Run prompt injection and indirect prompt injection tests against affected workflows.
- Document the owner, control gap, and remediation deadline for this risk class.
Source
https://thehackernews.com/2026/06/microsoft-365-android-apps-let-any-app.html