Back to skill

Security audit

Video Text — 画面文字提取与分区分析

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rates the video-text skill benign with high confidence: the completed scan found no AIG issues, and the three contextualized findings are considered expected for its purpose, though they point to areas to review before installing.

The verdict is benign, not risk-free. Before installing, consider whether you are comfortable with the undeclared tool scope and the reported environment and subprocess use; the scan completed with full coverage of the three listed components.

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
  • Behavioral ASTexec() Call, eval() Call, Dynamic Import
  • Taint TrackingDirect Taint Flow, Variable-Mediated Taint Flow, Credential Exfiltration Chain
  • 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 (5)

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

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.

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 · scan.py (reported line 66)May include surrounding context.

python
def probe(path: str) -> dict:
    out = subprocess.run(
        [FP, '-v', 'error', '-select_streams', 'v:0',
         '-show_entries', 'stream=width,height,duration',
         '-show_entries', 'format=duration', '-of', 'json', path],

Tainted flow: 'FP' from os.environ.get (line 56, credential/environment) → subprocess.run (code execution)

Medium
Category
Data Flow
Confidence
65% confidence
Finding

Data from a source is assigned to a variable that is later passed to a sink, creating a variable-mediated taint flow.

Content

Scanner excerpt · scan.py (reported line 66)May include surrounding context.

python
def probe(path: str) -> dict:
    out = subprocess.run(
        [FP, '-v', 'error', '-select_streams', 'v:0',
         '-show_entries', 'stream=width,height,duration',
         '-show_entries', 'format=duration', '-of', 'json', path],

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 · scan.py (reported line 81)May include surrounding context.

python
def grab(path, t, w, h):
    r = subprocess.run(
        [FF, '-v', 'error', '-ss', f'{t:.2f}', '-i', path,
         '-frames:v', '1', '-f', 'rawvideo', '-pix_fmt', 'bgr24', '-'],
        capture_output=True, check=False)

Tainted flow: 'FF' from os.environ.get (line 55, credential/environment) → subprocess.run (code execution)

Medium
Category
Data Flow
Confidence
65% confidence
Finding

Data from a source is assigned to a variable that is later passed to a sink, creating a variable-mediated taint flow.

Content

Scanner excerpt · scan.py (reported line 81)May include surrounding context.

python
def grab(path, t, w, h):
    r = subprocess.run(
        [FF, '-v', 'error', '-ss', f'{t:.2f}', '-i', path,
         '-frames:v', '1', '-f', 'rawvideo', '-pix_fmt', 'bgr24', '-'],
        capture_output=True, check=False)