Back to skill

Security audit

riffsheet

Security checks for vulnerabilities and agentic risk

Overview

ClawScan labels this skill benign with medium confidence: its findings are mostly treated as expected for its purpose, though the review notes unclear tool scope and is incomplete because some referenced paths were not resolved.

The verdict is benign, but it is not a guarantee of safety. Consider that the skill’s tool permissions are not declared, and its scan is marked partial: although all 26 listed components were scanned, some referenced paths were unresolved. Review the requested capabilities and setup instructions before installing.

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
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • Rogue AgentSelf-Modification, Session Persistence
  • Behavioral ASTexec() Call, eval() Call, Dynamic Import
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
Findings (10)

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: env, file_read, 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.

Unbounded Output

Medium
Category
Output Handling
Confidence
60% confidence
Finding

Output size or generation rate is not bounded. Unbounded output enables denial-of-service through resource exhaustion, log flooding, or context-window stuffing.

Content

Scanner excerpt · references/METHOD.md (reported line 46)May include surrounding context.

md
. Leave out a logo, a watermark or a title that stays: beside one, `text` misses more captions that fade in or leave. The box of a command the summary prints shows where to look and is often much taller than the captions. Where the overview shows that it is, or shows something else drawn in it, run the command with the box made shorter, as long as it still holds every caption shown there. The full width is fine unless something else drawn stands beside the captions: then bring that side in too, without cutting the longest line.
- A caption that moves between shots leaves a region at one place only: compare caption positions across the overview and run `text` per position with `--from/--to`. A caption that never changes appears under FIXED LAYERS when the picture behind moves or cuts. In the seconds that block names as `not tested` (less than 85% of the picture changed in them, or the whole video when the test could not run) it may appear in neither list: for a caption the overview show

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 · references/TOOL.md (reported line 16)May include surrounding context.

md
he faster-whisper package and the packages it needs, about 64 MB to download and 207 MB on disk, then about 5 s to install (measured for faster-whisper 1.2.1 on Python 3.9, macOS on Apple silicon; other systems differ somewhat), from the Python Package Index; the model, 486 MB to download once (the same on disk); both need the network, and the download time is the person's connection's; neither sends any audio or video anywhere;
- the commands that prepare it without touching the system Python (create `~/.riffsheet/venv`, install faster-whisper into it, and fetch the model with `transcribe --download` run under that environment's Python), the interpreter to run every riffsheet command with afterwards, and the commands that remove what preparing adds (the environment only when preparing creates it, the model only when preparing downloads it);
- other ways to get a transcript (below, under `transcribe`).
- when this Python cannot make a virtual environment (its `ensurepip` module is miss

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/riffsheet_lib/capabilities.py (reported line 118)May include surrounding context.

python
if not fp:
        problems.append("ffprobe not found on PATH")
    if ff:
        r = subprocess.run([ff, "-hide_banner", "-version"], capture_output=True)
        first = r.stdout.decode("utf-8", "ignore").splitlines()[:1]
        m = re.match(r"ffmpeg version (\S+)", first[0]) if first else None
        out["version"] = m.group(1) if m else None

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/riffsheet_lib/capabilities.py (reported line 126)May include surrounding context.

python
# a build from git reports no release number; it is taken to be recent (as the tool itself does)
        if major and int(major.group(1)) < FFMPEG_MIN_MAJOR:
            problems.append(f"ffmpeg {out['version']} is older than {FFMPEG_MIN_MAJOR}.0")
        r = subprocess.run([ff, "-hide_banner", "-filters"], capture_output=True)
        lines = r.stdout.decode("utf-8", "ignore").splitlines()
        start = next((i + 1 for i, ln in enumerate(lines) if ln.strip().startswith("---")), 0)
        have = {ln.split()[1] for ln in lines[start:] if len(ln.split()) > 1}

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/riffsheet_lib/hearing.py (reported line 172)May include surrounding context.

python
cmd = [path, "--file-format=WAVE", "--data-format=LEI16@22050", "-o", tmp_wav, "-f", "-"]
    else:
        cmd = [path, "-w", tmp_wav, "--stdin"]
    r = subprocess.run(cmd, input=text.encode("ascii"), capture_output=True)
    if r.returncode != 0 or not os.path.exists(tmp_wav):
        die(f"{name} could not make the hearing check's sound: " + r.stderr.decode("utf-8", "ignore").strip()[-200:])
    r = run(

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/riffsheet_lib/media.py (reported line 39)May include surrounding context.

python
if not shutil.which(exe):
        die(f"{exe} not found on PATH (install ffmpeg {FFMPEG_MIN_MAJOR}.0 or newer, which includes ffprobe)")
    if exe == "ffmpeg":
        r = subprocess.run([exe, "-hide_banner", "-version"], capture_output=True)
        m = re.match(r"ffmpeg version n?(\d+)\.", r.stdout.decode("utf-8", "ignore"))
        # a build from git reports no release number; it is taken to be recent
        if m and int(m.group(1)) < FFMPEG_MIN_MAJOR:

Unbounded Resource Access

Medium
Category
Excessive Agency
Confidence
75% confidence
Finding

Skill allows unbounded resource consumption (API calls, storage, compute). Without rate limits or quotas, a compromised or misbehaving agent can cause denial-of-service or cost overruns.

Content

Scanner excerpt · scripts/riffsheet_lib/media.py (reported line 50)May include surrounding context.

python
_checked.add(exe)


def run(args, timeout=None):
    if args[0] in ("ffmpeg", "ffprobe"):
        _check_exe(args[0])
    try:

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/riffsheet_lib/media.py (reported line 54)May include surrounding context.

python
if args[0] in ("ffmpeg", "ffprobe"):
        _check_exe(args[0])
    try:
        return subprocess.run(args, capture_output=True, timeout=timeout or RUN_TIMEOUT)
    except subprocess.TimeoutExpired:
        die(f"{args[0]} took longer than {timeout or RUN_TIMEOUT} s and was stopped")
    except OSError as e:

The build-stage documentation says problems prevent output, but the implementation writes analyses containing failed checks.

Low
Category
Excessive Agency
Confidence
99% confidence
Finding

L0241–L0242 explicitly state that problems stop the analysis from being written. In contrast, write_outputs (L1438–L1479) blocks only unheard or unconfirmed statements and schema failures, while analysis_of includes other problems in the output; cmd_build also does not return a failure status for those problems (L1553–L1556). The later write_outputs docstring acknowledges this behavior, leaving contradictory descriptions of the validation guarantee.

Content

No source excerpt is available for this finding.