Claude Code, Skill
Spotify Skill
Spotify Skill, 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.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
PERMISSION_DELETE_FILES INSTALL_UNPINNED NETWORK_NO_FIXED_HOST NETWORK_UNNAMED_HOST SECRETS_PATH_DOTENV SECRETS_ENV_READ
Why this grade
- PERMISSION_DELETE_FILES Low
Contains a call that can delete files.
spotify-api/scripts/cover_art_generator.py, line 194
os.remove(png_path) - INSTALL_UNPINNED Low
Dependencies use a range or git URL with no lockfile.
requirements.txt, line 8
requests>=2.31.0 - NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
spotify-api/scripts/cover_art_generator.py, line 546
response = requests.put(url, headers=headers, data=encoded_image) - NETWORK_UNNAMED_HOST Low
Calls a fixed host that the description does not name.
spotify-api/scripts/cover_art_generator.py, line 546
response = requests.put(url, headers=headers, data=encoded_image) - SECRETS_PATH_DOTENV Low
Mentions a .env file.
get_refresh_token.py, line 20
# Try to load environment variables from .env file - SECRETS_ENV_READ Note
Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.
get_refresh_token.py, line 44
CLIENT_SECRET = os.getenv('SPOTIFY_CLIENT_SECRET')
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
spotify-api/scripts/cover_art_generator.py, line 194
os.remove(png_path)
Install and update
Concern
dependencies are not pinned.
INSTALL_UNPINNED
requirements.txt, line 8
requests>=2.31.0
Network
Concern
can reach a host that is not written as a fixed address. can reach accounts.spotify.com. The description does not name that host. can reach api.spotify.com. The description does not name that host.
NETWORK_NO_FIXED_HOST NETWORK_UNNAMED_HOST
spotify-api/scripts/cover_art_generator.py, line 546
response = requests.put(url, headers=headers, data=encoded_image)
spotify-api/scripts/spotify_client.py, line 143
response = requests.post(self.AUTH_URL, headers=headers, data=data)
spotify-api/scripts/spotify_client.py, line 180
response = requests.post(self.AUTH_URL, headers=headers, data=data)
Show more
spotify-api/scripts/spotify_client.py, line 222
response = requests.request(
CustomGPT/SPOTIFY_GPT_INSTRUCTIONS.md, line 576
response = requests.put(url, headers=headers, data=base64_image)
CustomGPT/SPOTIFY_GPT_INSTRUCTIONS.md, line 1703
response = requests.put(url, headers=headers, data=base64_image)
Guide/ADVANCED_SKILL_EXAMPLES.md, line 543
response = requests.get(url, timeout=timeout)
Guide/ADVANCED_SKILL_EXAMPLES.md, line 789
@patch('requests.get')
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
get_refresh_token.py, line 20
# Try to load environment variables from .env file
get_refresh_token.py, line 23
env_path = Path(__file__).parent / 'spotify-api' / '.env'
get_refresh_token.py, line 44
CLIENT_SECRET = os.getenv('SPOTIFY_CLIENT_SECRET')
Show more
get_refresh_token.py, line 239
print('2. Add it to your spotify-api/.env file:')
get_refresh_token.py, line 286
<li>Open <code>spotify-api/.env</code> file</li>
get_refresh_token.py, line 308
help_text = 'Invalid client credentials. Please check your Client ID and Client Secret in .env file.'
get_refresh_token.py, line 348
print('Please make sure you have a .env file in spotify-api/ with:')
spotify-api/SKILL.md, line 79
# Initialize client from environment variables (.env file)
spotify-api/scripts/cover_art_generator.py, line 559
print("4. Update your .env file with the new refresh token")
spotify-api/scripts/cover_art_generator.py, line 578
CLIENT_SECRET = os.getenv("SPOTIFY_CLIENT_SECRET")
spotify-api/scripts/cover_art_generator.py, line 579
ACCESS_TOKEN = os.getenv("SPOTIFY_ACCESS_TOKEN")
spotify-api/scripts/spotify_client.py, line 646
client_secret = os.getenv('SPOTIFY_CLIENT_SECRET')
spotify-api/scripts/spotify_client.py, line 648
access_token = os.getenv('SPOTIFY_ACCESS_TOKEN')
spotify-api/scripts/spotify_client.py, line 649
refresh_token = os.getenv('SPOTIFY_REFRESH_TOKEN')
spotify-api/scripts/spotify_client.py, line 675
'client_secret': bool(os.getenv('SPOTIFY_CLIENT_SECRET')),
spotify-api/scripts/spotify_client.py, line 676
'refresh_token': bool(os.getenv('SPOTIFY_REFRESH_TOKEN')),
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 c8ebe8fd3092. can delete files. dependencies are not pinned. can reach a host that is not written as a fixed address. can reach accounts.spotify.com. The description does not name that host. can reach api.spotify.com. The description does not name that host. reads a credential or environment file.
Date and source
Date checked:
github.com
Commit graded: c8ebe8fd30924c6e0516877f242020576fba2daa
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.