Inspiration

Muninn was inspired by Odin's ravens, Huginn and Muninn, which symbolize thought and memory. Just as these birds would fly across the world to gather knowledge, our tool scans web applications, collecting intelligence on security vulnerabilities. We wanted to create something that could "think" through potential threats and provide meaningful insights—just as Muninn does in Norse mythology.

What it does

Muninn is an AI-driven security analysis tool designed to help developers and security professionals identify Cross-Site Scripting (XSS) and Cross-Site Request Forgery (CSRF) vulnerabilities in web applications. By leveraging Google's Gemini AI, it analyzes potential security risks with a deep understanding of context, reducing false positives and offering actionable remediation advice. Unlike traditional vulnerability scanners, Muninn aims to provide smarter, more intuitive assessments that go beyond simple pattern matching.

How we built it

Muninn was developed using Flask as the core framework, with multiple iterations and refinements along the way. Integrating the Gemini AI API for intelligent analysis required extensive testing to fine-tune its ability to distinguish between actual vulnerabilities and harmless code. We experimented with different detection techniques, optimized the processing pipeline, and focused on usability to ensure that Muninn is both powerful and practical.

Challenges we ran into

Building Muninn wasn’t smooth sailing. The AI initially misclassified harmless code snippets as security threats, leading to frustratingly high false positives. At other times, it failed to detect actual vulnerabilities, which required us to rethink our approach to data processing and filtering. Beyond the technical struggles, we also faced challenges in making the tool accessible and user-friendly—security tools are often powerful but not always intuitive, so we worked to balance both.

Accomplishments that we're proud of

  • Functionality: Muninn successfully identifies XSS and CSRF vulnerabilities with improved accuracy.
  • Design & Usability: The interface is clean, user-friendly, and presents security insights in an understandable way.
  • AI Integration: We optimized Gemini AI to provide meaningful security analysis rather than just scanning for keywords.
  • Persistence: Despite multiple setbacks, we refined Muninn into something reliable and useful.

What we learned

  • XSS and CSRF vulnerabilities come in far more variations than we originally anticipated, requiring a more nuanced approach.
  • AI-powered security tools need constant refinement to balance detection accuracy and efficiency.
  • Usability matters—an effective security tool isn’t just about raw detection power; it also needs to present information clearly and concisely to be truly valuable.

What's next for Muninn

Our next step is to host Muninn on a dedicated subdomain of our main website, making it accessible for real-world use. We also plan to improve its accuracy further, refining its ability to differentiate between benign and malicious code. In the long term, we’re considering adding adaptive learning capabilities, allowing Muninn to evolve and stay ahead of new security threats. Our goal is to create a tool that not only detects vulnerabilities but also learns from new attack patterns, helping developers stay proactive in securing their applications.

Built With

Share this project:

Updates