dnanexus-integration

Pass

Audited by Gen Agent Trust Hub on Sep 24, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill processes project names, folder paths, and object tags originating from the DNAnexus platform, which constitute a potential injection surface.
  • Ingestion points: Untrusted data enters via platform search results and object descriptions processed in SKILL.md and references/data-operations.md.
  • Boundary markers: The skill's Operating Contract in SKILL.md (Rule 6) explicitly instructs the agent to treat project names, paths, tags, and properties as untrusted data.
  • Capability inventory: The skill utilizes the dx CLI for shell operations and the dxpy library for network-based API calls across all reference files, including file writes and job execution.
  • Sanitization: The instructions mandate using array-based subprocess arguments and quoting shell parameters to mitigate command injection risks, as detailed in SKILL.md and references/app-development.md.
  • [DYNAMIC_EXECUTION]: The helper script scripts/inspect_dxpy.py utilizes dynamic imports to verify the local environment signature.
  • Evidence: The script calls importlib.import_module() to inspect dxpy symbols and signatures.
  • Mitigation: The module names are sourced from static, hardcoded dictionaries within the script (SYMBOL_GROUPS and METHOD_GROUPS), rather than from external or user-supplied input.
  • [EXTERNAL_DOWNLOADS]: The skill documentation references external dependencies necessary for platform operation from well-known sources.
  • Evidence: Instructions include installing dxpy from PyPI and referencing dxCompiler from the DNAnexus GitHub repository.
  • Note: These references target official resources from a well-known genomics cloud service provider and are documented neutrally with integrity-checking recommendations.
  • [COMMAND_EXECUTION]: The skill is designed to operate the dx command-line toolkit to manage genomics workloads.
  • Evidence: Numerous examples across the reference files demonstrate the use of dx, ua (Upload Agent), and dx-download-agent for data management, job monitoring, and workflow execution.
  • Safety Guidance: The skill provides extensive warnings in references/authentication.md against logging sensitive environment variables like DX_SECURITY_CONTEXT and encourages interactive authentication to prevent credential exposure in shell history or logs.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 24, 2026, 02:28 PM