Search packages, repositories and app categories

GitHub repositorygalaxyrayyan/MoltGuard-Security

MoltGuard-Security

A mobile security orchestrator for AI agents, powered by Gemini 2.5 Flash. Detecting prompt injections and data leaks in real-time

MoltGuard-Security project cover
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

Flutter Gemini 2.5 Flash License: MIT

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:

  1. Obtain API Key: Get your free API key from Google AI Studio.
  2. Environment Setup: Create a .env file in the root directory.
  3. Add Key: Add your key to the file: GEMINI_API_KEY=your_key_here.
  4. Run: Execute flutter run in your terminal.

🧠 How the Security Analysis Works

MoltGuard acts as a middleware between the user and the LLM.

  1. Input Sanitization: User prompts are intercepted.
  2. Behavioral Auditing: Gemini 2.5 Flash analyzes the intent (detecting Jailbreaks, PII Leaks, or Malicious Code).
  3. Structured Response: The AI returns a precise JSON object containing:
    • overallRiskScore: Numerical value (0-100).
    • vulnerabilities: Detailed list of detected threats.
  4. 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

AI Radar Scanning Threat Analysis Result PDF Export Feature

Security Dashboard Scan History

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.

Irayyan GitHub avatar
GitHub author

Irayyan ↗

LanguagesDart

Categories

Dependencies used

Dependency list 9 items

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. 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 ↗