Rishikahj/AI-threat-intelligence-platform
GitHub: Rishikahj/AI-threat-intelligence-platform
基于 FastAPI 的威胁情报管理平台原型,支持 IOC 上传分析、AI 风险评分和仪表板摘要展示。
Stars: 0 | Forks: 0
# 🛡️ 集中式 AI 威胁情报平台
一个基于 FastAPI 的威胁情报系统,用于分析失陷指标 (IOC),分配风险评分,并提供用于安全监控的集中式仪表板。
## 🚀 功能特性
* 🔍 上传并分析 IOC
* 🧠 基于 AI 的威胁评分逻辑
* 📊 实时仪表板摘要
* ⚡ FastAPI 后端及交互式 Swagger UI
* 🗂 清晰且模块化的项目结构
## 🏗️ 技术栈
* **后端:** FastAPI (Python)
* **服务器:** Uvicorn
* **API 测试:** Swagger UI
* **版本控制:** Git & GitHub
## 📁 项目结构
```
centralized-ai-threat-intelligence/
│
├── backend/
│ └── main.py
│
├── frontend/
├── docs/
├── requirements.txt
└── README.md
```
## ⚙️ 设置说明
### 1️⃣ 克隆仓库
```
git clone https://github.com/Rishikahj/AI-threat-intelligence-platform.git
cd centralized-ai-threat-intelligence
```
### 2️⃣ 创建虚拟环境
```
python -m venv venv
```
**激活 (Windows):**
```
venv\Scripts\activate
```
**激活 (Mac/Linux):**
```
source venv/bin/activate
```
### 3️⃣ 安装依赖
```
pip install -r requirements.txt
```
### 4️⃣ 运行服务器
```
uvicorn backend.main:app --reload
```
## 📡 API 文档
运行服务器后,请访问:
```
http://127.0.0.1:8000/docs
```
### 可用端点
* `GET /` → 健康检查
* `POST /upload-ioc` → 上传并分析 IOC
* `GET /iocs` → 获取已存储的 IOC
* `GET /dashboard-summary` → 查看威胁仪表板摘要
## 🧪 示例 IOC Payload
```
{
"ioc_value": "5.5.5.5",
"ioc_type": "ip",
"threat_type": "malware",
"confidence": "high"
}
```
## 🎯 未来改进
* 🔐 数据库集成 (PostgreSQL/MongoDB)
* 🤖 高级的基于 ML 的威胁评分
* 📈 交互式前端仪表板
* 🌐 外部威胁情报源集成
标签:AI 安全, AMSI绕过, AV绕过, DAST, FastAPI, IOC 分析, Python, REST API, Swagger UI, Uvicorn, 人工智能, 后端开发, 威胁关联, 威胁情报, 威胁检测, 安全分析平台, 安全运营, 实时仪表盘, 开发者工具, 恶意软件分析, 扫描框架, 攻击指标, 数据摄取, 无后门, 用户模式Hook绕过, 结构化查询, 网络安全, 自动化安全, 逆向工具, 隐私保护, 风险评分