ml-pipeline
Warn
Audited by Gen Agent Trust Hub on Oct 10, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The skill includes code snippets in
references/feature-engineering.mdandreferences/pipeline-orchestration.mdthat usepickle.load()andjoblib.load()to deserialize saved artifacts. These functions do not verify the integrity of the data and can execute arbitrary code contained within a malicious file. - [DYNAMIC_EXECUTION]: In
references/training-pipelines.md, theTrainer.load_checkpointmethod usestorch.load(), which inherently relies onpicklefor restoring model states. This presents a security risk if the agent is instructed to load a checkpoint from an external or unverified source. - [INDIRECT_PROMPT_INJECTION]: The skill facilitates the ingestion of data from remote sources (S3, GCS) and local files, creating an attack surface for indirect prompt injection.
- Ingestion points: Data loading occurs in
references/pipeline-orchestration.md(e.g.,load_datatask) andreferences/feature-engineering.md(FileSource). - Boundary markers: The skill lacks explicit instructions or markers to distinguish between data and control instructions within the ingested datasets.
- Capability inventory: The skill provides templates for executing shell commands (
torchrun), writing files, and performing network operations (GCS uploads). - Sanitization: No mechanisms are provided to sanitize ingested data for potential prompt injection attacks.
Audit Metadata