Back to skill

Security audit

music-craft

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rates this music-creation skill suspicious with medium confidence, mainly because it flags guidance that could risk system-wide memory exhaustion and use of an unidentified music CLI without a data-sharing disclosure; inspection was incomplete.

Consider the suspicious Review rating before installing. The scan reports missing disclosure and consent around a generic CLI and a memory-cap override that could affect the whole machine. Coverage was partial: 32 of 35 components were fully inspected, three were partial, and several analyzers were degraded, so the results are incomplete and do not establish that the skill is safe.

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
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • 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
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
Findings (12)

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
re-tags.md`](references/structure-tags.md) and [`references/lyrics-cleanup.md`](references/lyrics-cleanup.md).

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
- [`references/lyrics-cleanup.md`](references/lyrics-cleanup.md) — cleanup recipe for Whisper/ASR transcripts, canonical section tags, `info.txt`, and `lyrics_w

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
- [`references/lrc-generation.md`](references/lrc-generation.md) — backend-neutral LRC (synced lyrics) workflow: WhisperX/Whisper transcription → lyrics alignme

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

The guide instructs disabling the MPS memory cap without warning about system-wide memory exhaustion.

Medium
Category
Output Handling
Confidence
94% confidence
Finding

The guide provides a runnable configuration that disables the MPS allocation limit while recommending workloads that can exhaust shared system memory. Although it discusses memory pressure and swap thrashing, it does not clearly warn at this step that disabling the limit can make the entire machine unresponsive or require explicit acceptance of that risk; its contradictory tier guidance further weakens the memory checks.

Content

No source excerpt is available for this finding.

Requires English lyric section tags without user opt-in or a documented technical justification.

Medium
Category
Output Handling
Confidence
90% confidence
Finding

The smoke-test rule explicitly requires English section tags and treats non-English equivalents as a hard failure. It does not offer a language choice or explain why a particular backend requires these English tokens.

Content

No source excerpt is available for this finding.

Generic CLI fallback lacks a data-sharing disclosure or consent check.

Medium
Category
Output Handling
Confidence
90% confidence
Finding

The generic fallback directs the agent to use any detected music CLI with prompts and potentially lyrics without first establishing whether it runs locally or uploads inputs. Unlike the Stable Audio section, this branch has no disclosure or consent gate, allowing private creative material to reach an unidentified cloud service or incur charges without informed approval.

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

python
print(json.dumps({"status": "error", "error": "ffmpeg not found on PATH"}, indent=2), file=sys.stderr)
        return 1
    print("WARNING: ffmpeg amix is preview-quality, not DAW-quality mixing.", file=sys.stderr)
    return subprocess.run([ffmpeg, *command[1:]], shell=False, check=False).returncode


if __name__ == "__main__":

Internal Network Request

Medium
Category
Server-Side Request Forgery
Confidence
70% confidence
Finding

Code issues a request to a loopback, link-local, or private-range host. This can reach internal services not meant to be exposed and is a common SSRF pivot.

Content

Scanner excerpt · scripts/smoke_test.py (reported line 158)May include surrounding context.

python
proxies = [h.proxies for h in opener.handlers if isinstance(h, urllib.request.ProxyHandler) and h.proxies]
        assert not proxies, f"proxies must be disabled, found {proxies}"
        # Offline check: no network call is made; the handler is invoked directly.
        request = urllib.request.Request("http://127.0.0.1:8001/health")
        try:
            module._RejectRedirects().redirect_request(request, None, 302, "Found", {}, "http://example.com/")
        except urllib.error.HTTPError as exc:

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

python
if ffprobe is None or not path.is_file():
        return None
    try:
        completed = subprocess.run(
            [ffprobe, "-v", "error", "-show_entries", "format=duration", "-of", "csv=p=0", str(path)],
            capture_output=True,
            text=True,

The documented duration gate is bypassed when ffprobe is missing or fails.

Medium
Category
Excessive Agency
Confidence
96% confidence
Finding

L007–L010 state that, with --expected-seconds, a cache file only counts after its measured duration is within tolerance. However, L077–L079 classify probe failures as unverified, and L158–L167 treat those files as usable and immediately stop waiting with succeeded_unverified. Although main returns a nonzero exit status for that state, the helper still stops before the documented duration condition is met, potentially selecting an in-progress intermediate.

Content

No source excerpt is available for this finding.

Reference-loading triggers include the unqualified everyday terms `shift` and `turbo`.

Low
Category
Trigger Abuse
Confidence
87% confidence
Finding

The instruction loads this reference whenever a request mentions shift or turbo, without explicitly requiring an ACE-Step music-generation context. These terms also occur in unrelated requests, such as work-shift scheduling, potentially causing unintended reference loading.

Content

No source excerpt is available for this finding.