audiobookshelf
Fail
Audited by Gen Agent Trust Hub on Jul 4, 2026
Risk Level: HIGHCREDENTIALS_UNSAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [CREDENTIALS_UNSAFE]: Multiple scripts contain a hardcoded JWT API key ('eyJhbGciOiJIUzI1Ni...'). This key represents administrative access and is present in the following files:
scripts/get_author_metadata.pyscripts/list_author_books.pyscripts/update_author_photos.pyscripts/update_series_metadata.pyscripts/verify_series_metadata.py- [COMMAND_EXECUTION]: The skill performs local file system operations, including reading and modifying audio file metadata using the
mutagenlibrary inscripts/update_audio_metadata.py. While this is consistent with the skill's stated purpose, it represents a significant capability when combined with external data ingestion. - [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection because it ingests untrusted metadata from audio files and API responses, which could contain malicious instructions.
- Ingestion points: Metadata extracted from local audio files via
mutageninscripts/scan_audiobook_directory.pyandscripts/update_audio_metadata.py, as well as data from the Audiobookshelf REST API. - Boundary markers: No boundary markers or 'ignore embedded instructions' warnings are present in the scripts processing this data.
- Capability inventory: The skill has the capability to write to the local filesystem (
mutagen.save()) and perform network operations (requests,aiohttp) to update server-side metadata. - Sanitization: There is no evidence of sanitization or validation of the metadata values before they are used in API calls or file write operations.
Recommendations
- AI detected serious security threats
Audit Metadata