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, andscipy. 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.pyreads user-provided Python files;propagate_uncertainty.pyaccepts 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, andEdittools to perform its intended functions. - Sanitization: The
parse_expressionutility 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.pyhelper 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