skills-backup
Warn
Audited by Gen Agent Trust Hub on Nov 16, 2026
Risk Level: MEDIUMPERSISTENCECOMMAND_EXECUTIONDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [PERSISTENCE]: The skill establishes background persistence by creating recurring system tasks. The setup_auto_backup.py script configures a macOS LaunchAgent by writing a .plist file to ~/Library/LaunchAgents/com.opencode.skills.backup.plist and using launchctl to register it. For Windows systems, it uses the schtasks command to create a scheduled task named OpenCodeSkillsBackup that executes the synchronization script every hour.
- [COMMAND_EXECUTION]: Extensive use of shell command execution is present throughout the skill scripts. The setup_auto_backup.py script executes system management tools (launchctl, schtasks) to configure persistence. The scripts/sync_skills.py and scripts/auto_sync.py scripts execute multiple git commands to manage repository state, including staging, committing, and synchronizing with remote servers.
- [DATA_EXFILTRATION]: The skill automates the transfer of local data to an external Git repository. By executing git push in a background loop, the skill continuously uploads the contents of the skills configuration directory to a user-defined remote endpoint.
- [INDIRECT_PROMPT_INJECTION]: The skill has an indirect prompt injection surface. It ingests untrusted data from the local environment via git status output (ingestion point: scripts/auto_sync.py) without employing boundary markers to delimit external content. The skill possesses extensive capabilities, including shell command execution and file writing, which are executed using these unvalidated inputs. No sanitization or filtering is performed on the filenames or status codes before they are used to log actions or influence command arguments.
Audit Metadata