pysam
Pass
Audited by Gen Agent Trust Hub on Sep 8, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes genomic data files from external sources, which presents a surface for indirect prompt injection.
- Ingestion points: Scripts such as
alignment_qc.pyandvariant_summary.pyingest genomic files (BAM, VCF, etc.) provided via theinputargument. - Boundary markers: No explicit delimiters or instructions to ignore embedded content are used when the agent reads data from genomic records or headers.
- Capability inventory: The skill has access to sensitive capabilities, including file system access and the ability to execute wrapped samtools and bcftools commands.
- Sanitization: While the skill uses safe argument passing to prevent direct command injection, it does not sanitize file contents (e.g., metadata or comments) that could contain instructions intended to influence the agent's behavior.
- [COMMAND_EXECUTION]: The skill executes external bioinformatics tools through the pysam wrapper modules.
- Evidence: The skill documentation and scripts frequently utilize
pysam.samtoolsandpysam.bcftoolsto run tasks like sorting, indexing, and data normalization. - Context: These executions are essential to the skill's function and are implemented using list-based argument passing, which is a secure method for executing subprocesses.
- [EXTERNAL_DOWNLOADS]: The skill requires the installation of the pysam library.
- Evidence:
SKILL.mdprovides instructions for installingpysam==0.24.0using a standard package manager. - Context: This dependency is fetched from the official Python Package Index (PyPI), a well-known and trusted registry, and is documented as a safe and necessary part of the skill's environment.
Audit Metadata