MoltGuard-Security
A mobile security orchestrator for AI agents, powered by Gemini 2.5 Flash. Detecting prompt injections and data leaks in real-time
- Stars
- 1
- Forks
- 0
- Last push (UTC)
- Mar 21, 2026
- Project status
- Active
Original README
English project snapshot. Visit GitHub for the latest content.
🛡️ MoltGuard: AI Security Orchestrator
If you find this project useful, please consider giving it a ⭐ to support its development!
MoltGuard is a cutting-edge mobile security orchestrator powered by the next-generation Gemini 2.5 Flash. It performs high-speed behavioral auditing on AI interactions to detect prompt injections, malware patterns, and data leaks with unprecedented reasoning capabilities.
⚙️ Quick Setup & API Configuration
To get started with MoltGuard, follow these steps:
- Obtain API Key: Get your free API key from Google AI Studio.
- Environment Setup: Create a
.envfile in the root directory. - Add Key: Add your key to the file:
GEMINI_API_KEY=your_key_here. - Run: Execute
flutter runin your terminal.
🧠 How the Security Analysis Works
MoltGuard acts as a middleware between the user and the LLM.
- Input Sanitization: User prompts are intercepted.
- Behavioral Auditing: Gemini 2.5 Flash analyzes the intent (detecting Jailbreaks, PII Leaks, or Malicious Code).
- Structured Response: The AI returns a precise JSON object containing:
overallRiskScore: Numerical value (0-100).vulnerabilities: Detailed list of detected threats.
- Actionable Output: Users receive a visual risk level and a downloadable PDF report.
🚀 Key Features (Powered by Gemini 2.5 Flash)
- Extreme Reasoning Speed: Leveraging the ultra-fast Gemini 2.5 Flash for real-time threat analysis without latency.
- Lux Loading Radar: A premium security scanning animation for an immersive "Cybersecurity" experience.
- Smart Risk Classification: Internal logic that auto-calculates threat levels (Critical, High, Medium, Low) ensuring no "Unknown" results.
- Professional PDF Audits: Generate detailed security reports with QR Code verification, powered by deep AI insights.
- Modular Clean Architecture: Organized into a professional Service Layer (Models, Services, Screens) for enterprise scalability.
📸 Preview





MoltGuard in action: Real-time auditing and professional reporting powered by Gemini 2.5 Flash.
📂 Project Structure
lib/
├── models/ # Data Structures & Smart Fallback Logic
├── services/ # AI Service (Gemini 2.5), Export (PDF), & Storage
├── screens/ # Premium UI Components
└── main.dart # Application entry point
🗺️ Future Roadmap
We have ambitious plans for MoltGuard! From on-device ML to enterprise-grade security monitoring. 🚀 View our detailed Roadmap here
🛠️ Built With
- Flutter - High-performance core cross-platform framework.
- Gemini 2.5 Flash - Utilizing the next generation of AI for advanced safety auditing.
- FlutLab - Professional cloud IDE used for rapid development and orchestration.
- MIT License - Open for community contribution and safety research.
⚠️ Disclaimer
This tool is for educational and research purposes only. Always use AI responsibly and ensure you comply with data privacy regulations.
Note: This project showcases the cutting-edge application of Gemini 2.5 Flash in the field of AI safety and mobile security guardrails. It aims to empower users with a transparent layer of protection in an AI-driven world.
Categories
Dependencies used
Dependency list 9 items
- http
^1.1.0 - flutter
{"sdk":"flutter"} - flutter_dotenv
^5.1.0 - google_generative_ai
^0.4.0 - shared_preferences
^2.2.2 - pdf
^3.10.8 - path_provider
^2.1.2 - flutter_testDevelopment
{"sdk":"flutter"} - flutter_lintsDevelopment
^4.0.0
How do I choose a repository?
Start with your use case, compare repository activity, and check the original project before adopting it.
- Search by repository name, owner or description, then narrow the results by topic.
- Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
- Read the README, license and issues on GitHub before using a project.
Sources and maintenance
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗