qiime2-amplicon
Pass
Audited by Gen Agent Trust Hub on Oct 31, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/amplicon_workflow.pyexecutes QIIME 2 commands using thesubprocess.runfunction. It builds command arguments as lists and avoids usingshell=True, which significantly reduces the risk of shell injection attacks. The path to the QIIME executable is configurable via CLI arguments, allowing flexibility in the execution environment. - [INDIRECT_PROMPT_INJECTION]: The skill processes external data including FASTQ files, manifests, and metadata. It incorporates custom validation logic to check for malformed FASTQ records, invalid IUPAC DNA characters, and incorrect manifest structures. Additionally, it leverages QIIME 2's internal validation tools (
tools validate --level max) to verify the integrity of artifacts before and after processing. - [DYNAMIC_EXECUTION]: The workflow involves
TaxonomicClassifierartifacts, which are serialized scikit-learn models. The documentation explicitly warns the user that QIIME's format validation does not ensure the safety of untrusted serialized models, correctly identifying the potential for arbitrary code execution during deserialization and advising the use of trusted sources. - [SAFE]: All external URLs and container images (e.g.,
quay.io/qiime2/qiime2,qiime2.org) refer to official and well-known resources for the QIIME 2 bioinformatics platform. The skill does not perform any unexpected network operations or data exfiltration.
Audit Metadata