Hey Groq Community! ![]()
Iām excited to share my latest project: Groq Email Safety Lab - a production-ready email AI agent with comprehensive security testing.
What Makes It Special?
11 OWASP LLM Top 10 Aligned Security Tests
- Prompt Injection Detection
- Data Leakage Prevention
- Phishing Detection
- Excessive Agency Control
- And 7 more comprehensive tests!
Built on Google Apps Script + Groq API
- Uses
llama-3.3-70b-versatilefor fast email responses - Rate limiting with exponential backoff
- Structured audit logging to Google Sheets
Production-Ready Features
- Gmail integration with automated triggers
- SafetyLog for compliance auditing
- Real-time security scoring
- Blocks malicious emails before AI processing
Open Source & Ready to Deploy
GitHub Repository: https://github.com/Wddptesting/groq-email-safety-lab
Full Documentation: Includes setup guide, all 11 test descriptions, and deployment instructions
Why This Matters
Most AI email agents fail when exposed to real-world attacks. This lab demonstrates how to safely deploy Groq-powered LLM agents in production while protecting against:
- Prompt injection attempts
- Phishing campaigns
- Data exfiltration
- Excessive agency requests
Perfect for anyone building email automation, customer support bots, or AI assistants with Groq!
MIT Licensed - Feel free to use, modify, and build upon it.
Would love to hear your feedback and ideas for additional security tests! ![]()