bark-push
Fail
Audited by Gen Agent Trust Hub on Jun 16, 2026
Risk Level: HIGHCOMMAND_EXECUTIONCREDENTIALS_UNSAFE
Full Analysis
- [COMMAND_EXECUTION]: A command injection vulnerability exists in
scripts/bark_push.shand the documentation inSKILL.md. Theurl_encodefunction interpolates shell variables directly into a Python command string using single quotes (e.g.,python3 -c "...quote('$1')..."). This allows an attacker to escape the Python string literal and execute arbitrary Python code by including single quotes and Python commands in the notification title or body parameters. - [CREDENTIALS_UNSAFE]: The script
scripts/bark_push.shlogs the full construction of the Bark API URL to standard output viaecho "URL: ${BASE_URL}". Because this URL contains the user's private Bark Key, it leads to credential exposure in the agent's logs.
Recommendations
- AI detected serious security threats
Audit Metadata