primer-design

Pass

Audited by Gen Agent Trust Hub on Nov 22, 2026

Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill executes external bioinformatics binaries (blastn and makeblastdb) using subprocess.run within scripts/_specificity.py. These calls are essential for the skill's primary function of performing in-silico PCR and primer specificity screening. The implementation uses list-based command construction (avoiding shell execution) and relies on validated local file paths, which follows security best practices for external command execution.
  • [EXTERNAL_DOWNLOADS]: The skill's documentation in SKILL.md provides instructions for installing the primer3-py library from PyPI and the NCBI BLAST+ toolkit. These are well-known, sector-standard scientific software components from trusted repositories and governmental organizations (NCBI).
  • [INDIRECT_PROMPT_INJECTION]: The skill manages an attack surface for indirect prompt injection by processing external genomic data (FASTA) and configuration files (JSON/TSV). This risk is mitigated through several layers of defense:
  • Ingestion points: Genomic sequences enter the system via read_fasta and read_pairs in scripts/_common.py; configuration enters through design_primers.py.
  • Boundary markers: Data is parsed using strict biological file format schemas (FASTA, TSV, JSON) which implicitly delimit content.
  • Capability inventory: The system can execute BLAST binaries and perform file system operations, but these are scoped to scientific data processing.
  • Sanitization: The dna function in scripts/_common.py rigorously validates all sequence data against the IUPAC alphabet (ACGTRYSWKMBDHVN), effectively preventing the injection of non-biological natural language instructions into the processing pipeline.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 22, 2026, 01:32 PM