uncertainty-and-units

Pass

Audited by Gen Agent Trust Hub on Nov 7, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill processes external data including Python source files, JSON specification files, and mathematical expressions, which presents an indirect injection surface.
  • Ingestion points: scripts/audit_units.py reads Python files; scripts/uncertainty_budget.py and scripts/propagate_uncertainty.py read JSON specification files; scripts/propagate_uncertainty.py and scripts/check_plausibility.py accept mathematical expressions as command-line arguments.
  • Boundary markers: No explicit delimiters are used for the input data in the prompt context.
  • Capability inventory: The skill can read local files and write results to the filesystem using atomic_write_bytes in scripts/_common.py. It evaluates mathematical logic through a custom AST walker.
  • Sanitization: The skill employs robust sanitization by using a strict whitelist for AST nodes during expression parsing and a hardened JSON loader that rejects non-standard constants.\n- [DYNAMIC_EXECUTION]: The skill evaluates mathematical expressions provided at runtime.
  • Evidence: scripts/_common.py implements parse_expression and reduce_expression to evaluate measurement models. This is done by parsing the input string into an Abstract Syntax Tree (AST) and manually walking the tree against a whitelist of allowed nodes and functions (e.g., abs, sin, cos, sqrt), avoiding the use of dangerous functions like eval() or exec() on arbitrary input.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 7, 2026, 12:21 PM