T05 · Unauthorized Access and Privilege Escalation
- Location
scripts/config.sh:8- Finding
OpenClaw Data Is Pushed to a Hardcoded Third-Party Git Organization
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill matches its backup/restore purpose, but its defaults can upload OpenClaw data to a hardcoded third-party Git organization and can delete local files during restore without adequate warning.
Review this skill carefully before installing. Configure your own Git destination before any backup, inspect exactly what files would be committed, and avoid running restore against existing directories unless you have an independent backup because the script can remove local files first.
scripts/config.sh:8OpenClaw Data Is Pushed to a Hardcoded Third-Party Git Organization
scripts/restore.sh:64Restore Operation Deletes Local Files Before Recovery Is Validated
The restore logic deletes all non-.git files in an existing target directory before adding the remote and pulling, with no confirmation, dry-run, backup, or validation that the directory is actually the intended repository. If the configured path is wrong, reused, or contains valuable local data, running restore can irreversibly destroy user files and replace them with repository contents.
The documentation exposes restore commands that can plausibly replace local configuration or workspace contents, but it does not warn users about overwrite or data-loss behavior. In a backup/restore skill, omission of destructive-operation warnings increases the chance of accidental self-inflicted data loss, especially when users run broad targets like 'all'.
The script's comments, usage text, and runtime messages are presented in Chinese only, which imposes a specific language on users. The file does not provide any opt-in, alternative locale, or justification that the skill is intended only for a Chinese-speaking or region-specific environment.
This shell file contains natural-language comments and descriptive strings exclusively in Chinese, including configuration guidance and backup item descriptions. Under the stated policy, forcing a specific language without user opt-in or documented regional justification is a natural-language policy concern.
The script's usage text and operational messages are presented only in Chinese, which imposes a specific language on users without any opt-in or alternative locale handling. This matches the policy category for language or locale constraints expressed in natural-language strings.