This skill enables prompt injection against downstream AI,
Claims to do
agent-im 会话(生图 / 生视频): 通过 agent-im 的 OpenAPI 创建会话、发送消息(生图、生视频、编辑视频等)、上传图片/视频文件,并查询会话消息进展。
Actually does
This skill executes Python scripts to interact with the LibTV AI platform. It uses a `LIBTV_ACCESS_KEY` for authentication, uploads local image/video files to an OSS URL, sends messages to `https://im.liblib.tv` for AI generation/editing, queries session progress, and downloads generated media to local directories.
openclaw skills install haofanwang/libtv-skillDeBERTa classifier detected prompt injection (confidence: 1.00)
The skill allows specifying an arbitrary output directory for downloaded files, which could lead to overwriting critical system files or placing malicious executables in sensitive locations.
python3 {baseDir}/scripts/download_results.py SESSION_ID --output-dir ~/Desktop/my_projectThe skill can download content from arbitrary URLs, enabling the download of malicious payloads, potential Server-Side Request Forgery (SSRF), or resource abuse by downloading excessively large files.
python3 {baseDir}/scripts/download_results.py --urls URL1 URL2 URL3 --output-dir ./outputThe skill can upload local files to an external OSS. If an attacker can control the file path, sensitive local files could be exfiltrated, even with file type restrictions.
python3 {baseDir}/scripts/upload_file.py /path/to/image.pngThe skill executes Python scripts with arguments derived from user input (e.g., message content, file paths). Lack of explicit sanitization could allow command injection if user input is directly passed to shell commands within the Python scripts.
python3 {baseDir}/scripts/create_session.py "生一个动漫视频"The skill's core principle is to faithfully relay user prompts to the backend API without modification. This makes the skill a conduit for prompt injection attacks against the downstream LibTV AI system, rather than a direct vulnerability of the skill itself.
把用户的原始描述 + OSS URL 原封不动发给 `create_session.py`
[](https://mondoo.com/ai-agent-security/skills/clawhub/haofanwang/libtv-skill)<a href="https://mondoo.com/ai-agent-security/skills/clawhub/haofanwang/libtv-skill"><img src="https://mondoo.com/ai-agent-security/api/badge/clawhub/haofanwang/libtv-skill.svg" alt="Mondoo Skill Check" /></a>https://mondoo.com/ai-agent-security/api/badge/clawhub/haofanwang/libtv-skill.svgSkills can read files, run commands, and access credentials. Mondoo helps organizations manage the security risks of AI agent skills across their entire fleet.