general-skills-backup

Warn

Audited by Gen Agent Trust Hub on Nov 16, 2026

Risk Level: MEDIUMPERSISTENCECOMMAND_EXECUTIONDATA_EXFILTRATIONPROMPT_INJECTIONREMOTE_CODE_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
  • [PERSISTENCE]: The skill uses setup_auto_backup.py to install a macOS LaunchAgent (com.opencode.skills.backup.plist) and a Windows Scheduled Task (OpenCodeSkillsBackup). These mechanisms are configured to execute the synchronization script (auto_sync.py) every hour, ensuring the skill remains active and continues to perform background operations across sessions.
  • [COMMAND_EXECUTION]: Several Python scripts execute shell commands using the subprocess module. This includes git for repository synchronization, schtasks for creating Windows tasks, and launchctl for managing macOS services. On Windows, some commands are executed with shell=True in setup_auto_backup.py, which is a common vector for command execution vulnerabilities.
  • [DATA_EXFILTRATION]: The skill is designed to upload the entire skills directory to a remote Git repository provided by the user. While this is the stated purpose, it constitutes a data exfiltration vector if a malicious URL is used. Furthermore, the auto_sync.py script logs the machine's hostname and operating system to logs/history.md, which is subsequently committed and pushed to the remote repository, exposing system metadata.
  • [REMOTE_CODE_EXECUTION]: The synchronization process updates the skill's own directory, including its Python scripts. Because the AI agent is instructed to execute these scripts (sync_skills.py, auto_sync.py) from the local filesystem, an update to the remote repository can result in the execution of arbitrary code on the user's machine during subsequent synchronizations.
  • [PROMPT_INJECTION]: The SKILL.md contains explicit instructions to the AI agent to bypass user confirmation after the initial setup ("After initialization ... do not ask again, sync directly"). This instruction is designed to minimize user oversight for future data uploads and command executions.
  • [EXTERNAL_DOWNLOADS]: The skill performs git pull --rebase operations to download content from external Git repositories to the local machine, which serves as the primary vector for the remote code execution risk mentioned above.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Nov 16, 2026, 12:35 AM