pysam

Pass

Audited by Gen Agent Trust Hub on Nov 22, 2026

Risk Level: SAFE
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill processes external genomic data files (SAM, BAM, CRAM, VCF, BCF, FASTA, FASTQ) using the pysam library. While these formats are structured (binary or strictly columnar) and handled by the HTSlib parser, they represent an ingestion surface for external data.
  • Ingestion points: Data is read via pysam.AlignmentFile, pysam.VariantFile, and pysam.TabixFile in scripts such as alignment_qc.py and variant_summary.py.
  • Boundary markers: The skill does not use explicit natural language delimiters for data but relies on the rigid schemas of genomic formats.
  • Capability inventory: The skill has the ability to read/write files and execute samtools/bcftools operations through pysam dispatchers.
  • Sanitization: Formats are strictly validated against their respective specifications by the underlying HTSlib C library.
  • [COMMAND_EXECUTION]: The skill invokes genomic processing commands via pysam.samtools and pysam.bcftools. These are standard operations for the skill's purpose (sorting, indexing, etc.), and the instructions explicitly require passing arguments as separate tokens to prevent command injection.
  • [EXTERNAL_DOWNLOADS]: The skill facilitates the installation of the pysam library, a well-known and widely used open-source tool in the bioinformatics community. It also correctly advises against relying on implicit remote reference lookups for CRAM files, favoring deterministic local access.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 22, 2026, 01:31 PM