Scan Report
This report was generated in Chinese. Some content may be in Chinese.
20 /100
slide-editor
Visual editor for HTML presentations. Self-contained, offline-capable, designed for AI agent control.
Slide Editor 是一个合法的 HTML 演示文稿可视化编辑器,核心功能清晰。唯一风险点是文档中建议使用 curl|bash 安装 bun,这是安装工具的标准方式(非恶意行为)。代码本身无恶意行为。
Safe to install
可信任使用。建议:1) 使用官方包管理器安装 bun 而非 curl|bash;2) 代码本身无需修改。
Findings 1 items
| Severity | Finding | Location |
|---|---|---|
| Low | 文档中的 curl|bash 安装建议 Doc Mismatch | SKILL.md:23 |
| Resource | Declared | Inferred | Status | Evidence |
|---|---|---|---|---|
| Filesystem | NONE | READ+WRITE | ✓ Aligned | inject.ts:56-61 读取并写入 HTML 文件 |
| Shell | NONE | READ | ✓ Aligned | inject.ts:149-164 仅用于打开浏览器,非任意命令执行 |
| Network | NONE | NONE | — | 代码无网络请求,仅 bun.sh/install 作为文档参考 |
| Browser | NONE | WRITE | ✓ Aligned | inject.ts:149-164 通过 open/xdg-open/start 打开浏览器用于预览 |
1 Critical 2 findings
Critical Dangerous Command 危险 Shell 命令
curl -fsSL https://bun.sh/install | bash SKILL.md:23 Medium External URL 外部 URL
https://bun.sh/install SKILL.md:23 File Tree
27 files · 479.7 KB · 8614 lines HTML 5f · 4020L
TypeScript 18f · 4003L
Markdown 2f · 523L
JSON 2f · 68L
├─
▾
src
│ ├─
▾
components
│ │ ├─
index.ts
TypeScript
│ │ ├─
PropertiesPanel.ts
TypeScript
│ │ ├─
SlideNavigator.ts
TypeScript
│ │ └─
Toolbar.ts
TypeScript
│ ├─
▾
core
│ │ ├─
DragManager.ts
TypeScript
│ │ ├─
HistoryManager.ts
TypeScript
│ │ ├─
index.ts
TypeScript
│ │ ├─
ResizeManager.ts
TypeScript
│ │ ├─
SelectionManager.ts
TypeScript
│ │ └─
TextEditor.ts
TypeScript
│ ├─
▾
i18n
│ │ └─
index.ts
TypeScript
│ ├─
▾
serialization
│ │ ├─
Exporter.ts
TypeScript
│ │ └─
index.ts
TypeScript
│ ├─
i18n.ts
TypeScript
│ ├─
index.ts
TypeScript
│ ├─
styles.ts
TypeScript
│ └─
types.ts
TypeScript
├─
▾
test
│ ├─
clean-test.html
HTML
│ ├─
debug.html
HTML
│ ├─
presentation-clean.html
HTML
│ ├─
presentation-debug.html
HTML
│ └─
presentation.html
HTML
├─
inject.ts
TypeScript
├─
package.json
JSON
├─
README.md
Markdown
├─
SKILL.md
Markdown
└─
tsconfig.json
JSON
Dependencies 4 items
| Package | Version | Source | Known Vulns | Notes |
|---|---|---|---|---|
esbuild | ^0.20.0 | devDependency | No | 版本锁定 |
typescript | ^5.4.0 | devDependency | No | 版本锁定 |
puppeteer | ^24.39.1 | devDependency | No | 版本锁定 |
@types/node | ^20.0.0 | devDependency | No | 版本锁定 |
Security Positives
✓ 代码结构清晰,功能单一明确(HTML 编辑器注入)
✓ 无凭证收割、环境变量遍历或敏感路径访问
✓ 无外部网络通信代码
✓ 无混淆、编码或反分析技术
✓ 无持久化或后门机制
✓ 依赖声明完整(esbuild、typescript)
✓ inject.ts 的 execSync 仅用于打开浏览器,范围受限