mlflow-trace-analysis
Pass
Audited by Gen Agent Trust Hub on Oct 28, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONDATA_EXFILTRATION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill is designed to fetch and analyze MLflow traces, which inherently contain untrusted data including historical inputs, outputs, and tool results from previous agent executions. If a trace contains malicious instructions in a past turn, the agent analyzing it could potentially be influenced by that content.
- Ingestion points: Trace data is fetched into the environment using
mlflow traces getandmlflow traces searchacrossSKILL.md,scripts/discover_schema.sh, andscripts/inspect_turn.sh. - Boundary markers: The instructions lack explicit delimiters or safety warnings (e.g., "ignore embedded instructions") when the agent processes the retrieved span inputs and outputs.
- Capability inventory: The skill possesses capabilities to search and retrieve data via the
mlflowCLI and parse it usingjq. - Sanitization: No sanitization or filtering of the trace content is performed before it is presented to the agent for analysis.
- [DYNAMIC_EXECUTION]: The provided helper scripts perform shell argument interpolation which could be problematic if the inputs originate from untrusted sources.
- Evidence: In
scripts/discover_schema.sh, shell variables are interpolated into themlflowcommand filter string:mlflow traces search --experiment-id "$EXPERIMENT_ID" --filter-string 'metadata.\mlflow.trace.session` = "'"$SESSION_ID"'"'`. - While intended for legitimate analysis, if a
SESSION_IDorEXPERIMENT_IDis extracted from a malicious trace and then used as an argument, it could lead to command injection or unintended execution flow. - [DATA_EXFILTRATION]: The skill records trace data, which may contain sensitive application information, to shared temporary file paths.
- Evidence:
SKILL.mdandreferences/session-analysis.mdinstruct the agent to write trace details to files such as/tmp/trace.json,/tmp/first_trace.json, and/tmp/trace_detail.json. - Writing sensitive trace logs to globally readable temporary directories like
/tmpcan lead to local data exposure on multi-user systems.
Audit Metadata