TL;DR: Two logic flaws in the Gmail and Google Drive integration let blocked payloads re-enter delivery as trusted attachments, sometimes with a misleading “Scanned by Gmail” label and missing warning interstitials, according to Pentera. The finding shows that platform trust can become an attack surface when file handling and scanning decisions are inconsistent across services.
NHIMG editorial — based on content published by Pentera: Google Workspace trust flaws in Gmail and Drive malware delivery
By the numbers:
- Only 44% of organisations have implemented any policies to manage their AI agents, despite 92% agreeing that governing AI agents is critical to enterprise security.
- 70% of organisations grant AI systems more access than they would give a human employee performing the exact same job.
- Systems with least-privileged AI access had a 17% incident rate vs 76% for over-privileged systems.
Questions worth separating out
Q: What breaks when collaboration platforms inherit trust too aggressively?
A: When one service assumes another has already performed the necessary checks, malicious content can move across internal trust boundaries with less scrutiny than an external file would receive.
Q: Why do trusted file-sharing links increase phishing and malware risk?
A: Trusted file-sharing links reduce suspicion because they look like normal business workflows rather than obvious external downloads.
Q: How can security teams tell whether native scanning is actually working?
A: Look for consistency across delivery paths, warning behaviour, and endpoint execution.
Practitioner guidance
- Reclassify internal share links as high-risk delivery paths Apply the same inspection and review logic to Google Drive links inside Gmail that you already apply to direct attachments and external download URLs.
- Enforce pre-execution download sandboxing Route downloads from cloud collaboration services through a sandbox or browser security layer before the user can open the file locally.
- Add native content compliance rules for shared files Use mail security policy to flag, reroute, or quarantine external messages that contain Drive share links or similar trusted-storage references.
What's in the full report
Pentera's full blog post covers the proof-of-concept detail this post intentionally leaves for the source:
- Step-by-step reproduction of the Gmail and Drive attachment bypass paths.
- Screenshots and proof-of-concept behaviour for the misleading “Scanned by Gmail” label.
- The precise conditions under which Google Drive warning interstitials did not appear.
- Pentera's recommended mitigations for sandboxing and content compliance enforcement.
👉 Read Pentera's analysis of Gmail and Drive trust flaws in malware delivery →
Gmail and Drive trust signals: are your controls keeping up?
Explore further
This is a platform trust problem, not just an email filtering problem. The article shows how a file can be rejected in one service path and accepted in another because the integration layer inherits trust too aggressively. That is a governance issue for cloud collaboration environments, where security decisions are often distributed across products that were not designed as a single assurance chain. Practitioners should treat trust inheritance between services as a control design flaw, not a usability feature.
A question worth separating out:
Q: What should teams do when cloud collaboration warnings and labels do not align?
A: Treat the mismatch as a control failure and escalate it into policy. Quarantine or detonate the file outside the native platform, alert users that the visible label is not a guarantee of safety, and review whether your mail, storage, and endpoint controls are sharing the same inspection state. In the meantime, assume the message is untrusted until independently verified.
👉 Read our full editorial: Google Workspace trust gap in Gmail and Drive malware delivery