quark-torch-llm-ptq
Pass
Audited by Gen Agent Trust Hub on Oct 1, 2026
Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill generates and executes shell commands using the
quark-clitool. However, this is the primary purpose of the skill and is protected by multiple security controls: - Execution Gate: Checkpoint 3 requires explicit user approval ("yes", "run it") before any command execution occurs.
- Path Sanitization: Instructions explicitly mandate resolving local model and output directories to absolute paths and quoting all user-controlled paths and values to prevent injection.
- Trusted Tooling: The skill restricts itself to using the public
quark-cliinstalled in the environment and forbids generating or patching custom runners. - Remote Code Protection: The skill defaults to
--no_trust_remote_codeand requires explicit user consent before omitting this flag for models that require custom repository code. - [DYNAMIC_EXECUTION]: The skill uses small Python scripts to inspect the environment and model metadata. These scripts are restricted to read-only metadata inspection (e.g.,
importlib.metadata,AutoConfig.from_pretrainedwithtrust_remote_code=False) and do not execute untrusted external code. - [INDIRECT_PROMPT_INJECTION]: While the skill ingests model configuration files (
config.json), it mitigates risks by using standard Hugging FaceAutoConfigparsers and providing structured risk analysis for ambiguous or unknown model types in themodel_analysis.jsonartifact.
Audit Metadata