openharmony-download
Fail
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: HIGHCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The skill dynamically constructs shell commands in
SKILL.mdby directly interpolating the${BRANCH}and${CUSTOM_DIR}variables into theBashtool invocation string. If a user inputs shell metacharacters (such as;,&&, or$()) via a custom branch name or directory path, it can result in arbitrary code execution within the host environment. - [INDIRECT_PROMPT_INJECTION]: The skill exposes a vulnerability surface by accepting untrusted data via user input or prompt arguments without validation.
- Ingestion points:
SKILL.mdhandles unvalidated input strings for custom branches and directory paths. - Boundary markers: Absent.
- Capability inventory: Executes shell scripts using the platform's
Bashtool. - Sanitization: There is no filtering or escaping of shell metacharacters before executing the concatenated command string.
- [EXTERNAL_DOWNLOADS]: The
scripts/download_openharmony.shscript automatically downloads an external executable script from a GitCode repository (https://raw.gitcode.com/gitcode-dev/repo/raw/main/repo-py3) and runspip3 installusing a Huawei Cloud PyPI mirror. While these are recognized mirrors for the OpenHarmony ecosystem, dynamically downloading and running scripts at runtime introduces supply chain risks.
Recommendations
- AI detected serious security threats
Audit Metadata