derive-metric
Pass
Audited by Gen Agent Trust Hub on Oct 11, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- Indirect Prompt Injection Surface: The skill processes user-provided business definitions and outcome descriptions via the
AskUserQuestiontool. This ingestion of untrusted data represents a potential surface for indirect instructions. The skill addresses this by mandating confirmation of entity definitions and provenance, and by requiring validation through thevalidate_custom_metric_formulatool. Evidence: (1) Ingestion points:AskUserQuestionand business descriptions. (2) Boundary markers: Instructions to confirm case/event entity, outcome definition, and provenance. (3) Capability inventory:Read,AskUserQuestion,validate_custom_metric_formula, andget_cases_with_metrics_v2. (4) Sanitization: Mandatory use of thevalidate_custom_metric_formulatool and a limit of three validation attempts. - Dynamic Formula Execution: The skill enables the evaluation of ephemeral formulas at runtime. This dynamic execution is managed by the
validate_custom_metric_formulatool, which checks formulas against specific process metadata (processVersionId,processExtendedMetadataVersionId). The skill also limits validation attempts to three to prevent resource exhaustion or brute-forcing during logic repair.
Audit Metadata