Scan Report
5 /100
defender2
NPM恶意软件检测 - 扫描npm包和项目检测JavaScript恶意软件和供应链攻击
这是一个合法的 NPM 恶意软件检测工具,代码为防御性质,用于检测供应链攻击和已知恶意模式,未发现恶意行为。
Safe to install
可安全使用。工具功能与声明一致,属于安全审计工具。
Findings 2 items
| Severity | Finding | Location |
|---|---|---|
| Info | SKILL.md 文档可更精确 | SKILL.md:46 |
| Info | 硬编码 IOC 列表用于检测 | scripts/pua.py:70 |
| Resource | Declared | Inferred | Status | Evidence |
|---|---|---|---|---|
| Filesystem | READ | READ | ✓ Aligned | SKILL.md:11 'python pua.py <path>' - 仅读取指定路径文件 |
| Network | NONE | NONE | — | scripts/pua.py:26-32 - 仅硬编码 IOC 列表用于匹配,无实际网络请求 |
| Shell | NONE | NONE | — | 代码中无 subprocess/os.system 调用 |
1 Critical 1 High 2 findings
Critical Encoded Execution Base64 编码执行(代码混淆)
eval(atob( SKILL.md:46 High IP Address 硬编码 IP 地址
140.82.54.223 scripts/pua.py:94 File Tree
2 files · 14.1 KB · 396 lines Python 1f · 346L
Markdown 1f · 50L
├─
▾
scripts
│ └─
pua.py
Python
└─
SKILL.md
Markdown
Security Positives
✓ 纯防御性质的安全审计工具
✓ 无网络请求、无 shell 执行、无文件写入
✓ 代码结构清晰,IOC 列表用于匹配已知威胁
✓ 覆盖多种供应链攻击检测场景(PUA字符、恶意包名、C2地址、危险代码模式)
✓ 工具用途与声明一致,属于合法安全工具