uncertainty-and-units
Pass
Audited by Gen Agent Trust Hub on Nov 22, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [SAFE]: The skill executes all operations locally and relies on version-pinned, well-known scientific libraries including pint, uncertainties, numpy, and scipy. It does not require network access.- [DYNAMIC_EXECUTION]: Measurement models are processed via a custom AST evaluator in
scripts/_common.py. This system whitelists safe nodes and functions, ensuring that mathematical expressions cannot trigger arbitrary code execution, thereby avoiding the risks associated witheval().- [SAFE]: Input and output operations are guarded by path validation logic that rejects symlinks and network-based paths while enforcing file size limits, preventing unauthorized file system access.- [INDIRECT_PROMPT_INJECTION]: The skill features a surface for indirect prompt injection by processing external Python and JSON files. (1) Ingestion points:audit_units.py(--input) and specification files (--spec). (2) Boundary markers: Relies on structural parsing rather than text delimiters. (3) Capability inventory: Restricted to local file access and whitelisted calculations with no network or shell access. (4) Sanitization: Utilizes strict JSON loading and AST validation to ensure that input data does not contain executable or override instructions.
Audit Metadata