Skip to main content
TITLE PAGE
SMART INDIA HACKATHON 2025
• Problem Statement ID – SIH25167
• Problem Statement Title- Transformer
based end-to-end Web Application Firewall
(WAF) pipeline
• Theme- Smart Automation
• PS Category- Software
• Team ID- 76874
• Team Name- PARADOX 2.0 (PARADOX)
2
@SIH Idea submission- Template
IDEA TITLE
Introducing a proactive Web Application Firewall that uses a
Transformer-based AI to learn your application’ s normal traffic
pattern. It acts as an intelligent security analyst, moving beyond static
rules to provide context-aware protection.
 Real-time Traffic Analysis Engine inspects every incoming web
request without significant latency.
 AI-powered anomaly detection identifies and blocks suspicious
behaviour that bypasses traditional rules.
 Proactively block zero-day exploits by understanding attack
characteristics, not just known signatures.
 Continuous Learning & Adaptation from live traffic to automatically
evolve security policies, eliminating manual updates.
 Threat Analytics Dashboard to monitor, filter, and visualize blocked
requests and emerging attack trends.
 Explainable AI (XAI) provides visual heatmaps to show exactly why
a request was flagged as malicious.
 Context-aware filtering ensures high accuracy and significantly
PARADOX
Idea approach/details :
TECHNICALAPPROACH
PARADOX
 Core AI & Data Science
• Language : Python
• AI Framework/toolkit : PyTorch (or TensorFlow)
• Transformer Library : Hugging Face & DistilBERT Model
• Inference API : FastAPI
 Data Pipeline & Infrastructure
• Data Flow : Nginx ( Server) Filebeat (Logs)
Apache Kafka (Stream)
• Deployment : Docker & Kubernetes
 Analytics & Visualization
• Monitoring Suite : Elasticsearch (Database) & Kibana
(Dashboard)
Technologies to be used : Methodology :
FEASIBILITY AND VIABILITY
4
PARADOX
Feasibility :
 We will leverage powerful, open-source Transformer models
like DistilBERT from the Hugging Face library.
 Our architectures uses industry-standard, free tools like
Kafka, Docker, and Filebeat for a robust data pipeline.
 The Kubernetes-based design allows us to handle any amount
of web traffic, ensuring the firewall is always fast and
responsive.
 The Automated system continuously improves on its own by
learning from new traffic, which eliminates the need for
constant manual rule updates.
 An powerful analytics dashboard provides simple, real-time
insights into threats, making it easy to manage.
 High automation means lower operational costs and reduces
the need for constant human supervision, making it a
sustainable solution.
Challenges and Strategies :
 Challenge : Maintaining millisecond response time to prevent
website lag.
 Our strategy : An Optimized Stack using a lightweight
model (DistilBERT), a high-speed API (FastAPI), and
horizontal scaling with Kubernetes.
 Challenge : Minimizing False Positives to avoid blocking legitimate
users.
 Our Strategy : A Calibrated Approach, starting in a monitor-
only mode and continuously tuning the model with a precise
anomaly threshold.
 Challenge : Ensuring High-Quality Training Data for the model’s
accuracy.
 Our Strategy : Realistic Data Simulation using tools like
JMeter to generate training data that mirrors complex, real-
world user behaviour.
IMPACT AND BENEFITS
5
@SIH Idea submission- Template
PARADOX
 Economic Benefits :
 Prevents Financial Loss by proactively blocking attacks
that lead to theft, ransomware, and heavy regulatory
fines.
 Lowers Operational Costs by automating complex
security task and reducing the need for a large,
dedicated security team.
 Social Benefits :
 Protects Citizen Data on critical platforms like
Government services, digital banking, and healthcare
portals.
 Builds a Trustworthy Digital Ecosystem, making the
internet safer for everyone and securing our national
infrastructure.
Potential Impacts : Benefits :
 For Businesses & Organizations : Enhanced Security & Trust by
protecting against costly data breaches, financial fraud, and
reputational damage.
 For Security Teams : Reduced Workload & Faster Response
through automated threat detection, which eliminates the
need for constant manual rule writing and tuning.
 For End-Users & Customers : A Safer Digital Experience,
ensuring their personal and financial data is protected while
providing uninterrupted access to services.
RESEARCH AND REFERENCES
6
@SIH Idea submission- Template
PARADOX
Research & References :
 https://www.researchgate.net/publication/386566353
 https://huggingface.co/docs
 https://pytorch.org/tutorials/
 https://fastapi.tiangolo.com/
 https://kubernetes.io/docs/home/