Skip to content
R

RAG Shield

Stay ahead of threats with AI detection.

Created on 16th March 2025

•

R

RAG Shield

Stay ahead of threats with AI detection.

The problem RAG Shield solves

With the increasing sophistication of cyber threats, malicious URLs, and unauthorized scripts, traditional security measures struggle to detect and mitigate emerging threats in real time. Existing solutions often lack adaptability to novel attack patterns, leading to compromised user data, financial loss, and system vulnerabilities. There is a need for a dynamic and intelligent system that can efficiently identify and mitigate cyber threats, including suspicious URLs and malicious scripts, using AI-driven threat analysis and real-time detection.

Challenges we ran into

We faced several challenges while building this project. The LangChain API response was slow, so we optimized queries and added caching. Handling inconsistent JSON structures in our cybersecurity dataset required writing custom parsers. Integrating the backend with the frontend caused CORS issues, which we fixed by properly configuring headers. Lastly, we pivoted from direct LLM querying to a RAG-based approach to improve answer accuracy, requiring modifications to our retrieval pipeline.

Discussion

Builders also viewed

See more projects on Devfolio