sveltia-cms
Fail
Audited by Gen Agent Trust Hub on Oct 8, 2026
Risk Level: HIGHDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [DYNAMIC_EXECUTION]: The initialization script
scripts/init-sveltia.shuses an unquoted heredoc (cat << EOF) to generate theconfig.ymlfile. This pattern causes the shell to execute variable expansion and command substitution on the content before writing it to the file. If the$REPOor$BRANCHvariables contain command substitutions such as$(...)or backticks, those commands will be executed by the shell while the script is running. - [INDIRECT_PROMPT_INJECTION]: The skill exposes an attack surface for indirect prompt injection by processing untrusted repository and branch names without proper validation or sanitization.
- Ingestion points: The script
scripts/init-sveltia.shcollects the$REPOand$BRANCHvariables from user input via thereadcommand. - Boundary markers: The script lacks any validation or delimiters to ensure the input remains within its intended scope and does not include malicious shell commands or YAML structure overrides.
- Capability inventory: The skill is granted
BashandWritepermissions, which enable the execution of the vulnerable script and the modification of the local file system. - Sanitization: There is no escaping or sanitization of the input variables before they are interpolated into the shell's execution environment.
- [EXTERNAL_DOWNLOADS]: The skill templates reference the
@sveltia/cmslibrary hosted on theunpkg.comCDN. This is the official and standard distribution method for the tool and utilizes a well-known service, posing no unexpected security risk in this context.
Recommendations
- AI detected serious security threats
Audit Metadata