依赖项安全扫描工具

VulScan-MCP是一款VS Code扩展,用于扫描项目依赖项中的安全漏洞(CVEs),支持多种编程语言和平台。

  • by abhishekrai43
  • Python
  • 本地部署
  • 3 星标
  • 更新于
在 GitHub 查看 abhishekrai43/VulScan-MCP

使用说明

VulScan MCP🛡️

直接在VS代码中扫描您的依赖项以查找安全漏洞(CVE)

询问副驾驶: “检查漏洞” → 获取带有修复说明的即时CVE报告。


快速开始

  1. 安装: 在VS代码扩展中搜索“VulScan MCP”
  2. 要求: 已安装Python 3.11+(下载)
  3. 用途: 询问副驾驶: "Check for security vulnerabilities"

就是这样!首次使用时自动安装依赖项。


所得

### 1. lodash @ 4.17.15

#### 📦 Library Affected
- Package: lodash
- Current Version: 4.17.15
- Severity: HIGH

#### 🔍 CVE Details  
- CVE IDs: CVE-2021-23337, CVE-2020-28500
- What is it: Command injection vulnerability allowing attackers to execute arbitrary code

#### ✅ Mitigation Steps
⚠️ WARNING: Version upgrade required. Test in staging first.
1. Update package.json: "lodash": "^4.17.21"
2. Run: npm install
3. Run full test suite
4. Deploy to staging and monitor

支持

语言: JavaScript、TypeScript、Python、Java、Go、Rust、Ruby、PHP、C++。网
来源: NVD(国家漏洞数据库)+OSV(开源漏洞)
平台: Windows、macOS、Linux

它检查什么

✅ 安全漏洞(CVE) -已知的可利用缺陷
❌ 未弃用的软件包 -此工具仅关注CVE

注: 干净的结果意味着没有发现CVE——软件包可能仍然过时,但很安全。


故障排除

找不到Python?
全局安装Python 3.11+,然后重新启动VS Code。

“没有名为'mcp'的模块”错误?

python3 -m pip install --user mcp requests

还有问题吗? 检查日志:

  • 窗户: %TEMP%\vulscan-mcp-debug.log
  • macOS/Linux: /tmp/vulscan-mcp-debug.log

在GitHub上报告问题→


开发者信息

# Clone & run
git clone https://github.com/abhishekrai43/VulScan-MCP.git
cd VulScan-MCP
pip install -r requirements.txt
python -m mcp_server

# Test extension
cd vulscan-mcp-vscode
npm install && npm run compile
# Press F5 in VS Code

许可证和支持

MIT许可证 | 报告问题

内置 模型上下文协议, NVD API, OSV API