T08 · Insecure Dependencies
- Location
SKILL.md:27- Finding
Execution of Unpinned Third-Party Packages and Skill Dependencies
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill is a disclosed educational-video workflow with expected setup and rendering commands, with dependency and language-default cautions but no hidden persistence, credential access, exfiltration, or destructive behavior.
Install only in a disposable or project-specific workspace, review the companion remotion-video-toolkit skill before allowing it, and consider pinning npm package versions before running pnpm create or pnpm add. Expect Chinese defaults unless you specify another voice or language.
SKILL.md:27Execution of Unpinned Third-Party Packages and Skill Dependencies
声明描述的是一个端到端教学视频制作技能,核心能力应包括内容生成、配音、视觉设计、视频代码生成和最终导出。而提供的代码只是一个字幕后处理工具,用于把现有 SRT 时间轴按现有音频总时长进行同步。它不生成教学内容、不生成视频、不处理课程主题,也没有任何 Remotion、视频渲染、画面制作或导出逻辑。虽然“教学视频制作”流程中可能会用到字幕同步作为辅助步骤,但该代码片段的主要用途与声明的主要用途存在明显且实质性的偏差,因此应判定为描述与行为不匹配。
The skill instructs the agent to use shell commands, read local references, and create or modify project files, but it declares no explicit tool scope or permission boundaries. That makes the effective authority ambiguous and can allow broader-than-expected execution if the hosting platform auto-grants shell/file capabilities, increasing the blast radius of mistakes or prompt-injection-driven actions.
The trigger description is broad enough that normal requests about educational or explanatory content could activate a skill that uses shell, file reads, and file writes. Over-broad activation increases the chance of accidental execution in contexts where the user did not intend project creation, environment probing, or command execution.
L021 的环境检查直接要求 grep zh-CN,且后续 L084、L159 默认使用 zh-CN-XiaoxiaoNeural,表现为默认固定中文语音与语言环境。文档没有说明这是用户可选项,也未提供语言/locale 选择机制,构成语言/地区策略风险。
This code file contains user-facing natural language in the module docstring and argument help text that assumes a Chinese locale. The policy calls for flagging language or locale constraints when a specific language is forced without user opt-in, and this script offers no alternative language or selection mechanism.
subprocess module calls execute external commands. Without careful input validation, this enables command injection.
"default=noprint_wrappers=1:nokey=1",
audio_path,
]
result = subprocess.run(cmd, capture_output=True, text=True)
if result.returncode != 0:
raise RuntimeError(f"ffprobe failed: {result.stderr}")
return float(result.stdout.strip())
This markdown file uses Chinese throughout, beginning with the title at L001, and does not indicate that users may choose another language or that the content is intentionally limited to a Chinese-speaking audience. Under the policy rule for language or locale constraints, forcing a single language without opt-in can be a natural-language policy issue.
No suspicious patterns detected.