uncertainty-and-units

Pass

Audited by Gen Agent Trust Hub on Sep 2, 2026

Risk Level: SAFE
Full Analysis
  • [DYNAMIC_EXECUTION]: The skill evaluates user-defined mathematical expressions in propagate_uncertainty.py. It uses a secure implementation that parses expressions into an Abstract Syntax Tree (AST) and validates them against a restrictive whitelist of operations and functions (_common.py), effectively preventing arbitrary code execution.
  • [EXTERNAL_DOWNLOADS]: The skill instructions specify the installation of well-known scientific libraries including pint, uncertainties, numpy, and scipy. These are established packages within the scientific computing ecosystem.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes external data inputs, including Python source code for auditing and mathematical expressions for uncertainty propagation.
  • Ingestion points: audit_units.py reads user-provided Python files; propagate_uncertainty.py accepts mathematical expressions via CLI arguments or JSON files.
  • Boundary markers: The skill does not explicitly use markers to separate data from instructions in the agent prompt.
  • Capability inventory: The skill has access to Bash, Write, and Edit tools to perform its intended functions.
  • Sanitization: The parse_expression utility implements strict character limits, node count limits, and depth limits on user-supplied expressions, ensuring that processing is restricted to safe mathematical reductions.
  • [DATA_EXFILTRATION]: The bundled tools are designed for local operation. The _common.py helper includes checks to reject network URLs and symlinks, and file writing operations are performed atomically with restricted (0600) permissions to prevent unauthorized access.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 2, 2026, 01:28 PM