T08 · Insecure Dependencies
- Location
README.md:21- Finding
Installation Uses an Unpinned Mutable Git Repository
- Content
View full analysis
Vulnerability Details
File Location:
README.md:21-23andREADME.md:98-102
Vulnerability Type:T08: Insecure Dependencies
Risk Level: MediumThe documented installation process clones the mutable default branch of an external GitHub repository:
bash cd /root/clawd/skills git clone https://github.com/1217047020/memory-curator.gitThe English installation section repeats the same unpinned command:
bash cd /root/clawd/skills git clone https://github.com/1217047020/memory-curator.gitTechnical Analysis
The installation instructions do not pin the Skill to an immutable commit, verified release artifact, or signed tag. They also provide no checksum or signature-verification procedure. Consequently, the content installed by this command may differ from the version covered by this audit.
This is a supply-chain trust weakness because the cloned repository contains both Agent instructions (
SKILL.md) and executable code (scripts/curate_memory.py). If the upstream repository, maintainer account, or default branch is compromised, an attacker could replace these files without changing the documented installation command.The audited version itself contains no evidence of malicious scripts, remote payload execution, command injection, persistence, privilege escalation, credential theft, or data exfiltration. The risk arises from the mutability and lack of verification of the documented installation source.
Attack Path
- An attacker compromises the upstream GitHub account or obtains write access to the repository.
- The attacker modifies the default branch, replacing
SKILL.mdorscripts/curate_memory.pywith malicious content. - A user follows the README and clones the repository without selecting a reviewed commit or verifying its integrity.
- The unreviewed content is placed directly in
/root/clawd/skills, a location intended for trusted Skills. - OpenClaw loads th ...[truncated 1044 chars]
- Remediation
View remediation
Remediation Suggestions
- Pin installation to a reviewed immutable commit rather than cloning the mutable default branch:
bash git clone https://github.com/1217047020/memory-curator.git cd memory-curator git checkout --detach <reviewed-commit-sha> - Prefer signed, versioned release artifacts and document signature verification.
- Publish a SHA-256 checksum for each release archive and require users to verify it before installation.
- Protect release tags against modification and use signed Git tags where possible.
- Document the exact commit corresponding to version
1.0.0. - Advise users to inspect
SKILL.mdand executable files after resolving the pinned revision and before enabling the Skill. - Consider automated provenance or reproducible-build attestations so users can confirm that downloaded artifacts match reviewed source code.
- Pin installation to a reviewed immutable commit rather than cloning the mutable default branch:
