huawei-cloud-openviking-embedding-switch
Fail
Audited by Gen Agent Trust Hub on Nov 6, 2026
Risk Level: HIGHREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: Automated scans detected patterns of piping network output from local endpoints to the Python interpreter. Analysis confirms these are used for processing JSON responses from the environment manager and health checks. While technically matching RCE detection signatures, the risk is low as it targets the local loopback interface for administrative data extraction.
- [COMMAND_EXECUTION]: The script switch-embedding-model.sh executes powerful system commands on the host, including kill for process management and rm -rf for directory cleanup. These actions are restricted to the local environment and are consistent with the skill's stated purpose of managing a local application lifecycle.
- [INDIRECT_PROMPT_INJECTION]: The skill ingests data from a local REST API and uses it to construct shell commands without explicit sanitization or boundary markers. A compromised local management service could potentially inject malicious paths into host-level commands like rm or kill. Evidence includes ingestion of cwd and state from 127.0.0.1:8090 and subsequent use in file system operations.
- [DYNAMIC_EXECUTION]: The skill utilizes the job-env-manager exec API to dynamically start the openviking-server process. This involves assembling a shell command string at runtime, which is executed inside the targeted environment's sandbox.
Recommendations
- HIGH: Downloads and executes remote code from: http://127.0.0.1:1933/health, http://127.0.0.1:8090/api/v1/envs/openviking - DO NOT USE without thorough review
Audit Metadata