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.sh and the documentation in SKILL.md. The url_encode function 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.sh logs the full construction of the Bark API URL to standard output via echo "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
Risk Level
HIGH
Analyzed
Jun 16, 2026, 11:23 AM