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.pyto 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
subprocessmodule. This includesgitfor repository synchronization,schtasksfor creating Windows tasks, andlaunchctlfor managing macOS services. On Windows, some commands are executed withshell=Trueinsetup_auto_backup.py, which is a common vector for command execution vulnerabilities. - [DATA_EXFILTRATION]: The skill is designed to upload the entire
skillsdirectory 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, theauto_sync.pyscript logs the machine's hostname and operating system tologs/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.mdcontains 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 --rebaseoperations 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