msmodelslim-quant
Warn
Audited by Gen Agent Trust Hub on May 17, 2026
Risk Level: MEDIUMCREDENTIALS_UNSAFECOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [CREDENTIALS_UNSAFE]: The skill recommends using
sshpass -p 'password'for remote server access inSKILL.md. This method transmits credentials as command-line arguments, making them visible in plaintext to other users on the system via process monitoring tools and command history. - [COMMAND_EXECUTION]: The skill employs
docker run --privileged=trueinscripts/docker-commands.sh. Running containers in privileged mode bypasses standard isolation boundaries, granting the containerized process extensive access to the host kernel and hardware devices. - [REMOTE_CODE_EXECUTION]: The skill clones the
msmodelslimproject from an external Git repository (gitcode.com/Ascend/msmodelslim.git) and executes an accompanying installation script (bash install.sh) within the user environment (scripts/msmodelslim-setup.sh). While this originates from a vendor-associated repository, it constitutes execution of unverified remote code. - [COMMAND_EXECUTION]: The skill exhibits an indirect prompt injection surface by parsing local
README.mdfiles to dynamically extract and execute system commands and environment variables. - Ingestion points: The skill reads content from
{work_path}/msmodelslim/example/{model_name}/README.mdusinggrepinscripts/env-check.shandtemplates/env-checklist.md. - Boundary markers: No delimiters or instructions are used to distinguish documentation from executable commands, leading the agent to treat parsed text as valid instruction input.
- Capability inventory: Extracted strings are used to perform
pip installoperations and set shell environment variables viaexportinscripts/quant-execute.sh. - Sanitization: There is no validation or sanitization of the content extracted from the README before it is passed to the shell for execution.
Audit Metadata