pymc
Warn
Audited by Gen Agent Trust Hub on Nov 8, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The file
references/workflows.mdprovides a code pattern for saving and loading models using Python'spicklelibrary. Thepickle.load()function is used, which is an unsafe deserialization method that can lead to arbitrary code execution if a user provides a malicious pickle file. While the documentation includes a warning comment advising users to only unpickle trusted files and suggesting NetCDF as a safer alternative, the inclusion of this code as a standard pattern for an AI agent to use creates a security risk. - [INDIRECT_PROMPT_INJECTION]: The skill includes several templates and reference examples (e.g.,
assets/linear_regression_template.py,assets/hierarchical_model_template.py, andreferences/workflows.md) that ingest untrusted external data viapandas.read_csv(). This data is then processed into apm.Modelcontext and used for sampling and prediction. Because the skill has extensive capabilities—including theBashtool and model compilation (viapm.sample())—it presents an attack surface where malicious instructions embedded in a CSV file could influence agent behavior or compromise the environment. - Ingestion points: CSV data loading in
assets/linear_regression_template.py,assets/hierarchical_model_template.py, andreferences/workflows.md. - Boundary markers: None identified in the provided templates to isolate or ignore instructions embedded in the data.
- Capability inventory: The skill uses
Bash,Write, andEdittools, and performs complex code generation/compilation through the PyMC/PyTensor sampling process. - Sanitization: No sanitization or validation of the ingested CSV content is performed before processing.
Audit Metadata