Back to skill

Security audit

seedance2.0开源版

Security checks for vulnerabilities and agentic risk

Overview

This video generator can expose your API key to an unchecked video-download server.

Wait for a fix that downloads through a separate session without API credentials and validates HTTPS destinations and redirects. Prompts and reference-image URLs are sent to RedFox for hosted processing, so submit only content you are authorized to share. Protect any saved credential file. If you already used the skill, consider rotating the key because downloads may have exposed it. Service-side data handling and actual download hosts remain unverified.

Vulnerability Patterns
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
Findings (1)

T09 · Insecure Skill Coding Practices

Warning
Location
scripts/videogen.py
Finding

API credentials are forwarded to video-download hosts

Content
View full analysis

Impact

A separate download host can obtain the user's RedFox API key and potentially use the API privileges or account balance associated with it. This does not require local account compromise or execution of downloaded content.

Vulnerability Patterns
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • Rogue AgentSelf-Modification, Session Persistence
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
Findings (4)

Video-generation instructions omit a privacy warning about sending prompts and reference-image URLs to an external service.

Medium
Category
Output Handling
Confidence
91% confidence
Finding

The usage guide directs users to provide scene descriptions and reference images for externally processed video-generation tasks, but never explicitly warns that this input is transmitted to a third-party service. The API-key security section addresses credential handling, not disclosure of potentially sensitive prompt or image data.

Content

No source excerpt is available for this finding.

The usage instructions do not disclose that video prompts and supplied image URLs are transmitted to an external service.

Medium
Category
Output Handling
Confidence
90% confidence
Finding

The workflow instructs users to submit descriptions and reference images for hosted video generation, but does not clearly warn that these inputs leave the user's environment. The API-key safety section addresses credential handling, not the privacy implications of submitting potentially sensitive prompts or image URLs.

Content

No source excerpt is available for this finding.

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: env, file_read, network.

Medium
Category
MCP Least Privilege
Confidence
70% confidence
Finding

Without declared permissions the skill's intent is opaque and cannot be validated.

Content

No source excerpt is available for this finding.

Session Persistence

Medium
Category
Rogue Agent
Confidence
60% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

Scanner excerpt · SKILL.md (reported line 171)May include surrounding context.

md
|----------|------|------|
| **环境变量**(推荐) | 设置一次,全局生效 | `export REDFOX_API_KEY=ak_你的密钥` |
| **命令行参数** | 临时使用,单次生效 | `python3 "$SKILL_PATH/scripts/videogen.py" "prompt" --api-key ak_你的密钥` |
| **配置文件** | 持久化存储,跨会话保留 | `mkdir -p ~/.qoder/apis && echo '{"api_key":"ak_你的密钥"}' > ~/.qoder/apis/redfox.json` |

---