MoltGuard-Security
由 Gemini 2.5 Flash 驱动的移动安全编排器,用于 AI 代理,可实时检测提示注入和数据泄露
- 星标
- 1
- 复刻
- 0
- 最近推送(UTC)
- 2026年3月21日
- 项目状态
- 未归档
原始 README
以下为英文项目原文快照,最新内容请访问 GitHub。
🛡️ 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.
分类
使用的依赖
依赖清单 9 项
- 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_test开发依赖
{"sdk":"flutter"} - flutter_lints开发依赖
^4.0.0
如何选择适合项目的代码仓?
先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
- 通过仓库名、作者或描述搜索,再按技术分类缩小范围。
- 结合星标、复刻与最近推送比较项目;星标反映社区关注,不代表质量保证。
- 使用前在 GitHub 核对 README、许可证与 Issues。
来源与维护
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗