huawei-cloud-msmodelslim-model-adapt
Pass
Audited by Gen Agent Trust Hub on Jun 17, 2026
Risk Level: SAFECOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The skill uses
subprocess.runinscripts/step2_run_quantization.pyto invoke themsmodelslimquantization module. This is implemented securely by passing arguments as a list and using the current Python environment's executable.- [REMOTE_CODE_EXECUTION]: Several scripts and templates (e.g.,scripts/step1_generate_test_model.py,assets/vlm_model_adapter_template.py) enable thetrust_remote_code=Trueparameter within the Hugging Face Transformers library. This functionality is a standard requirement for loading models with custom architectures, allowing the execution of logic defined in the model's own repository.- [EXTERNAL_DOWNLOADS]: The documentation references downloading model non-weight files from ModelScope, a well-known model repository. These downloads are part of the intended model adaptation process and target established infrastructure.
Audit Metadata