Back to skill

Security audit

Wjs Syncing Multicam

Security checks for vulnerabilities and agentic risk

Overview

This skill aligns media files by reading user-provided recordings and writing sync metadata sidecars, with no evidence of credential access, network use, persistence, destructive behavior, or hidden exfiltration.

Install only if you are comfortable letting the skill read the media files you choose, run local ffmpeg/ffprobe on them, and create or update .sync.json files beside those recordings. The documentation has one stale contradictory line about _synced.MOV output, but the inspected scripts do not generate re-encoded video files.

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
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
Findings (9)

Description-Behavior Mismatch

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

The documentation promises sidecar-only behavior but explicitly admits the current implementation still emits _synced.MOV files. That mismatch is dangerous because users and orchestrators may approve the skill under a non-destructive mental model while it actually performs large write operations and re-encoding, creating integrity, storage, and privacy exposure on local media.

Content

No source excerpt is available for this finding.

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
91% confidence
Finding

The skill describes behaviors that imply file read, file write, and shell execution, but it declares no explicit tool scope or permission boundaries. In an agent environment, that increases the chance the skill can be invoked with broader-than-necessary capabilities, enabling unintended filesystem access or command execution beyond the user's expectation.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The file repeatedly states that originals are never modified or re-encoded, yet elsewhere says the script still produces synced media files. Contradictory operational claims are a security-relevant issue because they undermine informed consent and can cause downstream automation to trust the skill with assumptions about non-destructive behavior that are false.

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/sync.py (reported line 30)May include surrounding context.

python
"-map", "0:a:0", "-ac", "1", "-ar", str(SR),
        "-f", "s16le", str(dst),
    ]
    subprocess.run(cmd, check=True, stderr=subprocess.DEVNULL)


def envelope(x: np.ndarray, sr: int = SR, hop_ms: int = 10, win_ms: int = ENV_WIN_MS):

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/verify.py (reported line 37)May include surrounding context.

python
"-map", "0:a:0", "-ac", "1", "-ar", str(SR),
        "-f", "s16le", str(dst),
    ]
    subprocess.run(cmd, check=True, stderr=subprocess.DEVNULL)


def envelope(x: np.ndarray, sr: int = SR, hop_ms: int = 10, win_ms: int = ENV_WIN_MS):

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/sync.py (reported line 107)May include surrounding context.

python
def media_duration(path: Path) -> float:
    out = subprocess.run(
        ["ffprobe", "-v", "error", "-show_entries", "format=duration",
         "-of", "default=nw=1:nk=1", str(path)],
        check=True, capture_output=True, text=True,

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/sync_partial.py (reported line 24)May include surrounding context.

python
def extract(video, dst):
    subprocess.run(["ffmpeg", "-nostdin", "-y", "-i", str(video),
                    "-map", "0:a:0", "-ac", "1", "-ar", str(SR),
                    "-f", "s16le", str(dst)], check=True, stderr=subprocess.DEVNULL)

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/sync_partial.py (reported line 52)May include surrounding context.

python
def media_dur(p):
    out = subprocess.run(["ffprobe", "-v", "error", "-show_entries", "format=duration",
                          "-of", "default=nw=1:nk=1", str(p)], check=True,
                         capture_output=True, text=True)
    return float(out.stdout.strip())

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
89% confidence
Finding

The skill emphasizes that originals are untouched, but it does not clearly foreground that .sync.json files are written beside every input and later updated during verification. In security terms this is a transparency and surprise-write issue: users may run the skill in sensitive directories without realizing metadata files will be created or modified there.

Content

No source excerpt is available for this finding.