pylabrobot
Pass
Audited by Gen Agent Trust Hub on Oct 31, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill defines an attack surface by ingesting external JSON manifests and CSV transfer tables. However, it implements exceptional defensive measures in its processing scripts:
- Strict path traversal and symlink rejection in
scripts/_common.pythrough thesafe_input_pathfunction. - Bounded JSON loading with depth limits (64), file size caps (2MB), and enforcement of unique keys.
- Comprehensive schema validation with numeric range enforcement and regular expressions for all identifiers (e.g.,
NAME_RE,WELL_RE). - The logic is deterministic and restricted to offline planning, preventing data-driven manipulation of agent intent.
- [COMMAND_EXECUTION]: The skill includes several Python CLI tools (
validate_manifest.py,check_deck_geometry.py,plan_transfers.py,generate_simulation_plan.py,inspect_backends.py) intended for execution by the agent. These scripts are self-contained, perform only validation and calculation, and have no access to network, hardware, or external file systems beyond the current working directory. - [EXTERNAL_DOWNLOADS]: The skill refers to the
PyLabRobotlibrary on PyPI. It provides specific version pinning (v0.2.2) and artifact integrity hashes (SHA-256) in the documentation. It explicitly instructs against installing hardware-specific drivers without confirmed device identification and operator approval. - [DYNAMIC_EXECUTION]: The
inspect_backends.pyscript utilizes theinspectandimportlibmodules to analyze the PyLabRobot API surface. This introspection is performed on classes rather than instances and does not execute arbitrary code or load modules from untrusted paths. - [SAFE]: The skill incorporates a 'Non-negotiable hardware boundary' that acts as a primary safety constraint, ensuring the agent cannot command physical movements without multi-step human reconciliation and explicit approval.
Audit Metadata