Back to skill

Security audit

duplicati-backup

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rates the Duplicati backup skill benign with high confidence: the scanners found no AIG issues, and the flagged references to tokens, user confirmation, and OpenClaw folders are considered consistent with its backup purpose.

The verdict is benign, not a guarantee of zero risk. Skillspector reported a medium risk score and flagged token, confirmation, and persistence-related wording, but the verdict treats these as expected for the stated backup purpose. Review the token setup and backup scope before installing, and keep access tokens and passphrases private.

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
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Rogue AgentSelf-Modification, Session Persistence
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
Findings (5)

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · SKILL.md (reported line 71)May include surrounding context.

md
- A restore writes backed-up files back. It does not delete files created after the backup. For a true rollback, list the files created since the restore point and ask the user before removing any of them.
- Only files under a backup's source paths can be restored, and only to local folders.
- Never ask the user for the Duplicati access token or the backup passphrase in chat, and never print either.
- Do not use `stop_task` on a task you did not start unless the user asks. A task shown with the operation "Other" belongs to a backup your token cannot see; leave it alone. A task that is still waiting cannot be stopped; try again once `get_task` reports it as Running.
- If `get_server_status` shows the server is paused, waiting tasks will not start. Tell the user instead of waiting.
- Task IDs are lost when the Duplicati server restarts. If a task ID is unknown, check `list_versions` to see whether the backup completed.

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · SKILL.md (reported line 84)May include surrounding context.

md
1. Install Duplicati 2.4.1 or newer (canary channel at the time of writing) on the machine that holds the files, and create a backup that covers the folders the agent works in, such as its workspace and memory folders. Use a destination on another machine or in the cloud.
2. Turn on the MCP endpoint: Settings → Experimental options → MCP server, or start the server with `--webservice-enable-mcp-server=true`.
3. Issue a token for the agent, limited to the backups it needs. In the Duplicati UI, open Settings → MCP access tokens → Create access token; after creating it, pick the agent under "Set up the token in" to get a ready-made command or configuration. Or use the command line:

    ```bash
    duplicati-server-util issue-mcp-token --name="<agent name>" --level=Restore --backup="<backup name>" --expires-in=90D

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · SKILL.md (reported line 84)May include surrounding context.

md
1. Install Duplicati 2.4.1 or newer (canary channel at the time of writing) on the machine that holds the files, and create a backup that covers the folders the agent works in, such as its workspace and memory folders. Use a destination on another machine or in the cloud.
2. Turn on the MCP endpoint: Settings → Experimental options → MCP server, or start the server with `--webservice-enable-mcp-server=true`.
3. Issue a token for the agent, limited to the backups it needs. In the Duplicati UI, open Settings → MCP access tokens → Create access token; after creating it, pick the agent under "Set up the token in" to get a ready-made command or configuration. Or use the command line:

    ```bash
    duplicati-server-util issue-mcp-token --name="<agent name>" --level=Restore --backup="<backup name>" --expires-in=90D

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
80% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

Scanner excerpt · SKILL.md (reported line 71)May include surrounding context.

md
- A restore writes backed-up files back. It does not delete files created after the backup. For a true rollback, list the files created since the restore point and ask the user before removing any of them.
- Only files under a backup's source paths can be restored, and only to local folders.
- Never ask the user for the Duplicati access token or the backup passphrase in chat, and never print either.
- Do not use `stop_task` on a task you did not start unless the user asks. A task shown with the operation "Other" belongs to a backup your token cannot see; leave it alone. A task that is still waiting cannot be stopped; try again once `get_task` reports it as Running.
- If `get_server_status` shows the server is paused, waiting tasks will not start. Tell the user instead of waiting.
- Task IDs are lost when the Duplicati server restarts. If a task ID is unknown, check `list_versions` to see whether the backup completed.

Session Persistence

Medium
Category
Rogue Agent
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.

Content

Scanner excerpt · references/openclaw.md (reported line 5)May include surrounding context.

md
These are steps for the user. Do not perform them yourself.

1. Create a Duplicati backup that covers the OpenClaw folders, for example `~/.openclaw`, with a destination on another machine or in the cloud.
2. Issue a token for OpenClaw, limited to that backup:

    ```bash