badger-deploy

Warn

Audited by Gen Agent Trust Hub on Nov 13, 2026

Risk Level: MEDIUMEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONDYNAMIC_EXECUTION
Full Analysis
  • [COMMAND_EXECUTION]: The provided Python scripts sync.py and watch.py utilize subprocess.run(..., shell=True) combined with f-string interpolation. This implementation is susceptible to command injection if filenames or device port identifiers include shell special characters.
  • [EXTERNAL_DOWNLOADS]: The documentation directs users to fetch MicroPython source code from a remote repository (https://raw.githubusercontent.com/badger/home/refs/heads/main/badge/apps/menu/__init__.py) to overwrite local device configuration.
  • [DYNAMIC_EXECUTION]: The skill makes extensive use of mpremote exec to run dynamic Python code blocks on the target hardware, which facilitates execution of arbitrary logic outside of the distributed files.
  • [COMMAND_EXECUTION]: The deploy.sh bash script employs rm -rf on paths constructed from user-provided arguments, posing a risk of unintended file deletion if paths are not strictly validated.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Nov 13, 2026, 03:20 AM