T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:42- Finding
Unpinned Remote Payload Retrieval and Execution
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 42-45
Vulnerability Type: Remote code retrieval and execution
Risk Level: HighComplete Code Snippet:
bash git clone https://github.com/openclaw-skills/ai-intelligent-after-sales-service cd ai-intelligent-after-sales-service pip install -r requirements.txt python app.pyTechnical Analysis
The installation instructions clone a mutable remote repository without pinning a reviewed commit or verifying its integrity. They then install packages from a remotely supplied
requirements.txtand execute the remotely suppliedapp.py.Neither
requirements.txtnorapp.pyis included in the audited artifact, which contains onlySKILL.md. Consequently, the effective application payload and its dependency graph cannot be inspected or verified during this audit. The payload may change after the skill has been reviewed, while the instructions continue to retrieve and execute the latest remote version.Although dependency installation is also part of the exposure, the best matching classification is
T03: Remote Payload Retrieval and Executionbecause the primary issue is the direct retrieval and execution of mutable external application code. There is no local evidence proving that the current remote repository is malicious.Attack Path
- An attacker compromises the referenced GitHub repository, a maintainer account, or the repository's mutable default branch.
- The attacker modifies
app.py,requirements.txt, or another imported application component. - A user follows the documented installation commands and clones the attacker-controlled revision.
pip install -r requirements.txtmay execute package build or installation logic supplied through the modified dependency manifest.python app.pydirectly executes the retrieved application payload.- The payload runs with the privileges and environmental access of the user ...[truncated 763 chars]
- Remediation
View remediation
Remediation Suggestions
- Include the complete application source and dependency manifests in the skill package so they can be reviewed together.
- Pin the remote source to a specific, reviewed commit hash rather than cloning a mutable default branch.
- Verify the downloaded source using a trusted cryptographic signature or a securely distributed checksum.
- Pin every Python dependency to an exact version and require cryptographic hashes, for example with
pip install --require-hashes. - Use a trusted package index and review transitive dependencies, package provenance, and installation scripts.
- Install and run the application in an isolated, least-privileged virtual environment or container with restricted filesystem, credential, and network access.
- Separate retrieval from execution and require an explicit source review or integrity-validation step before installing dependencies or launching the application.
