VulScan MCP🛡️
直接在VS代码中扫描您的依赖项以查找安全漏洞(CVE)
询问副驾驶: *“检查漏洞”* → 获取带有修复说明的即时CVE报告。
______________________________________________________________________
快速开始
- 安装: 在VS代码扩展中搜索“VulScan MCP”
- 要求: 已安装Python 3.11+(下载)
- 用途: 询问副驾驶:
"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
______________________________________________________________________
开发者信息
# 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许可证 | 报告问题
