Grades are a hygiene check, not a security guarantee.

Claude Code, Skill

Apple Music Dj

Apple Music Dj, a skill listed in the PlugVet directory.

Compatibility: Not stated.

Grade B

Minor issues only, no Medium or High. Worth a quick look at the findings below before installing.

Graded by PlugVetRubric v2

Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.

Rescanned at commit 27b88fb13dcf, unchanged since the check below.

PERMISSION_DELETE_FILES INSTALL_UNPINNED NETWORK_NO_FIXED_HOST SECRETS_PATH_DOTENV SECRETS_ENV_READ

Why this grade

  • PERMISSION_DELETE_FILES Low

    Contains a call that can delete files.

    scripts/_common.py, line 203 result = subprocess.run(cmd, capture_output=True, text=True, timeout=30)

  • INSTALL_UNPINNED Low

    Dependencies use a range or git URL with no lockfile.

    requirements.txt, line 2 PyJWT>=2.8.0,<3.0

  • NETWORK_NO_FIXED_HOST Low

    Makes a network call whose host is not written as a fixed address.

    scripts/apple_music_api.sh, line 35 # replaced another's, leaving the token-bearing curl config behind. Instead every

  • SECRETS_PATH_DOTENV Low

    Mentions a .env file.

    .clawhubignore, line 11 .env

  • SECRETS_ENV_READ Note

    Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.

    scripts/_common.py, line 185 if not os.environ.get("APPLE_MUSIC_DEV_TOKEN"):

Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.

Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.

What was checked

Plain notes from the hygiene checks.

  • Permissions

    Concern

    can delete files.

    PERMISSION_DELETE_FILES

    scripts/_common.py, line 203

    result = subprocess.run(cmd, capture_output=True, text=True, timeout=30)

    scripts/demo.py, line 371

    return subprocess.run(cmd, env=env, text=True, capture_output=capture, timeout=300)

    scripts/demo.py, line 485

    shutil.rmtree(DEMO_HOME)

    Show more

    scripts/playlist_health.py, line 206

    subprocess.run(

    scripts/playlist_health.py, line 244

    subprocess.run(

    scripts/setup_cron.py, line 229

    result = subprocess.run(

    scripts/setup_cron.py, line 243

    result = subprocess.run(

    scripts/strategy_engine.py, line 1131

    result = subprocess.run(

    scripts/strategy_engine.py, line 1169

    result = subprocess.run(

  • Install and update

    Concern

    dependencies are not pinned.

    INSTALL_UNPINNED

    requirements.txt, line 2

    PyJWT>=2.8.0,<3.0

  • Network

    Concern

    can reach a host that is not written as a fixed address.

    NETWORK_NO_FIXED_HOST

    scripts/apple_music_api.sh, line 35

    # replaced another's, leaving the token-bearing curl config behind. Instead every

    scripts/apple_music_api.sh, line 46

    # `if`, not `cmd && kill`: under `set -e` a failing last `&&` element (curl already dead)

    scripts/apple_music_api.sh, line 64

    # Retry a curl command with exponential backoff on 429 responses.

    Show more

    scripts/apple_music_api.sh, line 67

    # curl runs in the background and we `wait` for it: bash defers traps until the

    scripts/apple_music_api.sh, line 68

    # current foreground command finishes, so with a plain `$(curl ...)` a Ctrl-C/TERM

    scripts/apple_music_api.sh, line 69

    # that curl happens to miss (e.g. it lands while curl is still being forked) would

    scripts/apple_music_api.sh, line 82

    curl -sS -g -o "$tmpfile" -w '%{http_code}' "$@" > "$codefile" &

    scripts/apple_music_api.sh, line 86

    # Exit >= 128 means curl was ended by a signal, or `wait` was interrupted by a trapped

  • Secrets

    Concern

    reads a credential or environment file.

    SECRETS_ENV_READ SECRETS_PATH_DOTENV

    scripts/_common.py, line 185

    if not os.environ.get("APPLE_MUSIC_DEV_TOKEN"):

    scripts/_common.py, line 187

    if not os.environ.get("APPLE_MUSIC_USER_TOKEN"):

    .clawhubignore, line 11

    .env

    Show more

    scripts/_common.py, line 270

    token = os.environ.get("APPLE_MUSIC_DEV_TOKEN", "")

    scripts/_common.py, line 346

    token = os.environ.get("APPLE_MUSIC_USER_TOKEN", "")

    scripts/generate_dev_token.py, line 63

    key_id = os.environ.get("APPLE_KEY_ID")

    scripts/generate_dev_token.py, line 65

    key_path = os.environ.get("APPLE_PRIVATE_KEY_PATH")

    scripts/generate_dev_token.py, line 74

    expiry = int(os.environ.get("APPLE_TOKEN_EXPIRY", DEFAULT_EXPIRY))

    scripts/setup_auth.py, line 194

    existing = os.environ.get("APPLE_MUSIC_DEV_TOKEN", "")

    .clawignore, line 11

    .env

    .gitignore, line 2

    *.p8

    .gitignore, line 3

    .env

    .gitignore, line 4

    .env.local

    CHANGELOG.md, line 204

    - **`.env.example`** - template for required environment variables

    CHANGELOG.md, line 277

    - `.clawignore` expanded: `.env.*` wildcard, tests/, dev artifacts

    CONTRIBUTING.md, line 8

    2. Copy `.env.example` to `.env` and fill in your Apple Music tokens

  • Agent instructions

    Pass

    No instruction to ignore earlier instructions or to hide a step.

  • Obfuscation

    Pass

    No encoded or minified payload found.

  • Licence

    Pass

    A licence file is present (LICENSE).

  • Maintainer activity

    Pass

    The latest commit is within the last 365 days.

Note

Hygiene check of commit 27b88fb13dcf. can delete files. dependencies are not pinned. can reach a host that is not written as a fixed address. reads a credential or environment file.

Date and source

Date checked:

View source

github.com

Commit graded: 27b88fb13dcf528a37d9c73ad3325debf2754f6a

This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.

Read how this letter is chosen