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 get and mlflow traces search across SKILL.md, scripts/discover_schema.sh, and scripts/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 mlflow CLI and parse it using jq.
  • 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 the mlflow command 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_ID or EXPERIMENT_ID is 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.md and references/session-analysis.md instruct 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 /tmp can lead to local data exposure on multi-user systems.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 28, 2026, 05:27 AM