Phishing via Compromised SendGrid Accounts Bypasses Traditional Authentication

August 22, 2025

Even with SPF, DKIM, and DMARC enforced, stolen API keys allow attackers to send authenticated phishing at scale.

Phishing via Compromised SendGrid Accounts Bypasses Traditional Authentication

A client was recently targeted by a phishing attack via a compromised SendGrid account from Purdue University. The email passed SPF and DKIM checks using Purdue's custom SendGrid domain.

The attackers changed the sender name to "SendGrid" and mimicked Sendgrid branding in an email titled "API Errors Impacting Email Delivery". The phishing link led to a credential harvesting site on a domain registered that same day.

After the incident, Purdue updated their DMARC policy from p=none to p=quarantine. However, this doesn't prevent abuse when legitimate API keys are compromised.

Both Sendgrid and Purdue have addressed the breach and implemented preventive measures.

This incident highlights the importance of limiting system access, regularly rotating API keys and DKIM keys, and monitoring DMARC reports.

It also explains why spam filters flag sudden volume spikes - they detect behavioral anomalies that often indicate compromised accounts, which is why legitimate messages can end up in spam when infrastructure is abused.

Related posts
All posts
Google.com Scam Sent via Gmail API - DMARC Passed, No Account Compromise

A scam email sent from @google.com passed SPF, DKIM, and DMARC without a compromised account. Here’s what it reveals about modern email threats.

Google.com Scam Sent via Gmail API - DMARC Passed, No Account Compromise
When Vendors Control Your DNS: A Hidden DMARC Security Risk

A real-world example of how third-party DNS control can silently block DMARC visibility, redirect domain telemetry, and introduce serious email security and data exposure risks.

When Vendors Control Your DNS: A Hidden DMARC Security Risk
2.3 million emails. One exposed API key. $10K bill.

How DMARC forensics exposed an API key leak, 2.3M unauthorized emails, and a $10K bill.

2.3 million emails. One exposed API key. $10K bill.