audit-ml-pipeline
Pass
Audited by Gen Agent Trust Hub on Oct 15, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The skill generates a Materialization script by substituting variables into a local template (
templates/materialize.py) and executes it using the project's Python environment. Additionally, it uses a custom cell runner (skore_skills cells run) described inreferences/runner_internals.mdthat executes Python code cells in anInteractiveShellenvironment to process report data. - [INDIRECT_PROMPT_INJECTION]: The skill ingests data from external skore reports which could potentially be controlled by an attacker if the reports were generated from untrusted data sources. Malicious instructions could be embedded in checks, metrics, or display metadata, which are then rendered into the audit digest and read by the agent.
- Ingestion points:
skore.Project(...)andproject.get(REPORT_ID)calls inSKILL.mdandtemplates/materialize.py. - Boundary markers: The instructions specify a "Read-only contract" and use markdown headers, but do not specify robust sanitization of the content before it enters the agent's context.
- Capability inventory: The skill has the ability to write to the
scratch/directory, execute shell commands, and run arbitrary Python code via the cell runner. - Sanitization: The cell runner captures the
repr()of execution results, but there is no specific filtering for prompt injection patterns in the report data. - [COMMAND_EXECUTION]: The skill directs the agent to execute several shell commands, including
pythonfor materialization,rufffor code styling, andipythonfor feature verification. These are used for the primary task of report generation and auditing.
Audit Metadata