{"id":19526073,"url":"https://github.com/noobpk/gemini-web-vulnerability-detection","last_synced_at":"2025-04-26T10:31:09.442Z","repository":{"id":190740365,"uuid":"683262764","full_name":"noobpk/gemini-web-vulnerability-detection","owner":"noobpk","description":"Gemini-Web Vulnerability Detection (G-WVD) detecting web application vulnerabilities with deep learning","archived":false,"fork":false,"pushed_at":"2024-05-03T21:06:57.000Z","size":52,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-05-03T22:25:11.104Z","etag":null,"topics":["apache-kafka","apache-spark","artificial-intelligence","big-data-analytics","command-injection","cross-site-scripting","deep-learning","docker-compose","docker-image","kafka","pyspark","sqlinjection","vulnerability-detection"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/noobpk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"noobpk","open_collective":"lethanhphuc","custom":["https://paypal.me/noobpk"]}},"created_at":"2023-08-26T02:39:31.000Z","updated_at":"2024-05-03T22:25:13.305Z","dependencies_parsed_at":"2024-03-05T17:52:51.695Z","dependency_job_id":null,"html_url":"https://github.com/noobpk/gemini-web-vulnerability-detection","commit_stats":null,"previous_names":["noobpk/gemini-predict-serve","noobpk/gemini-web-vulnerability-detection"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noobpk%2Fgemini-web-vulnerability-detection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noobpk%2Fgemini-web-vulnerability-detection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noobpk%2Fgemini-web-vulnerability-detection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noobpk%2Fgemini-web-vulnerability-detection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/noobpk","download_url":"https://codeload.github.com/noobpk/gemini-web-vulnerability-detection/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224032233,"owners_count":17244373,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apache-kafka","apache-spark","artificial-intelligence","big-data-analytics","command-injection","cross-site-scripting","deep-learning","docker-compose","docker-image","kafka","pyspark","sqlinjection","vulnerability-detection"],"created_at":"2024-11-11T01:08:10.039Z","updated_at":"2024-11-11T01:08:10.564Z","avatar_url":"https://github.com/noobpk.png","language":"Python","funding_links":["https://github.com/sponsors/noobpk","https://opencollective.com/lethanhphuc","https://paypal.me/noobpk"],"categories":[],"sub_categories":[],"readme":"# Gemini-Web Vulnerability Detection (G-WVD)\nThis is a Gemini-Web Vulnerability Detection (G-WVD) for detecting web application vulnerabilities used for gemini-self-protector\n\n## Gemini Components\n\n![image](https://github.com/noobpk/gemini-web-vulnerability-detection/assets/31820707/4f38e403-b5f4-40a8-8823-def4353a813f)\n\n👉 G-SP : [gemini-self-protector](https://github.com/noobpk/gemini-self-protector)\n\n👉 G-WVD : [gemini-web-vulnerability-detection](https://github.com/noobpk/gemini-web-vulnerability-detection)\n\n👉 G-BD : [gemini-bigdata](https://github.com/noobpk/gemini-bigdata)\n\n## Web Application Vulnerabilities Detection\n\nThis is a detection method that using combine Convolutional Neural Network (CNN) and a family of Recurrent Neural Network (RNN) to analyze features and relationships in requests from users and predict whether they are vulnerability or not.\n\n## Vulnerabilities Detection\n\n- Cross-Site Scripting\n- SQL Injection\n- Path Traversal (LFI)\n- Command Injection\n- Remote File Inclusion (RFI)\n- Json \u0026 XML Injection\n- HTML5 Injection\n- Server Side Includes (SSI) Injection\n\n## Get this image\n\nDocker image : [gemini-web-vulnerability-detection](https://hub.docker.com/r/noobpk/gemini-web-vulnerability-detection)\n\nObtain the latest G-WVD image by executing the following command:\n\n```\ndocker pull noobpk/gemini-web-vulnerability-detection:latest\n```\n\n## Launching through the Command Line:\nInitiate the G-WVD with the command line using Docker. Choose the appropriate configuration based on your needs:\n\nFor basic usage without Kafka streaming:\n\n```\ndocker run --name g-wvd-serve -p 5000:443 --rm -e AUTH_KEY=your-authen-key gemini-web-vulnerability-detection\n```\n\nIf you have an Apache Kafka server and want to enable streaming:\n\n```\ndocker run --name g-wvd-serve -p 5000:443 --rm  \\\n    -e AUTH_KEY=your-authen-key \\\n    -e ENABLE_KAFKA_STREAMING=True \\\n    -e KAFKA_BOOTSTRAP_SERVER=your-kafka-server \\\n    -e KAFKA_TOPIC=gemini-data-streaming \\\n    -e KAFKA_USERNAME= \\\n    -e KAFKA_PASSWORD= \\\n    -e KAFKA_SECURITY_PROTOCOL=PLAINTEXT \\\n    gemini-web-vulnerability-detection\n```\n\n## Simplified Deployment with Docker Compose\n\nFor an even more streamlined deployment process, Docker Compose provides a user-friendly alternative:\n\n### 1. Download the Docker Compose File:\n\nAcquire the `docker-compose.yml` file from the repository onto your local machine or any system with Docker installed:\n\n```\nwget -O docker-compose.yml https://raw.githubusercontent.com/noobpk/gemini-web-vulnerability-detection/main/docker-compose.yml\n```\n\n### 2. Run the Containers:\n\nNavigate to the directory containing the docker-compose.yml file using your terminal and execute the following command:\n\n```\ndocker-compose up\n```\n\n## Configuration\n\nSetup with the G-WVD Docker image using the following environment variables:\n\n- `AUTH_KEY` : Authentication key for predict API\n- `ENABLE_KAFKA_STREAMING` : Enable send message to kafka. Defaults: False\n- `KAFKA_BOOTSTRAP_SERVER` : Kafka server. Example : localhost:9092\n- `KAFKA_TOPIC` : Kafka topic. Defaults: gemini-data-streaming\n- `KAFKA_USERNAME` : Kafka username\n- `KAFKA_PASSWORD` : Kafka password\n- `KAFKA_SECURITY_PROTOCOL` : Kafka security protocol. Required\n\n## Ping Pong\n```\ncurl --location 'https://127.0.0.1:5000/ping' --insecure \\\n--header 'Authorization: your-authen-key'\n```\n\n## Predict\n\n```\n$ curl --location 'https://127.0.0.1:5000/predict' --insecure \\\n--header 'Authorization: your-authen-key' \\\n--header 'Content-Type: application/json' \\\n--data '{\"data\":\"../../../../etc/passwd\"}'\n```\n\n## More About Repository\nGithub: [gemini-web-vulnerability-detection](https://github.com/noobpk/gemini-web-vulnerability-detection)\n\nImage Issues: [Find or create an issues](https://github.com/noobpk/gemini-web-vulnerability-detection/issues)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoobpk%2Fgemini-web-vulnerability-detection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoobpk%2Fgemini-web-vulnerability-detection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoobpk%2Fgemini-web-vulnerability-detection/lists"}