latchbio-integration
Pass
Audited by Gen Agent Trust Hub on Sep 2, 2026
Risk Level: SAFEDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONDATA_EXFILTRATION
Full Analysis
- [DYNAMIC_EXECUTION]: The script
scripts/inspect_latch_sdk.pyutilizesimportlib.import_module()to introspect the local environment for Latch SDK symbols. This behavior is considered low risk as the module names and symbols are retrieved from hardcoded dictionaries (SYMBOL_GROUPSandMETHODS) rather than untrusted user input. Additionally, the skill describes CLI commands likelatch register --nf-scriptwhich generate workflow wrapper code at registration time, a standard feature of the SDK's build process. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to process external scientific data (e.g., FASTQ, CSV) which could potentially contain malicious instructions targeting the agent context.
- Ingestion points: Data enters via
LatchFile,LatchDir, and Registry tables as described inreferences/data-management.mdandreferences/registry.md. - Boundary markers: The instructions do not define specific delimiters for processed data content.
- Capability inventory: The skill has access to the
Bashtool andlatchCLI for workflow execution and system interaction. - Sanitization: The skill explicitly recommends using
subprocess.runwith argument lists rather than shell strings (SKILL.md), which serves as a primary defense against command injection from untrusted data inputs. - [COMMAND_EXECUTION]: The skill facilitates the execution of various CLI tools including
latch,uv,nextflow, andsnakemake. It provides specific guidance on safe execution, such as usingcheck=Trueand avoiding shell interpolation for untrusted strings, which aligns with security best practices. - [DATA_EXFILTRATION]: While the skill interacts with Latch Data via
LPathandlatch cp, these operations are standard for the tool's purpose. The instructions include a specific warning to "never print signed download URLs or authentication headers" and to avoid manual handling of~/.latch/token, reducing the risk of accidental credential exposure.
Audit Metadata