T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:39- Finding
Mandatory Unpinned Repository Update Before Local Script Execution
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The slide generator mostly matches its purpose, but it automatically updates and runs local code, can accidentally embed local files into decks, and includes an unrelated Sonos-control skill.
Review before installing. The slide-generation parts are understandable, but remove or require confirmation for the automatic `git pull`, avoid processing untrusted existing HTML, fix asset path validation and HTML escaping, and remove the bundled Sonos skill unless you intentionally want separate speaker-control capability.
SKILL.md:39Mandatory Unpinned Repository Update Before Local Script Execution
scripts/inline-images.py:19Arbitrary Local File Disclosure Through Unrestricted Image Inlining
scripts/apply-template-branding.py:131Persistent HTML and JavaScript Injection Through Unescaped Presentation Metadata
skills/sonoscli/SKILL.md:2Unrelated Mutable Sonos CLI Dependency Introduces Supply-Chain and LAN-Control Risk
声明的技能定位是内容生成/排版:把输入材料制作成企业级 HTML 演示文稿。而代码的实际功能是一个后处理工具,仅对现有 HTML 文件中的图片引用进行内联,属于资源打包与依赖消除。两者主目的明显不同:代码既不生成演示文稿,也不改进结构设计,只是修改 img/src 资源引用并覆盖写回文件。此外,代码依赖命令行参数指定 HTML 文件,这种实际触发方式也未反映在声明中。因此这是明显的描述与行为不一致。
声明描述的核心能力是内容生成/转换:把输入材料制作成企业级 HTML 演示文稿。但实际提供的代码只是一个 preview.sh 辅助脚本,用 python3 -m http.server 在本地端口提供静态文件服务,用于预览或访问现有文件。代码中没有任何解析想法、大纲、文档或草稿、生成演示文稿、设计版式或输出 HTML 幻灯片的逻辑。因此其主要行为与声明的主要用途不一致,构成明显不匹配。
声明的用途是“生成/制作企业级 HTML 演示文稿”,但提供的代码并不生成、转换或设计任何演示内容。它只是接收一个现有 HTML 文件路径,并对文件内容做 grep 规则检查与本地资源存在性验证,属于验证/测试工具而非内容生成工具。虽然它与 HTML 演示文稿领域相关,但其主要功能与描述存在实质性偏差,因此应判定为不匹配。
Referenced artifact was not completely inspected
读取 [themes/_index.md](themes/_index.md),从用户请求提取公司关键词,优先级从高到低:
Referenced artifact was not completely inspected
读取 [themes/_index.md](themes/_index.md),从用户请求提取公司关键词,优先级从高到低:
Referenced artifact was not completely inspected
读取 [themes/_index.md](themes/_index.md),从用户请求提取公司关键词,优先级从高到低:
Referenced artifact was not completely inspected
11. **组件库是起点,不是边界** — `components.md` 提供的是高频可复用参考,不是完整上限;当主题更适合地图、时间带、关系网、年表、分镜、注释图、海报式大字、档案卡、实物标注、时间切片、城市剖面等表达时,应优先为内容发明更合适的新组件。
Referenced artifact was not completely inspected
11. **组件库是起点,不是边界** — `components.md` 提供的是高频可复用参考,不是完整上限;当主题更适合地图、时间带、关系网、年表、分镜、注释图、海报式大字、档案卡、实物标注、时间切片、城市剖面等表达时,应优先为内容发明更合适的新组件。
Referenced artifact was not completely inspected
11. **组件库是起点,不是边界** — `components.md` 提供的是高频可复用参考,不是完整上限;当主题更适合地图、时间带、关系网、年表、分镜、注释图、海报式大字、档案卡、实物标注、时间切片、城市剖面等表达时,应优先为内容发明更合适的新组件。
Referenced artifact was not completely inspected
11. **组件库是起点,不是边界** — `components.md` 提供的是高频可复用参考,不是完整上限;当主题更适合地图、时间带、关系网、年表、分镜、注释图、海报式大字、档案卡、实物标注、时间切片、城市剖面等表达时,应优先为内容发明更合适的新组件。
Referenced artifact was not completely inspected
11. **组件库是起点,不是边界** — `components.md` 提供的是高频可复用参考,不是完整上限;当主题更适合地图、时间带、关系网、年表、分镜、注释图、海报式大字、档案卡、实物标注、时间切片、城市剖面等表达时,应优先为内容发明更合适的新组件。
Referenced artifact was not completely inspected
11. **组件库是起点,不是边界** — `components.md` 提供的是高频可复用参考,不是完整上限;当主题更适合地图、时间带、关系网、年表、分镜、注释图、海报式大字、档案卡、实物标注、时间切片、城市剖面等表达时,应优先为内容发明更合适的新组件。
Referenced artifact was not completely inspected
- 禁止直接编辑 `template.html` 本身
Referenced artifact was not completely inspected
- 禁止直接编辑 `template.html` 本身
Referenced artifact was not completely inspected
- 禁止直接编辑 `template.html` 本身
Referenced artifact was not completely inspected
- 禁止直接编辑 `template.html` 本身
Referenced artifact was not completely inspected
- **`icons.md`**(含图标槽时按需 Grep)— 中文主题 → 英文图标名参考:
Referenced artifact was not completely inspected
- **`icons.md`**(含图标槽时按需 Grep)— 中文主题 → 英文图标名参考:
Referenced artifact was not completely inspected
python3 scripts/apply-template-branding.py [文件名].html \
Referenced artifact was not completely inspected
python3 scripts/inline-images.py [文件名].html
Referenced artifact was not completely inspected
python3 scripts/inline-images.py [文件名].html
Referenced artifact was not completely inspected
./scripts/smoke-test.sh [文件名].html
Referenced artifact was not completely inspected
./scripts/smoke-test.sh [文件名].html
Referenced artifact was not completely inspected
| [examples/index.html](examples/index.html) | 完整示例文档 | 需要查阅组件骨架时 |
Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
<!-- 两列等宽 -->
<div class="two-col">
<!-- 左列内容 -->
<!-- 右列内容 -->