data-version-control
Pass
Audited by Gen Agent Trust Hub on Sep 29, 2026
Risk Level: SAFEDYNAMIC_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The skill uses Python's
picklemodule to deserialize data, which is a standard but technically unsafe practice if the source files are untrusted. - Evidence: In
src/evaluate.py, the skill loads a trained model usingpickle.load(f)frommodels/model.pkl. While this is common in ML pipelines for saving/loading model states and scalers,picklecan execute arbitrary code during deserialization. In this context, the risk is mitigated as the file is intended to be generated by the skill's own training script. - [COMMAND_EXECUTION]: The skill includes a script that programmatically interacts with the DVC command-line interface using the
subprocessmodule. - Evidence: The file
scripts/run_experiments.pycontains therun_dvc_experimentfunction which executesdvc exp runviasubprocess.run(cmd, ...). This provides the agent with the capability to execute shell commands within the local environment to manage ML experiments. - [INDIRECT_PROMPT_INJECTION]: The skill has an attack surface for indirect prompt injection due to its core function of processing external data and metrics files.
- Ingestion points: The skill reads CSV data (
data/raw/dataset.csv), YAML parameters (params.yaml), and JSON metrics (metrics/*.json) from the file system. - Capability inventory: The skill can perform file system writes (saving models, data, and reports), execute shell commands (DVC CLI), and initiate network operations (optional MLflow tracking and DVC remote sync).
- Sanitization: The skill correctly uses
yaml.safe_load()when parsing YAML configuration files, which prevents execution of arbitrary Python objects during parsing. - Boundary markers: No explicit boundary markers or "ignore instructions" tags were identified for processing the input data.
Audit Metadata