
Geschlossen
Veröffentlicht
Bezahlt bei Lieferung
You are a senior cybersecurity + machine learning engineer. Build a practical, runnable, end-to-end Transformer-based Web Application Firewall (AI-WAF) prototype suitable for Smart India Hackathon / ISRO SIH demonstration. The system must implement the full pipeline: Log Ingestion → Parsing → Normalization → Tokenization → Transformer Training → Multi-Class Attack Classification → Anomaly Scoring → Real-Time Non-Blocking Inference → Alerting & Logging → Incremental Fine-Tuning ======================================== 1. CORE FUNCTIONAL REQUIREMENTS ======================================== A. Multi-Class Attack Detection The Transformer model must classify HTTP requests into: - BENIGN - SQL_INJECTION - XSS - COMMAND_INJECTION - PATH_TRAVERSAL - BRUTE_FORCE - MALWARE - DDOS_PATTERN - ANOMALY (for zero-day / unknown patterns) Output format: { "attack_type": "BENIGN | SQL_INJECTION | XSS | ...", "confidence": 0.0-1.0, "anomaly_score": float, "action": "ALLOW | WARN | BLOCK", "message": "Human-readable security explanation" } ======================================== 2. END-TO-END PIPELINE COMPONENTS ======================================== A. Log Ingestion - Read historical Apache/Nginx logs from file - Implement streaming/tailing mode (simulate tail -f) - Push parsed logs into processing queue B. Parsing & Normalization Extract: - HTTP method - URL path - Query parameters - Headers - Request body Normalize: - Replace numbers with <NUM> - Replace UUIDs with <ID> - Replace tokens/session IDs with <TOKEN> - Replace hashes with <HASH> - Lowercase everything - Remove unnecessary dynamic noise Output a canonical normalized request string. C. Tokenization - Use HuggingFace tokenizer (BERT/DistilBERT) - Convert normalized request strings to token IDs - Pad/truncate sequences properly - Create attention masks ======================================== 3. TRANSFORMER MODEL REQUIREMENTS ======================================== Use: - DistilBERT or BERT-based Transformer Encoder (HuggingFace) Architecture: - Transformer encoder - Multi-class classification head - Optional anomaly scoring head Training: - Train on labeled benign + attack samples - Use CrossEntropyLoss for classification - Compute anomaly score using: - Softmax entropy OR - Log-likelihood/perplexity Model must support: - Saving & loading - Versioning ======================================== 4. REAL-TIME INFERENCE SERVICE ======================================== Use FastAPI. Endpoint: POST /analyze_request Input: Raw HTTP request (JSON) Process: - Normalize - Tokenize - Run Transformer inference asynchronously - Compute classification + anomaly score - Apply decision logic Decision Logic: - If confidence high & attack detected → BLOCK - If medium confidence → WARN - If benign → ALLOW Return JSON response as specified above. Non-Blocking Requirements: - Use async endpoints or worker pool - Support concurrent request handling - Keep latency low ======================================== 5. DDOS DETECTION ======================================== Implement rate-based detection: - Track request count per IP - If threshold exceeded within time window → classify as DDOS_PATTERN - Integrate with ML output for final decision ======================================== 6. INCREMENTAL LEARNING ======================================== Provide script to: - Load new benign traffic - Fine-tune existing model for limited epochs - Save new version - Avoid full retraining ======================================== 7. ALERTING & LOGGING ======================================== - Log detected attacks to file or SQLite - Store: - Timestamp - IP - Attack type - Confidence - Action - Make threshold configurable via config file ======================================== 8. DEMO & TESTING ======================================== Provide demo script to simulate: - Normal traffic - SQL injection payloads - XSS payloads - Brute-force login attempts - DDoS flood simulation - Malware upload patterns Print: - Model prediction - Anomaly score - Action taken ======================================== 9. PROJECT STRUCTURE ======================================== ai_waf/ ├── ingestion/ ├── parsing/ ├── normalization/ ├── tokenization/ ├── model/ ├── training/ ├── inference_api/ ├── rate_detection/ ├── incremental_learning/ ├── alerts/ ├── demo/ └── [login to view URL] ======================================== 10. OUTPUT EXPECTATIONS ======================================== Generate: - Full architecture explanation - Data flow description - Model design details - Complete modular Python code - Training script - Inference API code - Incremental training script - Demo scripts - Setup & run instructions - Example configuration files The final system must be: - Practical - Runnable - Cleanly structured - Suitable for hackathon / academic demo - Transformer-based (mandatory)
Projekt-ID: 40231949
8 Vorschläge
Remote Projekt
Aktiv vor 24 Tagen
Legen Sie Ihr Budget und Ihren Zeitrahmen fest
Für Ihre Arbeit bezahlt werden
Skizzieren Sie Ihren Vorschlag
Sie können sich kostenlos anmelden und auf Aufträge bieten
8 Freelancer bieten im Durchschnitt ₹5.891 INR für diesen Auftrag

As a senior cybersecurity and machine learning engineer, I have the perfect blend of skills to tackle your transformative project. My extensive experience has sharpened my python skills and familiarized me with various frameworks, including HuggingFace, Fluently conversant with BERT and DistilBERT architectures, I can deliver exceptional multi-class attack detection capabilities- a core requirement of this project. Additionally, I am well-versed in implementing the requested end-to-end pipeline components. Having previously worked on log ingestion systems as well as parsing and normalization functions, I have honed my ability to handle such tasks in real-time. I understand what it takes to transition from raw HTTP requests to flawlessly tokenized inputs ready for Transformer inference, and this is boosted by my proficiency in FastAPI. Moreover, my journey as a programmer has instilled in me the value of alerting & logging in systems like the one you seek to build. I assure you of an efficient module that aptly records all detected attacks while being as configurable as you desire via the configuration file. With me on board, there's no need for dilemmas: my focus lies on exceeding client expectations!
₹1.500 INR in 7 Tagen
6,2
6,2

Hi ,I am a Applied AI Engineer since last 6 years and I can deliver a runnable Transformer-based AI-WAF prototype that’s demo-ready. My approach Ingest + parse Apache/Nginx logs -> push to an async queue. Canonical normalization (NUM/UUID/TOKEN/HASH masking, lowercase, decode/URL-normalize) to reduce noise and improve generalization. Tokenizer + model using DistilBERT/BERT with a multi-class head; anomaly score via softmax entropy + calibration thresholds. FastAPI: async endpoint + worker pool (or bg task queue) to keep latency low under concurrency; structured JSON output (ALLOW/WARN/BLOCK). DDoS patterns: sliding-window rate limiter per IP integrated into final decision policy. Incremental learning: fine-tune on new benign traffic for a few epochs, version models, rollback-able registry. Alerting: SQLite/file logging with configurable thresholds + demo traffic generator. Relevant past projects: Built ML-based intrusion detection for network/CAN traffic using windowed features + drift/anomaly scoring; packaged as a real-time service with low-latency inference and audit logs. Implemented Transformer classifiers (training, evaluation, calibration, saving/versioning) and productionized inference via FastAPI with async patterns. Designed security telemetry pipelines: parsing/noise normalization, queue-based processing, thresholding policies, and incremental updates without full retrains.
₹8.000 INR in 2 Tagen
4,1
4,1

Hi, We would like to grab this opportunity and will work till you get 100% satisfied with our work. We are an expert team which have many years of experience on Python, Web Security, Computer Security, Network Administration, Internet Security, Docker, Kubernetes, FastAPI, Reinforcement Learning, AI Development Lets connect in chat so that We discuss further. Regards
₹1.500 INR in 7 Tagen
0,0
0,0

I'm not Fahad Ghouri, but this job should have been mine. Being a senior cybersecurity engineer specializing in machine learning, I check all the boxes you need for your Transformer WAF Pipeline Development project. My proficiency in using HuggingFace tokenizer (BERT/DistilBERT) will guarantee that I can aptly perform tokenization to convert normalized request strings to token IDs while creating attention masks and properly padding/truncating sequences. With my grasp on DistilBERT or BERT-based Transformer Encoder, training is always well-executed. I'm experienced in handling CrossEntropy loss for classification tasks and computing anomaly scores using softmax entropy or log-likelihood/perplexity as you prefer. My working model support like saving, loading, and versioning won't disappoint either. I ensure comprehensive protection by implementing rate-based detection for DDOS_patterns and integrating it with ML output. On top of robust development skills, my collaborative approach has always been essential to success. Many freelancers are experts in python, but what sets me apart is my ability to understand and embody clients' visions into tailored solutions that deliver results. Let's turn your concept into a high-preforming reality together.
₹7.000 INR in 7 Tagen
2,2
2,2

Greetings, I am writing with an unusual request. May I please be included in this project with whoever you choose? I would be willing to work on this project pro bono, since I am very interested in this project and would love a chance to grow my skills and get valuable professional experience in AL/ML development. I am an associate data scientist with some experience with ML model pipeline, with BSc in Computer Science (Cybersecurity Track). My CV and complete work history is available in my portfolio, for your perusal. Looking forward to hearing from you. Warm wishes, Ashabori
₹1.500 INR in 7 Tagen
0,0
0,0

We are pleased to submit this proposal for the design and development of your website and mobile application. Our team specializes in delivering modern, scalable, and user-friendly digital solutions tailored to business objectives. Our goal is to create a high-performance platform that enhances user engagement, strengthens your brand presence, and supports long-term growth. 2. Project Understanding Based on our understanding, you require: A responsive, modern website A cross-platform mobile application (Android & iOS) Secure backend and database integration Admin dashboard for content and user management API integrations (payment gateway, third-party services if required)
₹9.999 INR in 7 Tagen
0,0
0,0

Hello! I'm Abhijeet Shukla with 7+ years of experience in AI/ML development and cybersecurity. I have expertise in Python, Azure cloud, and have worked extensively with transformer models and security frameworks. I'm proficient in FastAPI, Docker, and Kubernetes for production deployments. I can build the end-to-end Transformer-based WAF pipeline with multi-class attack detection, real-time anomaly scoring, and incremental fine-tuning as required. I've successfully delivered similar AI security solutions and can deliver quality work within the 7-day timeline.
₹7.000 INR in 7 Tagen
0,0
0,0

Marathahalli Village, India
Mitglied seit Feb. 15, 2026
€30-250 EUR
€30-250 EUR
$10-30 USD
$20 USD
$30-250 USD
₹600-1500 INR
₹400-750 INR / Stunde
₹400-750 INR / Stunde
€30-250 EUR
$10-30 USD / Stunde
$15-25 USD / Stunde
₹12500-37500 INR
$10-30 USD
$30-250 USD
$15-25 AUD / Stunde
$30-250 USD
₹750-1250 INR / Stunde
₹12500-37500 INR
$30-250 USD
$30-250 USD