{"id":30221634,"url":"https://github.com/sajalkmr/llm-network-analysis","last_synced_at":"2025-08-14T10:12:51.416Z","repository":{"id":294661058,"uuid":"987679253","full_name":"sajalkmr/LLM-network-analysis","owner":"sajalkmr","description":"Network Traffic Analysis using LLMs","archived":false,"fork":false,"pushed_at":"2025-06-18T22:30:33.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-18T23:27:28.698Z","etag":null,"topics":["cybersecurity","llm","network-analysis","traffic-analysis"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sajalkmr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2025-05-21T12:30:55.000Z","updated_at":"2025-06-18T22:30:37.000Z","dependencies_parsed_at":"2025-05-21T13:54:13.218Z","dependency_job_id":"9f9a7399-4ef5-4971-9a26-5726717308e8","html_url":"https://github.com/sajalkmr/LLM-network-analysis","commit_stats":null,"previous_names":["sajalkmr/llm-network-analysis"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sajalkmr/LLM-network-analysis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sajalkmr%2FLLM-network-analysis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sajalkmr%2FLLM-network-analysis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sajalkmr%2FLLM-network-analysis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sajalkmr%2FLLM-network-analysis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sajalkmr","download_url":"https://codeload.github.com/sajalkmr/LLM-network-analysis/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sajalkmr%2FLLM-network-analysis/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270401697,"owners_count":24577279,"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","status":"online","status_checked_at":"2025-08-14T02:00:10.309Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["cybersecurity","llm","network-analysis","traffic-analysis"],"created_at":"2025-08-14T10:12:44.124Z","updated_at":"2025-08-14T10:12:51.370Z","avatar_url":"https://github.com/sajalkmr.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LLM-based Network Traffic Analysis System\n\nAn advanced Intrusion Detection System (IDS) that leverages Large Language Models (LLMs) to enhance network security. This project integrates LangChain with the UNSW-NB15 dataset, using HuggingFace Embeddings and Chroma for efficient vector storage and retrieval. The system demonstrates superior threat detection capabilities compared to traditional ML models.\n\n## Key Features\n\n- LLM-powered network traffic analysis and intrusion detection\n- LangChain integration for real-world data processing\n- Vector storage using HuggingFace Embeddings and Chroma\n- Baseline comparison with traditional ML models\n- Real-time network traffic simulation capabilities\n- Flexible deployment options (API-based or on-premise)\n\n## Outcomes\n\n- Improved threat detection accuracy over traditional ML models\n- Enhanced contextual understanding of attack patterns\n- Real-time traffic analysis capabilities\n- Efficient data retrieval and processing\n- Scalable deployment options for different organizations\n\n## Prerequisites\n\n- Python 3.8+\n- Google API Key for Gemini LLM\n- Required Python packages (see requirements.txt)\n\n## Quick Start\n\n1. Clone and install:\n```bash\ngit clone https://github.com/sajalkmr/LLM-network-analysis.git\ncd LLM-network-analysis\npip install -r requirements.txt\n```\n\n2. Configure API Key:\n   - Add to `.streamlit/secrets.toml`: `GOOGLE_API_KEY = \"your-api-key-here\"`\n   - Or set environment variable: `GOOGLE_API_KEY`\n\n3. Build database and run:\n```bash\npython3 build_chroma_db.py\nstreamlit run app.py\n```\n\n## Project Structure\n\n- `app.py`: Main Streamlit application\n- `build_chroma_db.py`: Vector database builder\n- `requirements.txt`: Dependencies\n- `chroma_db/`: Vector database (git-ignored)\n- `.streamlit/`: Configuration and secrets\n\n## License\n\nMIT License \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsajalkmr%2Fllm-network-analysis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsajalkmr%2Fllm-network-analysis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsajalkmr%2Fllm-network-analysis/lists"}