Skills/PyPI/applemusic-mcp

applemusic-mcp@0.22.1

VERIFIED· not started

Publisher claims: "MCP server for Apple Music — cross-platform library, playlists, and playback; no Apple Developer account required" Observed in sandbox: no network, touches nothing outside the project, writes no memory.

Registry PyPI (MCP server)Publisher epheterson · publishing for 318 daysInstalls 1,956Last detonated 1 h ago
$claude mcp add applemusic-mcp -- uvx applemusic-mcp
WatchReport an issue

Coverage

Not started: dependency install failed; the server itself was not observed.
Tested
the dependency install step · every file read, file written and host contacted by what ran
Not tested
server startup · the tool list · tool behavior

What this means for the label: Verified here covers what ran. The server's tools were not exercised with a real credential, so nothing about their behavior is asserted; the credential summary below says what to do with that.

Before you give it your token

It will ask for
APPLEMUSIC_FORCE_TOKENLESSAPPLEMUSIC_USER_TOKENConfiguration, not credentials: APPLEMUSIC_BROWSER_NO_SANDBOX, APPLEMUSIC_CACHE_DIR, APPLEMUSIC_CONFIG_DIR, APPLEMUSIC_DATA_DIR, APPLEMUSIC_FORCE_API_MODE, APPLEMUSIC_FORCE_BROWSER_PLAYBACK, APPLEMUSIC_MCP_HOME, APPLEMUSIC_NO_KEYRING
Where it talks to
no vendor host named in the codeAlso apple.com, attacker.tld — not the publisher's domain; check what for before connecting.
What we saw when it ran
no credential files read · no network
What we could not test
server startup · the tool list · tool behavior

Connect it with a scoped credential, under the guard, and read the third-party hosts first. The code names apple.com, attacker.tld as well as its own vendor. The guard injects APPLEMUSIC_FORCE_TOKENLESS, APPLEMUSIC_USER_TOKEN only into requests to the host you bind (and its subdomains) and refuses the rest.

$vet-skills run --net declared -- uvx applemusic-mcp

Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.

What changed since 0.21.0

vet-skills diff applemusic-mcp 0.21.0 0.22.1

In the sandbox, this version reached for nothing 0.21.0 did not. Compared from the two recorded runs, not from source.

0.21.0 was not run in the sandbox (install failed); the comparison covers what static analysis recorded only.

The guard can hold an update like this until someone approves it (runtime.on_change: hold). A change that only shows with a real credential, or on a path the run did not reach, is not in a trace and so not in this comparison.

Is [email protected] safe to install?

KillerSkills ran it in the KillerSkills honeypot sandbox (2 scenarios; not started: dependency install failed; the server itself was not observed) on 2026-11-23 and scored it 81/100 (Verified). In what ran, nothing we could detect went wrong: no undeclared network egress, no credential reads, no persistent instruction writes. What it does with a real credential was not observed; the static findings and the publisher carry the rest of the score. Summary: no network, touches nothing outside the project, writes no memory.

Behavior trace

Honeypot run · 1 s · 2 scenarios · 0 deviations
t+CategoryObserved action
0.0sprocessno install scripts in bundle
0.2sprocessdependency install exit 1 ·
0.2sclaimednot started: dependency install failed (exit 1); the server itself was not observed
0.2sprocessscript backend runs setup only
0.2sprocessno install scripts to re-run

Static findings

MEDIUM
Python subprocess execution detectedsrc/applemusic_mcp/applescript.py:2400 · Python subprocess execution detectedsubprocess.run(["open", https_url], check=True, capture_output=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
HIGH
document.cookie accesssrc/applemusic_mcp/safari.py:49 · document.cookie access — can steal session cookiesreturn (do JavaScript "document.cookie" in theTab)Fix: Replace encoded or assembled strings with plain literals and remove undeclared network calls.
AST07
MEDIUM
Python subprocess execution detectedsrc/applemusic_mcp/applescript.py:2948 · Python subprocess execution detectedresult = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedsrc/applemusic_mcp/applescript.py:2393 · Python subprocess execution detectedsubprocess.run(["open", music_url], check=True, capture_output=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedsrc/applemusic_mcp/applescript.py:2807 · Python subprocess execution detectedr = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
HIGH
document.cookie accesssrc/applemusic_mcp/safari.py:92 · document.cookie access — can steal session cookies"""Pull media-user-token out of a document.cookie string, or '' if absent."""Fix: Replace encoded or assembled strings with plain literals and remove undeclared network calls.
AST07
MEDIUM
Python subprocess execution detectedsrc/applemusic_mcp/browser.py:92 · Python subprocess execution detectedr = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedsrc/applemusic_mcp/applescript.py:2877 · Python subprocess execution detectedresult = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedsrc/applemusic_mcp/applescript.py:2801 · Python subprocess execution detectedsubprocess.run(["open", "-a", "Music"], check=False, timeout=5)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
HIGH
document.cookie accesssrc/applemusic_mcp/safari.py:29 · document.cookie access — can steal session cookies# otherwise open one, give it a moment to set cookies, then read document.cookie.Fix: Replace encoded or assembled strings with plain literals and remove undeclared network calls.
AST07
HIGH
document.cookie accesssrc/applemusic_mcp/safari.py:6 · document.cookie access — can steal session cookiescan read it with one AppleScript ``do JavaScript "document.cookie"`` and skipFix: Replace encoded or assembled strings with plain literals and remove undeclared network calls.
AST07
MEDIUM
Python subprocess execution detectedsrc/applemusic_mcp/applescript.py:13 · Python subprocess execution detected- Scripts are executed via subprocess.run() with capture_output=TrueFix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedsrc/applemusic_mcp/applescript.py:2994 · Python subprocess execution detectedresult = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedsrc/applemusic_mcp/applescript.py:2910 · Python subprocess execution detectedresult = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedsrc/applemusic_mcp/browser.py:117 · Python subprocess execution detectedr = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedsrc/applemusic_mcp/applescript.py:345 · Python subprocess execution detectedresult = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
File permission modification commandtests/test_browser_cov.py:1039 · File permission modification command — agent changes file ownership/permissions# chmod failure path (102-104) — must be swallowedFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
File permission modification commandtests/test_auth.py:365 · File permission modification command — agent changes file ownership/permissions"""The Music User Token file must be chmod 600 — on a multi-user box otherFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
File permission modification commandtests/test_auth_cov.py:382 · File permission modification command — agent changes file ownership/permissions"""A platform/FS that rejects chmod must not break dir creation (268-269)."""Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
LOW
Dynamic module loadingtests/test_cli_cov.py:329 · Dynamic module loadingrunpy.run_module("applemusic_mcp.cli", run_name="__main__")Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Process kill commandsrc/applemusic_mcp/server.py:6185 · Process kill command — agent can terminate processes# change exists to kill (#42), so they stay separate.Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
LOW
Dynamic module loadingtests/test_version_consistency.py:26 · Dynamic module loading (importlib.loader.exec_module via provenance)spec.loader.exec_module(mod)Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Access to sensitive file pathstests/test_server_library_cov.py:2372 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files"name", ["../../.ssh/id_rsa", "/etc/passwd", "..", "../../../etc/hosts", "sub/../../x"]Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
LOW
Dynamic module loadingtests/test_levels_e2e.py:159 · Dynamic module loadingrunpy.run_module("applemusic_mcp", run_name="__main__")Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
LOW
Dynamic module loadingtests/test_levels_e2e.py:172 · Dynamic module loadingrunpy.run_module("applemusic_mcp", run_name="__main__")Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
LOW
Dynamic module loadingtests/test_version_consistency.py:25 · Dynamic module loadingmod = importlib.util.module_from_spec(spec)Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Process kill commandsrc/applemusic_mcp/server.py:10181 · Process kill command — agent can terminate processesctx.close(); an abrupt kill is a known cause of the 'signed-out next launch' bug."""Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
File permission modification commandtests/test_auth_cov.py:385 · File permission modification command — agent changes file ownership/permissionsraise OSError("no chmod here")Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05

Cost to the agent

Instructions loaded
≈9,944 tok
1 file · 78 in bundle
Tool list per prompt
≈0 tok
0 tools · 0 per tool
Handshake
no reply
launch to tools/list, stdio
Undocumented tools
0
description under 20 chars · avg 0

Tokens estimated at four characters each. The tool list is re-read by the agent on every turn, so it is the number to compare between servers that do the same job: ranked across the index.

Known vulnerabilities

No advisories in OSV for applemusic-mcp@0.22.1 as of 39 min ago. This is the package itself, not its dependencies.