task-progress-stream
The skill executes arbitrary shell commands through user-controlled input without declaring shell:WRITE capability in SKILL.md, representing a significant undeclared privilege escalation vector.
为什么得出这个结论
2/4 个维度触发发现 2 项声明之外的能力或越权行为。
当前没有明显的高危外联或执行信号。
报告包含 3 步攻击链,另有 2 项高危或严重发现。
没有完整依赖信息,供应链判断需要保留弹性。
攻击链
initialization · scripts/task_progress_stream.js:265
权限提升 · scripts/task_progress_stream.js:285
最终危害 · scripts/task_progress_stream.js:285
风险分是怎么被拉高的
SKILL.md does not declare that arbitrary commands can be executed via --cmd parameter
User-provided --cmd is passed directly to /bin/bash -lc without validation
Skill runs commands in the context of the AI agent's permissions
最关键的证据
Undeclared shell command execution
The skill accepts a --cmd parameter that is passed directly to /bin/bash without any validation or sanitization. This allows execution of arbitrary shell commands, which is not declared in SKILL.md's allowed tools or capability model.
scripts/task_progress_stream.js:285 No command validation or sanitization
The user-supplied command string is executed verbatim through bash -lc without any checks for dangerous operations (pip install, curl|bash, etc.).
scripts/task_progress_stream.js:285 Filesystem write operations not declared
The skill writes status JSON, Markdown, and log files to a configurable outDir but this filesystem:WRITE usage is not documented.
scripts/task_progress_stream.js:234 声明能力 vs 实际能力
scripts/task_progress_stream.js:285 - spawn('/bin/bash', ['-lc', cmd]) scripts/task_progress_stream.js:279-281 - creates outDir and status files openclaw gateway call is local IPC only 可疑产物与外联
没有提取到明显 IOC。
依赖与供应链
没有结构化依赖告警。
文件构成
scripts/task_progress_stream.js