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.py utilizes importlib.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_GROUPS and METHODS) rather than untrusted user input. Additionally, the skill describes CLI commands like latch register --nf-script which 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 in references/data-management.md and references/registry.md.
  • Boundary markers: The instructions do not define specific delimiters for processed data content.
  • Capability inventory: The skill has access to the Bash tool and latch CLI for workflow execution and system interaction.
  • Sanitization: The skill explicitly recommends using subprocess.run with 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, and snakemake. It provides specific guidance on safe execution, such as using check=True and avoiding shell interpolation for untrusted strings, which aligns with security best practices.
  • [DATA_EXFILTRATION]: While the skill interacts with Latch Data via LPath and latch 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
Risk Level
SAFE
Analyzed
Sep 2, 2026, 01:30 PM