Back to skill

Security audit

Backup Manager

Security checks for vulnerabilities and agentic risk

Overview

This backup skill documents powerful but expected backup, restore, scheduling, and cloud-sync actions without evidence of hidden or unrelated behavior.

Install only if you want an agent to help manage backups on chosen local, network, or cloud locations. Before restoring, use a staging folder when possible and confirm the destination is safe to modify. Before cloud sync, review the rclone remote, provider access controls, and whether the files are appropriate to upload.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Rogue AgentSelf-Modification, Session Persistence
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (4)

Session Persistence

Medium
Category
Rogue Agent
Content
## Features

- **List backups** — Time Machine, rsync snapshots, configured backups
- **Create backups** — rsync-based incremental backups
- **Check status** — Disk space, last run times, backup health
- **Restore** — Restore from any backup location (with confirmation)
- **Schedule** — Cron-based recurring backups
Confidence
60% confidence
Finding
Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Session Persistence

Medium
Category
Rogue Agent
Content
# backup-manager Skill

Manage local and cloud backups — list status, create backups, restore, monitor health.

## Installation
Confidence
60% confidence
Finding
Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Missing User Warnings

Medium
Confidence
95% confidence
Finding
The restore command is presented without a clear warning that restoring into a destination path can overwrite, replace, or otherwise alter existing files. Because restore targets are user-specified and examples include restoring into a home directory, a mistaken command could cause data loss or corruption on important local paths.

Missing User Warnings

Medium
Confidence
92% confidence
Finding
The skill documents cloud backup sync to third-party remotes such as Google Drive and S3 without explicitly warning that file contents, filenames, and related metadata may be transmitted outside the local system. In a backup context, users may sync sensitive personal or corporate data, so omission of a privacy/data-transfer warning can lead to unintended disclosure or compliance issues.

Static analysis

No suspicious patterns detected.