byted-tos-openclaw-backup

Warn

Audited by Socket on Sep 21, 2026

2 alerts found:

Anomalyx2
AnomalyLOW
scripts/restore.sh

The code appears to be a legitimate backup restoration script and contains no clear malware, exfiltration, persistence, or sabotage behavior. However, sourcing .config executes arbitrary shell commands, and unvalidated BACKUP_DATE enables path traversal or unintended backup-directory selection. Because restored files can overwrite privileged OpenClaw configuration and skill files, the script should validate the date strictly, canonicalize and constrain the backup path beneath the mount root, and use a non-executable configuration format or tightly restrict its permissions.

Confidence: 97%Severity: 63%
AnomalyLOW
scripts/list_backups.sh

The script is intended to list local backups and contains no evident malicious behavior in its backup enumeration logic. However, `source "$CONFIG_FILE"` is an arbitrary code execution sink: compromise or unauthorized modification of the adjacent `.config` file would result in command execution with the script's privileges. The configuration should be trusted and protected, or parsed as data instead of sourced.

Confidence: 98%Severity: 62%
Audit Metadata
Analyzed At
Sep 21, 2026, 03:17 PM
Package URL
pkg:socket/skills-sh/bytedance%2Fagentkit-samples%2Fbyted-tos-openclaw-backup%2F@78de4aac7b284b3b07b9adbf40e91ea99a212fae236f874e6fdc5bb8fc0fb79b