priknowsit/VertexShield
GitHub: priknowsit/VertexShield
VertexShield 是一个基于 Google Cloud 和多智能体架构的企业级安全评估与威胁情报平台,通过自动化流水线完成被动侦察、情报关联、风险评分并生成安全报告。
Stars: 0 | Forks: 0
# VertexShield
VertexShield 是一个基于 Google Cloud Platform、Vertex AI 和现代 React 构建的 **智能体安全评估与威胁情报平台**。它自动化了边界侦察,关联了威胁情报向量,映射了符合 CVSS 标准的风险责任,并使用安全、定制协调的多智能体链生成高管/工程简报。
## 🏗️ 架构拓扑
```
┌────────────────────────────────────────────────────────┐
│ VERTEXSHIELD FRONTEND │
│ (React + Vite + TailwindCSS) │
└──────────────────────────┬─────────────────────────────┘
│ [HTTPS REST Polling]
▼
┌────────────────────────────────────────────────────────┐
│ VERTEXSHIELD EXPRESS API │
│ (NodeJS Server) │
└──────────────────────────┬─────────────────────────────┘
│
┌──────────────────┬───────────────────┼──────────────────┬─────────────────┐
│ (Node 1) │ (Node 2) │ (Node 3) │ (Node 4) │ (Node 5)
▼ ▼ ▼ ▼ ▼
┌───────────┐ ┌───────────┐ ┌───────────┐ ┌───────────┐ ┌───────────┐
│ RECON │ ───> │ INTEL │ ── > │ RISK │ ───> │ RESEARCH │ ──> │ REPORTING │
│ AGENCY │ │ ANALYST │ │ CALCULATOR│ │ DEEP-DIVE│ │ COMPILERS │
└───────────┘ └───────────┘ └───────────┘ └───────────┘ └───────────┘
│ │ │ │ │
└──────────────────┴─────────┬─────────┴──────────────────┴─────────────────┘
│ [Server-Side Chain JSON payload Proxy]
▼
┌────────────────────────────────────────────────────────┐
│ GOOGLE VERTEX AI │
│ (Gemini 3.5 Flash Model Core) │
└────────────────────────────────────────────────────────┘
```
## 🤖 协调式多智能体逻辑
VertexShield 作为一个自我纠正的顺序图运行,利用了 5 个不同的防御智能体节点:
1. **Recon Agent(被动检查器)**:
- *行为*:映射活跃技术、域名 WHOIS 标签、开放的 HTTP 标头披露以及 SSL 签名。
- *安全性*:保持严格的被动状态。绝不发起主动渗透或有状态的漏洞利用。
2. **Intelligence Agent(来源关联器)**:
- *行为*:聚合全球威胁数据库(CVE/CWE 仓库)以映射匹配的漏洞属性。
3. **Risk Analysis Agent(CVSS 评估器)**:
- *行为*:将运营风险量化为标准的 CVSS 可能性和影响比率(0-100 分)。
4. **Research Agent(学术深潜)**:
- *行为*:检查软件依赖项配置偏移并追踪历史系统暴露情况。
5. **Report Agent(修复编译器)**:
- *行为*:将详细的调查结果综合为可执行的高管摘要和逐步缓解计划。
6. **Reviewer Agent(事实核查审计员)**:
- *行为*:根据逻辑标准审计汇总的指标,计算 pipeline 置信度得分(0-100%)并消除潜在的幻觉。
## 💼 开发者规范
### API 矩阵
* `GET /api/stats` - 返回综合遥测图表、总扫描计数和警报分布。
* `GET /api/assessments` - 列出历史评估资产。
* `GET /api/assessments/:id` - 获取详细报告和实时流式日志。
* `POST /api/assessments` - 启动后台多智能体扫描(`{ "target": "domain.com" }`)。
* `DELETE /api/assessments/:id` - 清理数据库记录。
* `GET /api/assessments/:id/export/:format` - 将合规数据下载为 `csv`、`json` 或纯文本高管摘要(`txt`)。
## 🚀 云原生基础设施(Terraform GCP 代码片段)
```
# cloud/main.tf - 为 VertexShield 配置 Cloud Run
provider "google" {
project = var.gcp_project_id
region = var.gcp_region
}
resource "google_secret_manager_secret" "gemini_key" {
secret_id = "gemini-api-key"
replication {
automatic = true
}
}
resource "google_cloud_run_service" "vertexshield" {
name = "vertexshield-platform"
location = var.gcp_region
template {
spec {
containers {
image = "gcr.io/${var.gcp_project_id}/vertexshield:latest"
resources {
limits = {
memory = "1Gi"
cpu = "1000m"
}
}
env {
name = "NODE_ENV"
value = "production"
}
env {
name = "GEMINI_API_KEY"
value_from {
secret_key_ref {
name = google_secret_manager_secret.gemini_key.secret_id
key = "latest"
}
}
}
}
}
}
traffic {
percent = 100
latest_revision = true
}
}
```
标签:AI智能体, DLL 劫持, GitHub, MITM代理, React, Syscalls, 反取证, 大语言模型, 威胁情报, 安全评估, 实时处理, 开发者工具, 自动化攻击