Back to skill

Security audit

short-video-content-replicator

Security checks for vulnerabilities and agentic risk

Overview

The skill is a disclosed short-video download and transcription workflow, but users should be aware it writes local media/text outputs and depends on other local scripts/skills.

Install only if you intend to process Douyin/Bilibili or local media into audio and text artifacts. Expect network downloads, local output folders, and Chinese-first transcription behavior; review the required sibling skills/scripts and choose a non-sensitive output directory before running.

Vulnerability Patterns
  • 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
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Behavioral ASTexec() Call, eval() Call, Dynamic Import
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
Findings (11)

Credential Access

High
Category
Privilege Escalation
Confidence
60% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · .gitignore (reported line 29)May include surrounding context.

text
venv/
ENV/
env/
.env

# Logs
logs/*.log

Tp4

High
Category
MCP Tool Poisoning
Confidence
95% confidence
Finding

A description-behavior mismatch is security-relevant because users and orchestrators may authorize the skill for one workflow while the implementation actually invokes different components or fails to enforce the claimed end-to-end data flow. In this context, the skill handles external URLs, local filesystem paths, and multiple script handoffs, so inaccurate declarations can conceal unexpected processing, data placement, or execution behavior.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The README promotes a one-click workflow that downloads videos, extracts audio, and writes multiple derived artifacts such as MP3s, vocals, transcripts, corrected text, and final text to disk, but it does not clearly warn users up front about these persistent side effects. In a chat-triggered agent context, this can cause unexpected local storage use, privacy exposure, and inadvertent retention of copyrighted or sensitive content, especially when processing user-supplied URLs or local media folders.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill description states that transcription and correction are Chinese-first and presents Chinese text processing as the default behavior without any visible language selection or opt-in. This is risky because users may unknowingly process non-Chinese content with the wrong models, causing inaccurate transcripts, corruption of outputs, and possible mishandling of multilingual or sensitive material.

Content

No source excerpt is available for this finding.

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
89% confidence
Finding

The skill advertises executable workflow steps that invoke Python CLI scripts and therefore has shell/code-execution capability, but it declares no explicit tool scope or allowed-tools boundary. In a composite skill that downloads external content and writes files, missing capability scoping increases the chance of unintended command execution paths or over-broad agent permissions.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

Overly broad trigger phrases can cause the skill to activate on ordinary user language, leading to unintended downloading of external videos, processing of local media, and filesystem writes. Because this skill performs a multi-step automated pipeline with external inputs, accidental invocation materially increases operational and privacy risk.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The skill performs network retrieval of third-party video content and writes outputs into local directories, but the description does not clearly warn the user about these side effects. Without transparent notice and confirmation, users may unknowingly authorize external-content handling, storage of derived artifacts, or processing of sensitive local files.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
98% confidence
Finding

The top-level documentation names a different skill entirely, while the rest of the file implements a six-step short-video content replication pipeline. This is an active documentation contradiction, not just missing detail, and can mislead reviewers or orchestrators about the skill's true intent.

Content

No source excerpt is available for this finding.

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
70% confidence
Finding

subprocess module calls execute external commands. Without careful input validation, this enables command injection.

Content

Scanner excerpt · scripts/replicate.py (reported line 22)May include surrounding context.

python
"""统一执行子脚本,带友好日志、错误捕获和输出显示"""
    try:
        console.print(f"\n[bold cyan]▶ Step {step_name}[/bold cyan]")
        result = subprocess.run(
            cmd,
            check=True,
            capture_output=True,

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The workflow hard-codes the transcription language to "zh" when invoking the audio transcription step. This enforces a specific language/locale behavior without offering the user a choice or documenting a justified region-specific restriction, which matches the policy-violation criteria.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
77% confidence
Finding

The activation description and trigger phrases are entirely specified in Chinese, and the workflow centers on Chinese-language phrasing without stating whether other user languages are supported. This can constitute a language policy issue when a skill implicitly requires a specific language without opt-in or an explicit locale justification.

Content

No source excerpt is available for this finding.