T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:20- Finding
Unpinned Remote Payload Retrieval and System-Wide Command Installation
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill describes a useful memory-maintenance tool, but its default install path fetches unaudited code from GitHub and exposes it as a system-wide command with sudo.
Review the GitHub repository and install from a pinned commit or signed release before use. Prefer a user-local path such as ~/.local/bin instead of /usr/local/bin, and only run it against memory directories you are comfortable letting the tool read and modify.
SKILL.md:20Unpinned Remote Payload Retrieval and System-Wide Command Installation
The documented command uses sudo to modify a privileged executable path, which conditions users to elevate privileges during installation of code fetched directly from GitHub. Even though the specific command only creates a symlink, it makes untrusted repository content easily invokable system-wide and could facilitate abuse if the script is later modified or replaced.
git clone https://github.com/Ramsbaby/openclaw-memorybox.git
cd openclaw-memorybox && chmod +x bin/memorybox
sudo ln -sf "$(pwd)/bin/memorybox" /usr/local/bin/memorybox
The installation instructions tell users to create a system-wide symlink in /usr/local/bin using sudo, but provide no warning about the trust implications of cloning and exposing an unreviewed script as an executable command for all users. While not inherently malicious, this encourages privileged system modification from a third-party repository and increases the risk of persistence or accidental execution of altered code.
No suspicious patterns detected.